×

Methods and systems for deleting large amounts of data from a multitenant database

  • US 8,635,250 B2
  • Filed: 04/26/2011
  • Issued: 01/21/2014
  • Est. Priority Date: 04/26/2010
  • Status: Active Grant
First Claim
Patent Images

1. A system comprising:

  • a multitenant database including hardware and software components to implement a database shared by a plurality of separate and distinct customer organizations,wherein the multitenant database stores data for multiple client organizations each identified by a tenant identifier (ID) and one or more users are associated with the tenant ID,wherein the one or more users of each client organization accesses data identified by the tenant ID associated with the respective client organization, andwherein the multitenant database is hosted by an entity separate from the client organization; and

    a server coupled to the multitenant database, the server to receive a delete request from a client at an application server via a web services application program interface (API) in a multitenant database, the delete request to delete multiple entries of the multitenant database, the delete request including a tenant ID to identify a tenant associated with the delete request;

    determine whether the delete request is for a soft delete or a hard delete;

    create multiple batch jobs to implement a delete job for the determined delete request in response to receiving the request, each batch job to perform a delete operation to delete one or more entries;

    register the delete job with a scheduler of the multitenant database, each of the batch jobs to execute under the registered delete job, the scheduler to schedule batch jobs for one or more application servers to implement the delete job;

    the multitenant database to further execute the batch jobs on the one or more application servers to execute the delete operations to implement the delete job asynchronously with respect to receiving the delete request, where each application server references the delete job with the multitenant database when it executes its batch jobs; and

    receive results for each executed batch job from the database until the delete job is completed.

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