-
公开(公告)号:US11232102B2
公开(公告)日:2022-01-25
申请号:US15295319
申请日:2016-10-17
Applicant: salesforce.com, inc.
Inventor: Awais Tariq , Rohitashva Mathur , Arup Dutta , Prem Veeramani , Jesse Collins
IPC: G06F16/2453 , G06F16/21
Abstract: A database query is received at a first time when a database is in a first state. The database query is analyzed to determine whether it has one or more characteristics that fall within a historical top range of database queries. If the database query falls within the historical top range of database queries the query is stored for later query tuning activity. The query is executed against the database in the first state. Query tuning recommendations are generated for stored database queries that fall within the historical top range of database queries. A subsequent request is received at a second time when a database is in a second state. The subsequent database query is executed with at least one of the query tuning recommendations against the database in the second state.
-
公开(公告)号:US11138196B2
公开(公告)日:2021-10-05
申请号:US15998854
申请日:2018-08-17
Applicant: salesforce.com, inc.
Inventor: Rohitashva Mathur
IPC: G06F16/2455 , G06F16/22 , G06F16/23 , G06F16/2458
Abstract: Disclosed herein are system, method, and computer program product embodiments for a query processing system. An embodiment operates by receiving a query associated with a table. An ordered index with entries that include key values that uniquely identifies a corresponding record in the table is determined. A last key value is initialized to store a minimum value for a data type of the key value. The query is executed as a union-all of a plurality of queries. While a count of selected records is less than or equal to a threshold quantity and at least one entry remains in the ordered index, an ordered next entry with a key value subsequent to the last key value in the index is identified, the corresponding record is selected from the table, the last key value is updated, the query is executed, and the count is incremented.
-
公开(公告)号:US10776336B2
公开(公告)日:2020-09-15
申请号:US15344326
申请日:2016-11-04
Applicant: salesforce.com, inc.
Inventor: Rohitashva Mathur
IPC: G06F16/20 , G06F16/22 , G06F16/2455 , G06F16/2457
Abstract: A method, system, and apparatus provide for multiple custom fields associated with an application running at a computing device, where the multiple custom fields are received in a specified sort order. The method includes dynamically building multi-column indexes of the multiple custom fields corresponding to multiple intrinsic datatypes stored in multiple custom field columns of a shared table, where the multiple intrinsic datatypes are converted into a generic-indexable datatype to preserve the specified sort order. The method further includes building a sorted index in a specified order in a multi-column indexable table, where the multi-column indexable table includes a partial copy of data from multiple tenants that inhibit the shared table.
-
公开(公告)号:US20200233721A1
公开(公告)日:2020-07-23
申请号:US16252433
申请日:2019-01-18
Applicant: Salesforce.com, Inc.
Inventor: Rohitashva Mathur
Abstract: A database entry may be stored in a container in a database table corresponding with a partition key. The partition key may be determined by applying one or more partition rules to one or more data values associated with the database entry. The database entry may be an instance of one of a plurality of data object definitions associated with database entries in the database. Each of the data object definitions may identify a respective one or more data fields included within an instance of the data object definition.
-
公开(公告)号:US20200183934A1
公开(公告)日:2020-06-11
申请号:US16211633
申请日:2018-12-06
Applicant: salesforce.com, inc.
Inventor: Rohitashva Mathur
IPC: G06F16/2453 , G06F16/22
Abstract: Described are mechanisms for creating and utilizing a specialized index to improve the efficiency of various types of leading wildcard searches without having to unduly burden the system with write requests. The mechanisms may identify particular fields to be included in one or more types of specialized indexes that are accessed in response to particular types of wildcard queries including various combinations of leading, trailing, and intermediate wildcard operators. In addition, the mechanism may perform various pre-processing by an application when creating such indexes to conserve resources of an underlying database system. The mechanisms may also execute such wildcard queries in a manner that appears to be synchronous to a user while maintaining such indexes asynchronously for efficiency purposes.
-
6.
公开(公告)号:US20200097575A1
公开(公告)日:2020-03-26
申请号:US16141496
申请日:2018-09-25
Applicant: salesforce.com, inc.
Inventor: Rohitashva Mathur
Abstract: A seed value assigned to a database table is determined. Numerically ordered invocation numbers are determined. Unordered pseudorandom numbers are generated based on the seed value and the invocation numbers to index temporally ordered data changes to the database table. It is determined whether the total number of yet-to-be-saved pseudorandom numbers reaches a maximum total number threshold. If so, the yet-to-be-saved pseudorandom numbers and a sequence of corresponding invocation numbers are saved in a sync table.
-
公开(公告)号:US10452630B2
公开(公告)日:2019-10-22
申请号:US15295305
申请日:2016-10-17
Applicant: salesforce.com, inc.
Inventor: Awais Tariq , Rohitashva Mathur , Arup Dutta , Prem Veeramani , Jesse Collins
IPC: G06F16/22 , G06F16/245 , G06F16/9535 , G06F16/2453
Abstract: Reverse database query mapping. A database query to be executed on a computing platform against a database managed by the computing platform is received. Query mapping information is stored in a memory system accessible to the one or more processors. A source query corresponding to a query identifier is retrieved in response to statistical analysis. One or more potential indexes are generated for use with the source query, wherein at least one of the one or more potential indexes can function to improve performance of the source query.
-
公开(公告)号:US11537571B2
公开(公告)日:2022-12-27
申请号:US16141572
申请日:2018-09-25
Applicant: salesforce.com, inc.
Inventor: Rohitashva Mathur
IPC: G06F16/215 , G06F16/22 , G06F16/23 , G06F16/2455 , H03M7/46 , H03M7/30
Abstract: A request for performing a data storing operation directed to a database table that comprises a plurality of table columns is received. Columnar compression metadata is accessed to identify one or more table columns in the database table, each of the one or more table columns being designated to store compressed columnar values. The columnar compression metadata is used to apply one or more columnar compression methods to generate, from one or more uncompressed columnar values received with the request for the data storing operation, one or more compressed columnar values to be persisted in the one or more table columns in the database table. A database statement is executed to persist the one or more compressed columnar values in the one or more table columns in the database table.
-
公开(公告)号:US11341130B2
公开(公告)日:2022-05-24
申请号:US16852395
申请日:2020-04-17
Applicant: salesforce.com, inc.
Inventor: Rohitashva Mathur
IPC: G06F16/2452 , G06F16/2455 , G06F16/22 , G06F16/242
Abstract: A query to retrieve database values for a first subset of table columns in a database table is determined. Runtime column selection variables are set up to identify the first subset of table columns for data retrieval, and are dynamically bound to a prepared query statement with single-column query statements joined by interstitial union operators. Each single-column query statement in the prepared query statement specifies a single-column query directed to a corresponding table column with a corresponding predicate to be bound at runtime dynamically with a corresponding portion of the one or more runtime column selection variables. The predicate is evaluated to be true or false in dependence on whether the corresponding table column is in the first subset of table columns. The prepared query statement is executed to retrieve database values for the first subset of table columns in the database table.
-
公开(公告)号:US11238017B2
公开(公告)日:2022-02-01
申请号:US15884165
申请日:2018-01-30
Applicant: salesforce.com, inc.
Inventor: Rohitashva Mathur
IPC: G06F17/30 , G06F16/215 , G06F16/22
Abstract: In a multitenant data platform architecture, one or more supporting data tables are used to efficiently retrieve data responsive to data retrieval requests. Programmatic code markers associated with contextual data about a data transaction thread are identified. The contextual data is examined using the one or more programmatic code markers invoked by the database in the data transaction thread at runtime. Based on the contextual data returning an indication of a data corruption in one or more supporting data structures, an action associated with the data transaction thread is performed. A log of data corruptions and corresponding call stack trace data may be generated. The data transaction thread may be allowed to continue to execute statements that modify data tables, or the data transaction thread may be terminated.
-
-
-
-
-
-
-
-
-