Dynamic selection and application of rules for processing of queries in an on-demand environment

US11068483B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11068483-B2
Application numberUS-201816134857-A
CountryUS
Kind codeB2
Filing dateSep 18, 2018
Priority dateAug 1, 2017
Publication dateJul 20, 2021
Grant dateJul 20, 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.

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.

First claim

Opening claim text (preview).

What is claimed is: 1. A method comprising: gathering historical statistics relating to a query placed on behalf of a tenant in a multi-tenant database environment, wherein the historical statistics to reveal one or more features associated with the query, the one or more features representing one or more historical performance attributes associated the query; determining, based on the one or more features, processing patterns specific to the query, wherein the processing patterns to identify (1) one or more portions of a database having contents pertinent to the query and (2) a predictable amount of time to process the query based on searching the one or more portions of the database, wherein one or more time frames are associated with the one or more portions of the database such that searching is conducted based on the one or more time frames and within the predictable amount of time while applying one or more searching rules to block one or more anti-patterns lacking compliance with the processing patterns, wherein each time frame represents a share of the predictable amount of time anticipated in processing the query with respect to a corresponding portion of the one or more portions of the database based on the processing patterns; dynamically applying, based on the processing patterns, one or more rules to the query to facilitate processing of the query within the predictable amount of time, wherein the one or more rules are dynamically selected, based on the processing patterns, from sets of rules for processing of queries; and processing the query based on the applied one or more rules by scanning the identified one or more portions of the database within the predictable amount of time. 2. The method of claim 1 , further comprising: receiving the query from a client computing device over a communication network; generating results from processing of the query; and transmitting the results to the client computing device. 3. The method of claim 1 , wherein the historical statistics associated with the query are gathered from the client computing device. 4. The method of claim 1 , further comprising accessing the pertinent contents from the one or more portions of the database without having to scan or access other portions of the database. 5. The method of claim 2 , wherein the results are further generated based on efficient classes associated with the query and without having to access or process inefficient classes. 6. A database system comprising: a server computing device having a data processing device coupled to a memory, the data processing device to facilitate operations comprising: gathering historical statistics relating to a query placed on behalf of a tenant in a multi-tenant database environment, wherein the historical statistics to reveal one or more features associated with the query, the one or more features representing one or more historical performance attributes associated the query; determining, based on the one or more features, processing patterns specific to the query, wherein the processing patterns to identify (1) one or more portions of a database having contents pertinent to the query and (2) a predictable amount of time to process the query based on searching the one or more portions of the database, wherein one or more time frames are associated with the one or more portions of the database such that searching is conducted based on the one or more time frames and within the predictable amount of time while applying one or more searching rules to block one or more anti-patterns lacking compliance with the processing patterns, wherein each time frame represents a share of the predictable amount of time anticipated in processing the query with respect to a corresponding portion of the one or more portions of the database based on the processing patterns; dynamically applying, based on the processing patterns, one or more rules to the query to facilitate processing of the query within the predictable amount of time, wherein the one or more rules are dynamically selected, based on the processing patterns, from sets of rules for processing of queries; and processing the query based on the applied one or more rules by scanning the identified one or more portions of the database within the predictable amount of time. 7. The system of claim 6 , wherein the operations further comprise: receiving the query from a client computing device over a communication network; generating results based on processing of the query; and transmitting the results to the client computing device. 8. The system of claim 6 , wherein the wherein the historical statistics associated with the query are gathered from the client computing device. 9. The system of claim 6 , wherein the operations further comprise accessing the pertinent contents from the one or more portions of the database without having to scan or access other portions of the database. 10. The system of claim 6 , wherein the results are further generated based on efficient classes associated with the query and without having to access or process inefficient classes. 11. A non-transitory computer-readable medium having stored thereon instructions which, when executed, cause a computing device to perform operations comprising: gathering historical statistics relating to a query placed on behalf of a tenant in a multi-tenant database environment, wherein the historical statistics to reveal one or more features associated with the query, the one or more features representing one or more historical performance attributes associated the query; determining, based on the one or more features, processing patterns specific to the query, wherein the processing patterns to identify (1) one or more portions of a database having contents pertinent to the query and (2) a predictable amount of time to process the query based on searching the one or more portions of the database, wherein one or more time frames are associated with the one or more portions of the database such that searching is conducted based on the one or more time frames and within the predictable amount of time while applying one or more searching rules to block one or more anti-patterns lacking compliance with the processing patterns, wherein each time frame represents a share of the predictable amount of time anticipated in processing the query with respect to a corresponding portion of the one or more portions of the database based on the processing patterns; dynamically applying, based on the processing patterns, one or more rules to the query to facilitate processing of the query within the predictable amount of time, wherein the one or more rules are dynamically selected, based on the processing patterns, from sets of rules for processing of queries; and processing the query based on the applied one or more rules by scanning the identified one or more portions of the database within the predictable amount of time. 12. The non-transitory computer-readable medium of claim 11 , wherein the operations further comprise: receiving the query from a client computing device over a communication network; generating results based on processing of the query; and transmitting the results to the client computing device. 13. The non-transitory computer-readable medium of claim 11 , wherein the historical statistics associated with the query are gathered from the client computing device. 14. The non-transitory computer-readable medium of claim 11 , wherein the operations further comprise accessing the pertinent contents from the one or more portions of the database without having to scan or access other port

Assignees

Inventors

Classifications

  • Indexing; Web crawling techniques · CPC title

  • Approximate or statistical queries · CPC title

  • Run-time optimisation · 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 US11068483B2 cover?
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 …
Who is the assignee on this patent?
Salesforce Com Inc
What technology area does this patent fall under?
Primary CPC classification G06F16/24549. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jul 20 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 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).