-
公开(公告)号:US11314741B2
公开(公告)日:2022-04-26
申请号:US16134860
申请日:2018-09-18
Applicant: salesforce.com, inc.
Inventor: Cody Marcel , Sahil Ramrakhyani , Saikiran Perumala , Brian Esserlieu , Seshank Kalvala
IPC: G06F16/2453 , G06F16/28 , G06F16/2455
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.
-
公开(公告)号:US11663205B2
公开(公告)日:2023-05-30
申请号:US15586714
申请日:2017-05-04
Applicant: salesforce.com, Inc.
Inventor: Eli Levine , Samarpan Jain , James Ferguson , Jan Asita Fernando , Bharadwaj Tanikella , Saikiran Perumala , Cody Marcel
IPC: G06F16/242 , G06F16/25 , G06F16/2458
CPC classification number: G06F16/2448 , G06F16/2471 , G06F16/252 , G06F16/256
Abstract: Systems, methods, and computer-readable media for asynchronous (async) querying are described. In embodiments, a system may convert a user-issued query into a distributed execution instruction set (DEIS), and issue the DEIS to data stores that may have various database structures. The system may obtain database objects from the data stores, and store a result set indicating the obtained database objects in a location specified by the user-issued query. The system may also provide mechanisms to allow users to view progress of their async query jobs and/or cancel ongoing async query jobs. Other embodiments may be described and/or claimed.
-
公开(公告)号:US20190325039A1
公开(公告)日:2019-10-24
申请号:US15959607
申请日:2018-04-23
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 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.
-
4.
公开(公告)号:US20190042573A1
公开(公告)日:2019-02-07
申请号:US15665529
申请日:2017-08-01
Applicant: salesforce.com, inc.
Inventor: Cody Marcel , Eli Levine , Jan Asita Fernando , Brian Esserlieu , Samarpan Jain
Abstract: In accordance with embodiments, there are provided mechanisms and methods for facilitating rules-based synchronous 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 detecting, by a rules-management server computing device, at least one of efficient classes and inefficient classes associated with a query, and designating a set of rules to the query, where one or more of the set of rules are designated to the query to prevent the inefficient classes from being processed or allow the query to fail fast. The method may further include executing the query without processing the inefficient classes such that results are generated within a predictable amount of time, where executing includes accessing contents of one or more portions of a database as identified by the set of rules, and transmitting the results in response to the query.
-
公开(公告)号: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.
-
6.
公开(公告)号: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.
-
公开(公告)号:US11086819B2
公开(公告)日:2021-08-10
申请号:US15959607
申请日:2018-04-23
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 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.
-
9.
公开(公告)号:US11068483B2
公开(公告)日:2021-07-20
申请号:US16134857
申请日:2018-09-18
Applicant: salesforce.com, inc.
Inventor: Cody Marcel , Sahil Ramrakhyani , Saikiran Perumala , Brian Esserlieu , Seshank Kalvala
IPC: G06F16/2453 , G06F16/951 , G06F16/2458
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.
-
公开(公告)号:US20210117380A1
公开(公告)日:2021-04-22
申请号:US17133029
申请日:2020-12-23
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 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.
-
-
-
-
-
-
-
-
-