Catalog query framework on distributed key value store

US12072840B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12072840-B2
Application numberUS-202318179793-A
CountryUS
Kind codeB2
Filing dateMar 7, 2023
Priority dateOct 29, 2021
Publication dateAug 27, 2024
Grant dateAug 27, 2024

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.

Techniques for executing show commands are described herein. A plurality of navigation steps is utilized, each navigation step corresponding to a different layer in a database structure and each navigation step including an operator to fetch items from a metadata database up to respective bounded limits. Dependency information is also fetched for objects of the specified object type in the show command. After a set of objects from the last layer are processed, memory for the navigation steps is flushed and the next set of objects are processed.

First claim

Opening claim text (preview).

The invention claimed is: 1. A method comprising: receiving a first show command; in response to the first show command, initiate fetching a first set of first layer objects in a first layer of a metadata database; stopping execution of the first show command before all objects in the first set of first layer objects are fetched; inserting a bookmark indicating where the first show command was stopped in relation to fetching the first set of objects; receiving a second show command; in response to the second show command, retrieving the bookmark and fetching remaining objects in the first set of first layer objects in the first layer of the metadata database up to a first bounded limit using a first memory space; fetching a first set of second layer objects in a second layer of the metadata database corresponding to the first set of first layer objects in the first layer up to a second bounded limit using a second memory space; fetching dependency information associated with the first set of second layer objects; flushing the second memory space; fetching a second set of second layer objects in the second layer of the of the metadata database corresponding to the first set of first layer objects in the first layer up to the second bounded limit using the flushed second memory space; fetching dependency information associated with the second set of second layer objects; compiling dependency information associated with the first and second sets of second layer objects; and generating results for the second show command based on the compiled dependency information. 2. The method of claim 1 , wherein the dependency information associated the first set of second layer objects is fetched in a single transaction with the metadata database using bulk reads. 3. The method of claim 1 , wherein the dependency information associated the second set of second layer objects is fetched in a single transaction with the metadata database using bulk reads. 4. The method of claim 1 , further comprising: determining that there are additional second layer objects corresponding to the first set of first layer objects; and in response to determining that there are more second layer objects, flushing the second memory space. 5. The method of claim 1 , further comprising: collecting metrics associated with each navigation step at a centralized location. 6. The method of claim 5 , wherein the metrics include time spent fetching objects in each navigation step. 7. The method of claim 1 , further comprising: collecting metrics associated with fetching dependency information. 8. A machine-storage medium embodying instructions that, when executed by a machine, cause the machine to perform operations comprising: receiving a first show command; in response to the first show command, initiate fetching a first set of first layer objects in a first layer of a metadata database; stopping execution of the first show command before all objects in the first set of first layer objects are fetched; inserting a bookmark indicating where the first show command was stopped in relation to fetching the first set of objects; receiving a second show command; in response to the second show command, retrieving the bookmark and fetching remaining objects in the first set of first layer objects in the first layer of the metadata database up to a first bounded limit using a first memory space; fetching a first set of second layer objects in a second layer of the metadata database corresponding to the first set of first layer objects in the first layer up to a second bounded limit using a second memory space; fetching dependency information associated with the first set of second layer objects; flushing the second memory space; fetching a second set of second layer objects in the second layer of the of the metadata database corresponding to the first set of first layer objects in the first layer up to the second bounded limit using the flushed second memory space; fetching dependency information associated with the second set of second layer objects; compiling dependency information associated with the first and second sets of second layer objects; and generating results for the second show command based on the compiled dependency information. 9. The machine-storage medium of claim 8 , wherein the dependency information associated the first set of second layer objects is fetched in a single transaction with the metadata database using bulk reads. 10. The machine-storage medium of claim 8 , wherein the dependency information associated the second set of second layer objects is fetched in a single transaction with the metadata database using bulk reads. 11. The machine-storage medium of claim 8 , further comprising: determining that there are additional second layer objects corresponding to the first set of first layer objects; and in response to determining that there are more second layer objects, flushing the second memory space. 12. The machine-storage medium of claim 8 , further comprising: collecting metrics associated with each navigation step at a centralized location. 13. The machine-storage medium of claim 12 , wherein the metrics include time spent fetching objects in each navigation step. 14. The machine-storage medium of claim 8 , further comprising: collecting metrics associated with fetching dependency information. 15. A system comprising: at least one hardware processor; and at least one memory storing instructions that, when executed by the at least one hardware processor, cause the at least one hardware processor to perform operations comprising: receiving a first show command; in response to the first show command, initiate fetching a first set of first layer objects in a first layer of a metadata database; stopping execution of the first show command before all objects in the first set of first layer objects are fetched; inserting a bookmark indicating where the first show command was stopped in relation to fetching the first set of objects; receiving a second show command; in response to the second show command, retrieving the bookmark and fetching remaining objects in the first set of first layer objects in the first layer of the metadata database up to a first bounded limit using a first memory space; fetching a first set of second layer objects in a second layer of the metadata database corresponding to the first set of first layer objects in the first layer up to a second bounded limit using a second memory space; fetching dependency information associated with the first set of second layer objects; flushing the second memory space; fetching a second set of second layer objects in the second layer of the of the metadata database corresponding to the first set of first layer objects in the first layer up to the second bounded limit using the flushed second memory space; fetching dependency information associated with the second set of second layer objects; compiling dependency information associated with the first and second sets of second layer objects; and generating results for the second show command based on the compiled dependency information. 16. The system of claim 15 , wherein the dependency information associated the first set of second layer objects is fetched in a single transaction with the metadata database using bulk reads. 17. The system of claim 15 , wherein the dependency information associated the second set of second layer objects is fetched in a single transaction with the metadata database using bulk reads.

Assignees

Inventors

Classifications

  • File meta data generation · CPC title

  • G06F16/148Primary

    File search processing · CPC title

  • G06F16/256Primary

    in federated or virtual databases · 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 US12072840B2 cover?
Techniques for executing show commands are described herein. A plurality of navigation steps is utilized, each navigation step corresponding to a different layer in a database structure and each navigation step including an operator to fetch items from a metadata database up to respective bounded limits. Dependency information is also fetched for objects of the specified object type in the show…
Who is the assignee on this patent?
Snowflake Inc
What technology area does this patent fall under?
Primary CPC classification G06F16/148. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 27 2024 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 7 related publications on this page (citations in our corpus or others sharing the same primary CPC).