Efficiently deleting data from objects in a multi-tenant database system

US11086819B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11086819-B2
Application numberUS-201815959607-A
CountryUS
Kind codeB2
Filing dateApr 23, 2018
Priority dateApr 23, 2018
Publication dateAug 10, 2021
Grant dateAug 10, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Disclosed are examples of systems, apparatus, methods and computer program products for deleting data of an object within a multi-tenant database. Described is a mechanism for performing operations such as an efficient delete operation by introducing a new delete operation (or method) that is configured to allow a data structure such as an object to identify one or more records to be deleted. In order to ensure that the operation is efficient, the mechanism may determine characteristics of a data store and determine whether the information provided within the data structure provides an efficient identification of the data to be deleted. Upon a successful validation, an initial delete request may be translated to an appropriate delete operation for the underlying database.

First claim

Opening claim text (preview).

What is claimed is: 1. A system comprising: one or more processors; and a non-transitory computer readable medium storing a plurality of instructions, which when executed, cause the one or more processors to perform operations comprising: receiving a first request to delete data related to a first data object of a plurality of data objects associated with a first organization in a multi-tenant database, the first request identifying a data structure that specifies values for one or more fields of the first data object, the first organization being a tenant of the multi-tenant database; obtaining, based on the received first request, one or more characteristics of a first data store storing the first data object in the multi-tenant database; determining, based on the obtained one or more characteristics, a first performance requirement associated with the first data store for identifying one or more records of the first data object in the first data store using the specified values included in the first request; identifying the one or more records of the first data object based on a determination that the first performance requirement satisfies one or more rules; and initiating a delete of the identified one or more records of the first organization by executing a delete operation of the identified one or more records stored in the first data store. 2. The system of claim 1 , wherein the obtaining one or more characteristics comprises obtaining one or more attributes associated with the first data store, and the first performance requirement comprises a query time. 3. The system of claim 1 , wherein the obtaining one or more characteristics comprises obtaining one or more runtime characteristics of the first data store storing the first data object. 4. The system of claim 1 , the operations further comprising: receiving a second request to delete data related to a second data object of a plurality of data objects associated with a second organization in the multi-tenant database system, the second request identifying a data structure that specifies values for one or more fields of the second data object; obtaining one or more characteristics of a second data store storing the second data object; determining, based on the obtained one or more characteristics of the second data store, a second performance requirement associated with using the specified values of the second request to identify one or more records of the second data store; determining the second performance requirement does not satisfy the one or more rules for efficiently identifying one or more records of the second data object; and providing an indication that the specified values of the second request do not satisfy the one or more rules for deleting the data related to the second data object. 5. The system of claim 1 , wherein the determining the first performance requirement satisfies the one or more rules is performed on an Application Program Interface layer of an application platform of the multi-tenant database system and the delete operation is performed by the first data store and initiated by the application platform. 6. The system of claim 1 , wherein the specified values for the one or more fields correspond to at least a portion of a composite primary key defined for the first data object. 7. The system of claim 1 , the operations further comprising: translating the first request to the delete operation for the first data store. 8. The system of claim 1 , the operations further comprising: validating, using one or more permissions associated with the first data object, that the first organization is authorized to access the first data object. 9. The system of claim 1 , wherein the delete operation is invoked from an application platform of the multi-tenant database system and the data structure comprises an object passed as an argument to the delete operation. 10. The system of claim 1 , wherein the first request is received via a Representational State Transfer (REST) Application Program interface (API), Simple Object Access Protocol (SOAP) API, or an application platform specific programming language. 11. A method comprising: receiving a first request to delete data related to a first data object of a plurality of data objects associated with a first organization in a multi-tenant database, the first request identifying a data structure that specifies values for one or more fields of the first data object, the first organization being a tenant of the multi-tenant database; obtaining based on the received first request, one or more characteristics of a first data store storing the first data object in the multi-tenant database; determining, based on the obtained one or more characteristics, a first performance requirement associated with the first data store for identifying one or more records of the first data object in the first data store using the specified values included in the first request; identifying the one or more records of the first data object based on a determination that the first performance requirement satisfies one or more rules; and initiating a delete of the identified one or more records of the first organization by executing a delete operation of the identified one or more records stored in the first data store. 12. The method of claim 11 , wherein obtaining one or more characteristics comprises obtaining one or more attributes associated with the first data store, and the first performance requirement comprises a query time. 13. The method of claim 11 , wherein the obtaining one or more characteristics comprises obtaining one or more runtime characteristics of the first data store storing the first data object. 14. The method of claim 11 , further comprising: receiving a second request to delete data related to a second data object of a plurality of data objects associated with a second organization in the multi-tenant database system, the second request identifying a data structure that specifies values for one or more fields of the second data object; obtaining one or more characteristics of a second data store storing the second data object; determining, based on the obtained one or more characteristics of the second data store, a second performance requirement associated with using the specified values of the second request to identify one or more records of the second data store; determining the second performance requirement does not satisfy the one or more rules for efficiently identifying one or more records of the second data object; and providing an indication that the specified values of the second request do not satisfy the one or more rules for deleting the data related to the second data object. 15. The method of claim 11 , wherein the determining the first performance requirement satisfies the one or more rules is performed on an Application Program Interface layer of an application platform of the multi-tenant database system and the delete operation is performed by the first data store and initiated by the application platform. 16. A computer program product comprising a non-transitory computer-readable medium having stored thereon computer-readable program code capable of being executed by one or more processors, the program code including instructions to: receive a first request to delete data related to a first data object of a plurality of data objects associated with a first organization in a multi-tenant database, the first request identifying a data structure that specifies values for one or more fields of the first data object, the first or orga

Assignees

Inventors

Classifications

  • G06F16/162Primary

    Delete operations (erasing in storage systems G06F3/0652) · CPC title

  • Ensuring data consistency and integrity · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11086819B2 cover?
Disclosed are examples of systems, apparatus, methods and computer program products for deleting data of an object within a multi-tenant database. Described is a mechanism for performing operations such as an efficient delete operation by introducing a new delete operation (or method) that is configured to allow a data structure such as an object to identify one or more records to be deleted. I…
Who is the assignee on this patent?
Salesforce Com Inc
What technology area does this patent fall under?
Primary CPC classification G06F16/162. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 10 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 4 related publications on this page (citations in our corpus or others sharing the same primary CPC).