# US 10,956,445 B1 · Push model for intermediate query results

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,956,445 B1
- Document ID: US10956445B1
- Status: Granted
- Kind: B1
- Application number: 17/125,524
- Filed: 2020-12-17
- Published: 2021-04-08
- Granted: 2021-03-23
- Earliest claimed: 2014-02-19
- Assignees: Snowflake Inc.
- Applicants: Snowflake Inc.
- Inventors: Thierry Cruanes; Benoit Dageville; Allison Waingold Lee
- Web page: https://patentgrep.com/patent/US10956445B1

## CPC

- G06F 16/273: {Asynchronous replication or reconciliation}
- A61F 5/566: {Intra-oral devices}
- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/5016: {the resource being the memory}
- G06F 9/5044: {considering hardware capabilities}
- G06F 9/5083: {Techniques for rebalancing the load in a distributed system}
- G06F 9/5088: {involving task migration}
- G06F 16/128: {Details of file system snapshots on the file-level, e.g. snapshot creation, administration, deletion (error detection or correction of the data by redundancy in operations or in hardware G06F11/14, G06F11/16)}
- G06F 16/148: {File search processing}
- G06F 16/1827: {Management specifically adapted to NAS (management of storage area networks [SAN] G06F3/067)}
- G06F 16/211: {Schema design and management}
- G06F 16/221: {Column-oriented storage; Management thereof}
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/24532: {of parallel queries}
- G06F 16/24545: {Selectivity estimation or determination}
- G06F 16/24552: {Database cache management}
- G06F 16/2456: {Join operations}
- G06F 16/2471: {Distributed queries}
- G06F 16/254: {Extract, transform and load [ETL] procedures, e.g. ETL data flows in data warehouses}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F 16/283: {Multi-dimensional databases or data warehouses, e.g. MOLAP or ROLAP}
- G06F 16/951: Indexing; Web crawling techniques
- G06F 16/9535: Search customisation based on user profiles and personalisation
- G06F 16/9538: Presentation of query results
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- A61F: FILTERS IMPLANTABLE INTO BLOOD VESSELS; PROSTHESES; DEVICES PROVIDING PATENCY TO, OR PREVENTING COLLAPSING OF, TUBULAR STRUCTURES OF THE BODY, e.g. STENTS; ORTHOPAEDIC, NURSING OR CONTRACEPTIVE DEVICES; FOMENTATION; TREATMENT OR PROTECTION OF EYES OR EARS; BANDAGES, DRESSINGS OR ABSORBENT PADS; FIRST-AID KITS (dental prosthetics A61C)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## 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

### Claim 1

A method comprising:
accessing a query plan comprising a step to be performed on a set of data pertaining to a query;
initiating, within one or more of a first set of processors, a first parallel execution process in the query plan to process the set of data and generate an intermediate result of the query;
providing, by the one or more of the first set of processors, during execution of the query plan, the intermediate result to a second set of processors for processing a plurality of secondary parallel execution processes within the second set of processors, wherein each of the first set of processors and the second set of processors is decoupled from a data storage device;
initiating, by the one or more of the second set of processors, the plurality of secondary parallel execution processes to process the intermediate result to generate a plurality of secondary results; and
storing a final result to storage within a storage platform.

### Claim 2 (depends on 1)

The method of claim 1, wherein the plurality of secondary results generated without writing the intermediate result to a data storage device.

### Claim 3 (depends on 1)

The method of claim 1, wherein each of the plurality of secondary parallel execution processes process the intermediate result using a different operation.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
delaying operation of at least one of the plurality of secondary parallel execution processes so as to coordinate timing among other secondary parallel execution processes of the plurality of secondary parallel execution processes.

### Claim 5 (depends on 1)

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

### Claim 6 (depends on 1)

The method of claim 1, wherein each of the plurality of secondary parallel execution processes are unique operators.

### Claim 7 (depends on 1)

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

### Claim 8 (depends on 1)

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

### Claim 9 (depends on 1)

The method of claim 1, wherein the set of data is stored in a relational database.

### Claim 10 (depends on 9)

