-
公开(公告)号:US11068448B2
公开(公告)日:2021-07-20
申请号:US16241810
申请日:2019-01-07
Applicant: salesforce.com, inc.
Inventor: Jan Asita Fernando , Samarpan Jain , Matthew Davidchuk , Valliappan Annamalai Natarajan , Alexey Syomichev , Cody Marcel , Seshank Kalvala , Sahil Ramrakhyani , Alexandre Hersans
Abstract: A method is provided for processing a query. In some embodiments, the method includes creating a historical schema defining an ordered set of fields based on a current schema of an object and a field modification of the current schema. The method includes inserting, based on the field modification, a new field at an end of the historical schema and archiving records into a second storage device. The method includes receiving a query, which includes a command specifying a subset of fields and which indicates a non-current field. The method includes searching in the second storage device for archive records having a second schema including the subset of fields and the non-current field. The first and second schemas follow the field order in accordance with the historical schema. The method further includes accessing the subset of fields and the non-current field in accordance with the command.
-
公开(公告)号:US20190236198A1
公开(公告)日:2019-08-01
申请号:US15884944
申请日:2018-01-31
Applicant: salesforce.com, inc.
Inventor: Jan Asita Fernando , Cody Marcel , Sahil Ramrakhyani , Samarpan Jain , Brian Esserlieu , James Ferguson , Saikiran Perumala , Charles Fineman , Jay Hurst , Seshank Kalvala
CPC classification number: G06F16/27 , G06F3/0652 , G06F16/162 , G06F16/23 , G06F16/25 , H04L41/0273
Abstract: 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 perform a validation of the values provided to the delete operation based on the type of data store used for storing the records. For example, the validation may ensure that the values provided to the method correspond to a composite primary key when records are stored in a non-relational data store. Upon a successful validation, an initial delete request may be translated to an appropriate delete operation for the underlying database.
-