IP Library Granted Patent US 11,429,639
Granted Patent B2
US 11,429,639 · App. 17/570,638 · Granted Aug 30, 2022

Push model for intermediate query results

Inventors: Thierry Cruanes (San Mateo, CA); Benoit Dageville (Foster City, CA); Allison Waingold Lee (San Mateo, CA)
Assignee: Snowflake Inc.
G06F16/27A61F5/566G06F9/4881G06F9/5016G06F9/5044G06F9/5083G06F9/5088G06F16/148G06F16/1827G06F16/211G06F16/221G06F16/2365G06F16/2456G06F16/2471G06F16/24532G06F16/24545G06F16/24552G06F16/951G06F16/9535H04L67/1095H04L67/1097H04L67/568
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,429,639
App. No.
17/570,638
Granted
Aug 30, 2022
Kind
B2
Abstract

A system and method for managing data storage and data access with querying data in a distributed system without buffering the results on intermediate operations in disk storage.

Claims (39)

1. A method comprising:

processing, within a first processor, a set of data with a first operator of a query plan to generate an intermediate result of the query; and

pushing, by the first processor, during execution of the query plan, the intermediate result to one or more second processors in the query plan for processing by a plurality of secondary operators within the plurality of second processors that generate a plurality of second results, wherein each of the one or more second processors store at least some of the plurality of intermediate results in a local cache that corresponds to that second processor.

2. The method of claim 1 , further comprising:

storing a final result to a disk storage within a storage platform.

3. The method of claim 1 , further comprising:

accessing the query plan for the set of data referenced by a query.

4. The method of claim 1 , wherein each of the first processor and the one or more second processors are decoupled from the disk storage.

5. The method of claim 1 , wherein the plurality of second results is generated without writing the intermediate result to the disk storage.

6. The method of claim 1 , wherein each of the plurality of secondary operators processes the intermediate result with a different operation.

7. The method of claim 1 , further comprising:

delaying operation of at least one of the plurality of secondary operators so as to coordinate timing among other secondary operators of the plurality of secondary operators.

8. The method of claim 1 , wherein the intermediate result comprises a plurality of rows of database data.

9. The method of claim 1 , wherein each of the plurality of secondary operators are unique operators.

10. The method of claim 1 , wherein the intermediate result is not materialized.

11. The method of claim 1 , wherein the intermediate result generated by the first operators is not materialized to a temporary structure.

12. The method of claim 1 , wherein the each of the first processor and second plurality of processors is coupled to the disk storage via a communications network.

13. The method of claim 1 , further comprising:

receiving the query for information stored in one or more databases.

14. A system comprising:

a first processor programmed to,

process a set of data with a first operator of a query plan to generate an intermediate result of a query, and

push, during execution of the query plan, the intermediate result to one or more second processors in the query plan for concurrent processing by the plurality of secondary operators; and

the one or more second processors programmed to generate the plurality of second results, wherein each of the one or more second processors store at least some of the plurality of intermediate results in a local cache that corresponds to that second processor.

15. The system of claim 14 , wherein each of the first processor and the one or more second processors are decoupled from the disk storage.

16. The system of claim 14 , wherein the plurality of second results generated without writing the intermediate result to the disk storage.

17. The system of claim 14 , wherein each of the plurality of secondary operators process the intermediate result with a different operation.

18. The system of claim 14 , wherein the first processor further programmed to delay an operation of at least one of the plurality of secondary operators so as to coordinate timing among other secondary operators of the plurality of secondary operators.

19. The system of claim 14 , wherein the intermediate result comprises a plurality of rows of database data.

20. The system of claim 14 , wherein the each of the first processor and second plurality of processors is coupled to the disk storage via a communications network.

21. A non-transitory computer-readable medium storing instructions which, when executed by one or more third-processors of a computing device, cause the computing device to:

process, within a first processor, a set of data with a first operator of a query plan to generate an intermediate result of the query; and

push, by the first processor, during execution of the query plan, the intermediate result to one or more second processors in the query plan for processing by a plurality of secondary operators within the plurality of second processors that generate a plurality of second results, wherein each of the one or more second processors store at least some of the plurality of intermediate results in a local cache that corresponds to that second processor.

22. The non-transitory computer-readable medium of claim 21 , wherein the instructions further cause the computing device to:

store a final result to a disk storage within a storage platform.

23. The non-transitory computer-readable medium of claim 21 , wherein the instructions further cause the computing device to:

access the query plan for the set of data referenced by a query.

24. The non-transitory computer-readable medium of claim 21 , wherein each of the first processor and the one or more second processors are decoupled from the disk storage.

25. The non-transitory computer-readable medium of claim 21 , wherein the plurality of second results is generated without writing the intermediate result to the disk storage.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 11, 2022
From: DAGEVILLE, BENOIT; CRUANES, THIERRY; LEE, ALLISON WAINGOLD
To: SNOWFLAKE COMPUTING INC.
Reel/Frame 058617/0604 →
CHANGE OF NAME Recorded Jan 11, 2022
From: SNOWFLAKE COMPUTING INC.
To: SNOWFLAKE INC.
Reel/Frame 058700/0819 →
Continuity (9)
Continuation 17326052 · May 20, 2021
Continuation 17194182 · Mar 5, 2021
Continuation 17125524 · Dec 17, 2020
Continuation 16995599 · Aug 17, 2020
Continuation 16911185 · Jun 24, 2020
Continuation 16741676 · Jan 13, 2020
Continuation 14626853 · Feb 19, 2015
Provisional Application 61941986 · Feb 19, 2014
Related Publication 20220129479A1 · Apr 28, 2022