The method of claim 9, wherein the relational database is a structured query language database.

### Claim 11 (depends on 1)

The method of claim 1, wherein one or more databases storing the set of data comprise a multi-tenant database that isolates computing resources and data between different customers.

### Claim 12 (depends on 1)

The method of claim 1, wherein the each of the first set of one or more processors and the second set of one or more processors is coupled to the data storage device via a communications network.

### Claim 13 (depends on 1)

The method of claim 1, wherein the each of the first set of one or more processors and the second set of one or more processors includes a local cache.

### Claim 14

A system comprising:
a query coordinating process programmed to:
access a query plan comprising a step to be performed on a set of data referenced by a query;
a first set of processors programmed to:
initiate a first parallel execution process in the query plan to process the set of data and generate an intermediate result of the query, and
provide, during execution of the query plan, the intermediate result to a second set of processors for concurrent processing by the second set of processors, wherein each of the first set of processors and the second set of processors is decoupled from a data storage device; and
the second set of processors programmed to initiate a plurality of secondary parallel execution processes to process the intermediate result to generate a plurality of secondary results; and
a storage platform programmed to store a final result to storage.

### Claim 15 (depends on 14)

The system of claim 14, wherein the plurality of secondary results generated without writing the intermediate result to a data storage device.

### Claim 16 (depends on 14)

The system of claim 14, wherein each of the plurality of secondary parallel execution processes process the intermediate result using a different operation.

### Claim 17 (depends on 14)

The system of claim 14, the first set of processors further programmed to:
delay operation of at least one of the plurality of secondary parallel execution processes so as to coordinate timing among other secondary parallel execution processes of the plurality of secondary parallel execution processes.

### Claim 18 (depends on 14)

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

### Claim 19 (depends on 14)

The system of claim 14, wherein each of the plurality of secondary parallel execution processes are unique operators.

### Claim 20 (depends on 14)

The system of claim 14, wherein the intermediate result is not materialized.

### Claim 21 (depends on 14)

The system of claim 14, wherein the intermediate result generated by the first parallel execution processes is not materialized to a temporary structure.

### Claim 22 (depends on 14)

The system of claim 14, wherein the set of data is stored in a relational database.

### Claim 23 (depends on 22)

The system of claim 22, wherein the relational database is a structured query language database.

### Claim 24 (depends on 14)

The system of claim 14, wherein one or more databases storing the data set comprise a multi-tenant database that isolates computing resources and data between different customers.

### Claim 25 (depends on 14)

The system of claim 14, wherein the each of the first set of one or more processors and the second set of one or more processors is coupled to the data storage device via a communications network.

### Claim 26 (depends on 14)

The system of claim 14, wherein the each of the first set of one or more processors and the second set of one or more processors includes a local cache.

### Claim 27

A non-transitory computer-readable medium storing instructions which, when executed by one or more third set of one or more processors of a computing system, cause the computing system to:
access a query plan comprising a step to be performed on a set of data referenced by a query;
initiate, within a first set of one or more processors, a first parallel execution process in the query plan to process the set of data and generate an intermediate result of the query;
provide, by the first processor, during execution of the query plan, the intermediate result to a second set of processors for processing a plurality of secondary parallel execution processes by the second set of processors, wherein each of the first set and the second set of processors are decoupled from a data storage device;
initiate, by one or more of the second set of processors, the plurality of secondary parallel execution processes to process the intermediate result to generate a plurality of secondary results; and
store a final result to storage within a storage platform.

### Claim 28 (depends on 27)

The non-transitory computer-readable medium of claim 27, wherein the plurality of secondary results is generated without writing the intermediate result to the data storage device.

### Claim 29 (depends on 27)

The non-transitory computer-readable medium of claim 27, wherein the query coordinating process further to:
delay operation of at least one of the plurality of secondary parallel execution processes so as to coordinate timing among other secondary parallel execution processes of the plurality of secondary parallel execution processes.

### Claim 30 (depends on 27)

The non-transitory computer-readable medium of claim 27, wherein the each of the first set of one or more processors and the second set of one or more processors is coupled to the data storage device via a communications network.
