×

Techniques for implementing batch processing in a multi-tenant on-demand database system

  • US 8,473,469 B1
  • Filed: 08/25/2008
  • Issued: 06/25/2013
  • Est. Priority Date: 08/25/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method in a multi-tenant database system, the method comprising:

  • enqueuing a batch request in a request queue responsive to receiving a request from a tenant of the multi-tenant database system;

    calling a query locator object of the multi-tenant database system that points to a maximum number of objects to be scheduled for uninterrupted processing via the multi-tenant database system;

    retrieving the maximum number of objects based on the called query locator object;

    scheduling execution of the batch request by queuing the batch request within an execute queue among a plurality of objects in the execute queue;

    running a query more method of the multi-tenant database system to construct and return an SObject array, the SObject array having therein objects to be the subject of an EXECUTE method for processing the batch request; and

    passing the SObject array to the EXECUTE method for execution via the multi-tenant database system responsive to the request from the tenant of the multi-tenant database system.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×