Query hints for caching and replication

US10275508B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10275508-B2
Application numberUS-201514946757-A
CountryUS
Kind codeB2
Filing dateNov 19, 2015
Priority dateNov 19, 2015
Publication dateApr 30, 2019
Grant dateApr 30, 2019

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.

A method may include receiving a query for data to be provided by a database server, wherein the query includes an indication of a maximum lag. The method may further include determining whether a hint is available to apply to the query, wherein the hint affects an execution of the query. When no hint is available, a baseline database server may be selected to be the database server. When the hint is available, a replication server or a cache server may be selected to be the database server based on the hint and the maximum lag. The query may be processed at the selected database server.

First claim

Opening claim text (preview).

What is claimed is: 1. A method comprising: receiving a query for data to be provided by a database server, wherein the query includes an indication of a maximum lag; determining whether a hint, at a database management system, is available to apply to the query having the maximum lag, wherein the hint affects an execution of the query; selecting, when no hint is available, a baseline database server to be the database server; selecting, when the hint is available, a replication server or a cache server to be the database server based on the hint and the maximum lag; and processing the query at the selected database server. 2. The method of claim 1 , wherein the selecting is based at least in part on the lag of the database server with the hint applied being less than or equal to the maximum lag. 3. The method of claim 1 , wherein the hint includes an indication of a class, wherein the class is one of a plurality of classes associated with the hint, and wherein when the class identifies a lag provided using the hint as long, short, or a quantitative value of time. 4. The method of claim 3 , wherein when the hint includes the indication of the class short, the hint causes the selected database to have been produced by asynchronous table replication, wherein asynchronous table replication causes a lag of less than a few seconds. 5. The method of claim 4 , wherein asynchronous table replication replicates one or more tables from the baseline database. 6. The method of claim 3 , wherein when the hint includes the indication of the class long, the hint causes the selected database to have been produced as a cache, wherein the database produced as a cache has a lag between a few seconds and sixty minutes. 7. The method of claim 6 , wherein the cache is an aggregation of tables from the baseline database. 8. A non-transitory computer readable medium containing executable instructions, that when executed by at least one processor perform operations comprising: receiving a query for data to be provided by a database server, wherein the query includes an indication of a maximum lag; determining whether a hint, at a database management system, is available to apply to the query having the maximum lag, wherein the hint affects an execution of the query; selecting, when no hint is available, a baseline database server to be the database server; selecting, when the hint is available, a replication server or a cache server to be the database server based on the hint and the maximum lag; and processing the query at the selected database server. 9. The non-transitory computer readable medium of claim 8 , wherein the selecting is based at least in part on the lag of the database server with the hint applied being less than or equal to the maximum lag. 10. The non-transitory computer readable medium of claim 8 , wherein the hint includes an indication of a class, wherein the class is one of a plurality of classes associated with the hint, and wherein when the class identifies a lag provided using the hint as long, short, or a quantitative value of time. 11. The method of claim 10 , wherein when the hint includes the indication of the class short, the hint causes the selected database to have been produced by asynchronous table replication, wherein asynchronous table replication causes a lag of less than a few seconds. 12. The method of claim 11 , wherein asynchronous table replication replicates one or more tables from the baseline database. 13. The method of claim 10 , wherein when the hint includes the indication of the class long, the hint causes the selected database to have been produced as a cache, wherein the database produced as a cache has a lag between a few seconds and sixty minutes. 14. The method of claim 13 , wherein the cache is an aggregation of tables from the baseline database. 15. A system comprising: at least one processor; at least one memory including executable code, wherein the at least one processor, the at least one memory, and the executable code cause operations comprising: receiving a query for data to be provided by a database server, wherein the query includes an indication of a maximum lag; determining whether a hint, at a database management system, is available to apply to the query having the maximum lag, wherein the hint affects an execution of the query; selecting, when no hint is available, a baseline database server to be the database server; selecting, when the hint is available, a replication server or a cache server to be the database server based on the hint and the maximum lag; and processing the query at the selected database server. 16. The system of claim 15 , wherein the selecting is based at least in part on the lag of the database server with the hint applied being less than or equal to the maximum lag. 17. The system of claim 15 , wherein the hint includes an indication of a class, wherein the class is one of a plurality of classes associated with the hint, and wherein when the class identifies a lag provided using the hint as long, short, or a quantitative value of time. 18. The method of claim 17 , wherein when the hint includes the indication of the class short, the hint causes the selected database to have been produced by asynchronous table replication, wherein asynchronous table replication causes a lag of less than a few seconds. 19. The method of claim 18 , wherein asynchronous table replication replicates one or more tables from the baseline database. 20. The method of claim 17 , wherein when the hint includes the indication of the class long, the hint causes the selected database to have been produced as a cache, wherein the database produced as a cache has a lag between a few seconds and sixty minutes, wherein the cache is an aggregation of tables from the baseline database.

Assignees

Inventors

Classifications

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 US10275508B2 cover?
A method may include receiving a query for data to be provided by a database server, wherein the query includes an indication of a maximum lag. The method may further include determining whether a hint is available to apply to the query, wherein the hint affects an execution of the query. When no hint is available, a baseline database server may be selected to be the database server. When the h…
Who is the assignee on this patent?
Sap Se
What technology area does this patent fall under?
Primary CPC classification G06F16/273. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Apr 30 2019 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 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).