-
公开(公告)号:US10860606B2
公开(公告)日:2020-12-08
申请号: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
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.
-
12.
公开(公告)号:US20190042623A1
公开(公告)日:2019-02-07
申请号:US16134857
申请日:2018-09-18
Applicant: salesforce.com, inc.
Inventor: Cody Marcel , Sahil Ramrakhyani , Saikiran Perumala , Brian Esserlieu , Seshank Kalvala
IPC: G06F17/30
Abstract: In accordance with embodiments, there are provided mechanisms and methods for facilitating dynamic selection and application for rules for query processing for large datasets in an on-demand services environment according to one embodiment. In one embodiment and by way of example, a method comprises determining processing patterns of a query based on historical performances associated with the query placed on behalf of a tenant in a multi-tenant environment, and dynamically applying one or more rules to the query for processing of the query within a predictable amount of time, where the one or more rules are dynamically selected from sets of rules based on the processing patterns. The method may further include executing the query based on the one or more rules by scanning one or more portions of a database having contents pertinent to the query and generating results by processing the query based on the contents and within the predictable amount of time.
-
公开(公告)号:US20190042622A1
公开(公告)日:2019-02-07
申请号:US16134860
申请日:2018-09-18
Applicant: salesforce.com, inc.
Inventor: Cody Marcel , Sahil Ramrakhyani , Saikiran Perumala , Brian Esserlieu , Seshank Kalvala
IPC: G06F17/30
Abstract: In accordance with embodiments, there are provided mechanisms and methods for facilitating metadata-based statistics-oriented query processing for large datasets in an on-demand services environment. In one embodiment and by way of example, a method comprises evaluating metadata associated with a query placed on behalf of a tenant in a multi-tenant environment, and computing process statistics for the query based on the metadata, where the process statistics reveal an estimation of resources needed for execution of the query within a predictable amount of time and using fewer than or equal to an allocated number of scans of a database. The method may further include associating, based on the process statistics, a set of rules and the estimated resources to process the query, and executing the query based on the set of rules and using the estimated resources such that the query is processed within the predictable amount of time and using fewer than or equal to the allocated number of scans of the database.
-
-