×

Methods and systems for batch processing in an on-demand service environment

  • US 8,584,124 B2
  • Filed: 03/31/2011
  • Issued: 11/12/2013
  • Est. Priority Date: 04/20/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • receiving a processing request for a multi-tenant database, wherein the processing request specifies processing logic and a processing target group within the multi-tenant database;

    dividing the processing target group into a plurality of processing target sub-groups;

    queuing the processing request with a batch processing queue for the multi-tenant database among a plurality of previously queued processing requests;

    releasing each of the plurality of processing target sub-groups for processing in the multi-tenant database via the processing logic at one or more times specified by the batch processing queue, the releasing being subject to one or more release limits enforced by a batch processing governor;

    wherein violation of any of the one or more release limits causes the batch processing governor to throttle releases of batch processing jobs to the multi-tenant database; and

    wherein the one or more release limits are selected from the group comprising;

    (i) a maximum amount of memory permissibly allocated to each release, (ii) a maximum number of database statements permissibly executable with each release, (iii) a maximum number of permissible relational database row transactions for each release, (iv) a maximum number of permissible non-relational database object transactions for each release, (v) a maximum amount of database heap permissibly allocated or consumed by each release, (vi) a maximum total number of aggregate transactions by any one customer organization within a specified time period, (vii) a maximum total number of aggregate releases for batch processing jobs by any one customer organization within a specified time period, (viii) a maximum number of concurrent batch processing jobs releasable to the multi-tenant database, and (ix) a maximum current workload of the multi-tenant database.

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