Catalog query framework on distributed key value store

US11645232B1 · US · B1

Patent metadata
FieldValue
Publication numberUS-11645232-B1
Application numberUS-202217809829-A
CountryUS
Kind codeB1
Filing dateJun 29, 2022
Priority dateOct 29, 2021
Publication dateMay 9, 2023
Grant dateMay 9, 2023

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 show command; fetching a first set of first layer objects in a first layer of a 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 show command based on the compiled dependency information. 2. The method of claim 1 , wherein the dependency information associated a respective layer is fetched in a single transaction with the metadata database using bulk reads. 3. The method of claim 1 , wherein execution of the show command is stopped before all objects corresponding to the show command in the first layer are fetched, and a bookmark is placed indicating where the show command was stopped. 4. The method of claim 3 , wherein the show command is a first show command, and the method further comprising: executing a second show command based on the bookmark. 5. The method of claim 1 , further comprising: collecting metrics associated with each fetching step at a centralized location. 6. The method of claim 5 , wherein the metrics include time spent fetching objects. 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 show command; fetching a first set of first layer objects in a first layer of a 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 show command based on the compiled dependency information. 9. The machine-storage medium of claim 8 , wherein the dependency information associated a respective layer is fetched in a single transaction with the metadata database using bulk reads. 10. The machine-storage medium of claim 8 , wherein execution of the show command is stopped before all objects corresponding to the show command in the first layer are fetched, and a bookmark is placed indicating where the show command was stopped. 11. The machine-storage medium of claim 10 , wherein the show command is a first show command, and the operations further comprising: executing a second show command based on the bookmark. 12. The machine-storage medium of claim 8 , further comprising: collecting metrics associated with each fetching step at a centralized location. 13. The machine-storage medium of claim 12 , wherein the metrics include time spent fetching objects. 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 show command; fetching a first set of first layer objects in a first layer of a 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 show command based on the compiled dependency information. 16. The system of claim 15 , wherein the dependency information associated a respective layer is fetched in a single transaction with the metadata database using bulk reads. 17. The system of claim 15 , wherein execution of the show command is stopped before all objects corresponding to the show command in the first layer are fetched, and a bookmark is placed indicating where the show command was stopped. 18. The system of claim 17 , wherein the show command is a first show command, and the operations further comprising: executing a second show command based on the bookmark. 19. The system of claim 15 , the operations further comprising: collecting metrics associated with each fetching step at a centralized location. 20. The system of claim 19 , wherein the metrics include time spent fetching objects. 21. The system of claim 15 , further comprising: collecting metrics associated with fetching dependency information.

Assignees

Inventors

Classifications

  • G06F16/256Primary

    in federated or virtual databases · CPC title

  • File meta data generation · CPC title

  • G06F16/148Primary

    File search processing · 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 US11645232B1 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/256. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue May 09 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 4 related publications on this page (citations in our corpus or others sharing the same primary CPC).