Machine language query management for low-latency database analysis system

US11429607B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11429607-B2
Application numberUS-202017024790-A
CountryUS
Kind codeB2
Filing dateSep 18, 2020
Priority dateSep 20, 2019
Publication dateAug 30, 2022
Grant dateAug 30, 2022

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.

Data-query execution with distributed machine-language query management in a low-latency database analysis system may include obtaining, at a distributed in-memory database, a data-query expressing a request for data in a defined structured query language associated with the distributed in-memory database, automatically generating a high-level language query representing at least a portion of the data-query, obtaining a machine language query corresponding to the high-level language query, executing the machine language query to obtain results data, and outputting the results data. Obtaining the machine language query may include determining whether the machine language query is cached, and in response to a determination that the machine language query is unavailable, sending a request for the machine language query to a distributed machine-language-query management instance.

First claim

Opening claim text (preview).

What is claimed is: 1. A method comprising: obtaining, at a distributed in-memory database of a low-latency database analysis system, a data-query expressing a request for data in a defined structured query language associated with the distributed in-memory database; automatically, by an in-memory database instance of the distributed in-memory database, generating a high-level language query representing at least a portion of the data-query; obtaining, by the in-memory database instance, a machine language query corresponding to the high-level language query, wherein obtaining the machine language query includes: determining whether a cached machine language query corresponding to the machine language query is available, wherein determining whether the cached machine language query is available includes determining whether the cached machine language query is cached in an in-memory cache of the in-memory database instance; in response to a determination that the cached machine language query is available, obtaining the cached machine language query as the machine language query; in response to a determination that the cached machine language query is unavailable, sending a request for the machine language query to a machine-language-query management instance of the low-latency database analysis system; in response to a determination that the machine language query is available from the machine-language-query management instance, obtaining the machine language query from the machine-language-query management instance; and in response to a determination that the machine language query is unavailable from the machine-language-query management instance, obtaining the machine language query by generating the machine language query; executing, by the in-memory database instance, the machine language query to obtain results data; and outputting the results data. 2. The method of claim 1 , wherein obtaining the cached machine language query includes: in response to a determination that the in-memory cache of the in-memory database instance includes the cached machine language query, obtaining the cached machine language query from the in-memory cache of the in-memory database instance. 3. The method of claim 1 , wherein: obtaining the machine language query includes generating, by the in-memory database instance, a hash value for the high-level language query; determining whether the machine language query is cached in the in-memory cache of the in-memory database instance includes determining whether the machine language query is cached in the in-memory cache of the in-memory database instance using the hash value; and sending the request includes identifying the machine-language-query management instance using the hash value. 4. The method of claim 1 , wherein obtaining the cached machine language query includes: in response to a determination that the in-memory cache of the in-memory database instance omits the cached machine language query, sending a request for the cached machine language query to a persistent cache of the low-latency database analysis system; and in response to a determination that the cached machine language query is available from the persistent cache, obtaining the cached machine language query from the persistent cache. 5. The method of claim 4 , wherein sending the request for the cached machine language query to the persistent cache includes including the high-level language query in the request for the cached machine language query. 6. The method of claim 4 , wherein obtaining the machine language query includes: in response to a determination that the cached machine language query is unavailable from the persistent cache and in response to obtaining the machine language query, caching the machine language query in the persistent cache, by the in-memory database instance. 7. The method of claim 1 , wherein obtaining the machine language query includes: in response to a determination that the in-memory cache of the in-memory database instance omits the cached machine language query and in response to obtaining the machine language query, by the in-memory database instance, caching the machine language query in the in-memory cache of the in-memory database instance. 8. The method of claim 1 , wherein sending the request for the machine language query includes sending the request for the machine language query such that: in response to determining that the request for the machine language query omits a hash value for the high-level language query, the machine-language-query management instance generates the hash value for the high-level language query. 9. The method of claim 1 , wherein sending the request for the machine language query includes sending the request for the machine language query such that: in response to accessing the request for the machine language query, the machine-language-query management instance: determines whether the cached machine language query is available, wherein to determine whether the cached machine language query is available, the machine-language-query management instance determines whether the cached machine language query is cached in an in-memory cache of the machine-language-query management instance; in response to a determination by the machine-language-query management instance that the cached machine language query is available, obtains the cached machine language query as the machine language query; in response to a determination by the machine-language-query management instance that the cached machine language query is unavailable: obtains the machine language query by generating the machine language query; and in response to obtaining the machine language query, caches the machine language query in the in-memory cache of the machine-language-query management instance; in response to a determination the machine language query is unavailable, outputs a response indicating that the machine language query is unavailable in response to the request for the machine language query; and in response to obtaining the machine language query, outputs the machine language query in response to the request for the machine language query. 10. The method of claim 9 , wherein sending the request for the machine language query includes sending the request for the machine language query such that: in response to a determination that the cached machine language query is cached in the in-memory cache of the machine-language-query management instance, the machine-language-query management instance obtains the cached machine language query from the in-memory cache of the machine-language-query management instance. 11. The method of claim 9 , wherein sending the request for the machine language query includes sending the request for the machine language query such that: to obtain the cached machine language query, the in-memory cache of the machine-language-query management instance: in response to a determination that the in-memory cache of the machine-language-query management instance omits the cached machine language query, sends a request for the cached machine language query to a persistent cache of the low-latency database analysis system; and in response to a determination that the cached machine language query is available from the persistent cache, obtains the cached machine language query from the persistent cache. 12. The method of claim 11 , wherein sending the request for the machine language query includes sending the request for the machine language query such that: to obtain the cached machine language query, the in-memory cache of the machine-language-query management instan

Assignees

Inventors

Classifications

  • Presentation of query results · CPC title

  • Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor · CPC title

  • using cached or materialised query results · CPC title

  • Database cache management · CPC title

  • Query formulation · 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 US11429607B2 cover?
Data-query execution with distributed machine-language query management in a low-latency database analysis system may include obtaining, at a distributed in-memory database, a data-query expressing a request for data in a defined structured query language associated with the distributed in-memory database, automatically generating a high-level language query representing at least a portion of t…
Who is the assignee on this patent?
Thoughtspot Inc
What technology area does this patent fall under?
Primary CPC classification G06F16/24539. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 30 2022 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 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).