Techniques for implementing batch processing in a database system
First Claim
Patent Images
1. A method comprising:
- receiving a request for processing against a database system;
enqueuing a batch request in a request queue responsive to receiving the request;
calling a query locator object that points to a maximum number of objects to be scheduled for uninterrupted processing in a single batch process against the database system to ensure that the single batch process does not consume in excess of a threshold amount of resources of the database system;
retrieving the maximum number of objects based on the called query locator object;
scheduling execution of the batch request to be executed via uninterrupted processing during the single batch process by queuing the batch request in an execute queue amongst a plurality of other objects in the execute queue;
executing the batch request against the database system; and
sending notification to users indicating completion of the execution of the batch request against the database system.
1 Assignment
0 Petitions
Accused Products
Abstract
In accordance with embodiments, there are provided techniques for implementing batch processing in a multi-tenant database system. These techniques for implementing batch processing in a multi-tenant database system may enable embodiments to provide great flexibility to a tenant of the architecture to perform desired functions on content of the database while allowing the owner of the architecture schedule the processing of the functions on the content.
195 Citations
20 Claims
-
1. A method comprising:
-
receiving a request for processing against a database system; enqueuing a batch request in a request queue responsive to receiving the request; calling a query locator object that points to a maximum number of objects to be scheduled for uninterrupted processing in a single batch process against the database system to ensure that the single batch process does not consume in excess of a threshold amount of resources of the database system; retrieving the maximum number of objects based on the called query locator object; scheduling execution of the batch request to be executed via uninterrupted processing during the single batch process by queuing the batch request in an execute queue amongst a plurality of other objects in the execute queue; executing the batch request against the database system; and sending notification to users indicating completion of the execution of the batch request against the database system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. Non-transitory computer readable storage media having instructions stored thereupon that, when executed by a processor of an application hosting service, the processor causes the application hosting service to perform operations comprising:
-
receiving a request for processing against a database system; enqueuing a batch request in a request queue responsive to receiving the request; calling a query locator object that points to a maximum number of objects to be scheduled for uninterrupted processing in a single batch process against the database system to ensure that the single batch process does not consume in excess of a threshold amount of resources of the database system; retrieving the maximum number of objects based on the called query locator object; scheduling execution of the batch request to be executed via uninterrupted processing during the single batch process by queuing the batch request in an execute queue amongst a plurality of other objects in the execute queue; executing the batch request against the database system; and sending notification to users indicating completion of the execution of the batch request against the database system. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A system comprising:
-
a processor; and a memory; a database system; a batch interface to receive a request for processing against the database system; a request queue to enqueue a batch request responsive to receiving the request; a query locator object to point to a maximum number of objects to be scheduled for uninterrupted processing in a single batch process against the database system to ensure that the single batch process does not consume in excess of a threshold amount of resources of the database system; a START method to retrieve the maximum number of objects based on the called query locator object and schedule execution of the batch request to be executed via uninterrupted processing during the single batch process by queuing the batch request in an execute queue amongst a plurality of other objects in the execute queue; an EXECUTE method to execute the batch request against the database system; and a FINISH method to send notification to users indicating completion of the execution of the batch request against the database system.
-
Specification