IP Library Granted Patent US 11,782,950
Granted Patent B2
US 11,782,950 · App. 17/463,357 · Granted Oct 10, 2023

Resource management systems and methods

Inventors: Benoit Dageville (San Carlos, CA); Thierry Cruanes (San Mateo, CA); Marcin Zukowski (San Mateo, CA)
Assignee: Snowflake Inc.
G06F16/27G06F9/4881G06F9/5016G06F9/5044G06F9/5083G06F9/5088G06F16/148G06F16/1827G06F16/211G06F16/221G06F16/2365G06F16/2456G06F16/2471G06F16/24532G06F16/24545G06F16/24552G06F16/951G06F16/9535H04L67/1095H04L67/1097H04L67/2842
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,782,950
App. No.
17/463,357
Granted
Oct 10, 2023
Kind
B2
Abstract

Example resource management systems and methods are described. In one implementation, a resource manager is configured to manage data processing tasks associated with multiple data elements. An execution platform is coupled to the resource manager and includes multiple execution nodes configured to store data retrieved from multiple remote storage devices. Each execution node includes a cache and a processor, where the cache and processor are independent of the remote storage devices. A metadata manager is configured to access metadata associated with at least a portion of the multiple data elements.

Claims (38)

1. A method, comprising:

storing at least a portion of database data to one or more caches accessible to a plurality of execution nodes;

receiving, by a resource manager running on a first execution node of the plurality of execution nodes, a query to process the database data, wherein each of the plurality of execution nodes comprises at least one processor and a cache to cache data from a plurality of storage devices to independently process an allocated portion of the database data, wherein the resource manager is scaled independently from other resource managers based on the query and the associated database data to be processed; and

allocating, the query to one or more of the plurality of execution nodes to process the database data, the one or more of the plurality of execution nodes having access to the one or more caches storing at least a portion of the database data,

wherein the one or more of the plurality of execution nodes process the database data based at least in part on an organization of the database data within the one or more caches of the plurality of execution nodes and the plurality of storage devices, and wherein the one or more of the plurality of execution nodes are stateless with respect to the database data.

2. The method of claim 1 , wherein the resource manager comprises a virtual warehouse manager and wherein the plurality of execution nodes belong to one or more virtual warehouses managed by the virtual warehouse manager.

3. The method of claim 2 , wherein the virtual warehouse manager comprises at least a logical mapping of the one or more virtual warehouses, wherein the logical mapping is based on access control parameters related to security and resource access management settings.

4. The method of claim 1 , further comprising retrieving, by the resource manager, information regarding the storage of the at least a portion of the database data to one or more caches accessible to the plurality of execution nodes, wherein the retrieving comprises:

identifying candidate execution nodes for processing the received query, wherein the candidate execution nodes have already cached the portion of the database data needed to process the query, wherein the query is allocated based at least in part on the retrieved information; and

retrieving the information from the candidate execution nodes.

5. The method of claim 1 , wherein the organization of the database data is stored in a structured and optimized format, and wherein the database data is accessible as a service separate from computing or processing resources.

6. The method of claim 1 , wherein the query is in a form of one or more structured query language (SQL) statements.

7. The method of claim 1 , wherein the at least one processor is a one of a physical processor or a virtual processor.

8. A system comprising:

a memory; and

a processing device operably coupled to the memory, the processing device to:

storing at least a portion of database data to one or more caches accessible to a plurality of execution nodes;

receive, in a resource manager running on a first execution node of the plurality of execution nodes, a query to process the database data, wherein each of the plurality of execution nodes comprises at least one processor and a cache to cache data from a plurality of storage devices to independently process an allocated portion of the database data, wherein the resource manager is scaled independently from other resource managers based on the query and the associated database data to be processed; and

allocate, the query to one or more of the plurality of execution nodes to process the database data, the one or more of the plurality of execution nodes having access to the one or more caches storing at least a portion of the database data, wherein the one or more of the plurality of execution nodes process the database data based at least in part on an organization of the database data within the one or more caches of the plurality of execution nodes and the plurality of storage devices, and wherein the one or more of the plurality of execution nodes are stateless with respect to the database data.

9. The system of claim 8 , wherein the resource manager comprises a virtual warehouse manager and wherein the plurality of execution nodes belong to one or more virtual warehouses managed by the virtual warehouse manager.

10. The system of claim 9 , wherein the virtual warehouse manager comprises at least a logical mapping of the one or more virtual warehouses, wherein the logical mapping is based on access control parameters related to security and resource access management settings.

11. The system of claim 8 , wherein the processing device is to retrieve information regarding the storage of a portion of the database data to one or more caches accessible to the plurality of execution nodes by:

identifying candidate execution nodes for processing the received query, wherein the candidate execution nodes have already cached the portion of the database data needed to process the query, and wherein the query is allocated based at least in part on the retrieved information; and

retrieving the information from the candidate execution nodes.

12. The system of claim 8 , wherein the organization of the database data is stored in a structured and optimized format, and wherein the database data is accessible as a service separate from computing or processing resources.

13. The system of claim 8 , wherein the query is in a form of one or more structured query language (SQL) statements.

14. The system of claim 8 , wherein the at least one processor is a one of a physical processor or a virtual processor.

15. A non-transitory computer-readable storage medium having instructions stored thereon that, when executed by a processing device, cause the processing device to:

storing at least a portion of database data to one or more caches accessible to a plurality of execution nodes;

receive, in a resource manager running on a first execution node of the plurality of execution nodes, a query to process the database data, wherein each of the plurality of execution nodes comprises at least one processor and a cache to cache data from a plurality of storage devices to independently process an allocated portion of the database data, wherein the resource manager is scaled independently from other resource managers based on the query and the associated database data to be processed; and

allocate, the query to one or more of the plurality of execution nodes to process the database data, the one or more of the plurality of execution nodes having access to the one or more caches storing at least a portion of the database data, wherein the one or more of the plurality of execution nodes process the database data based at least in part on an organization of the database data within the one or more caches of the plurality of execution nodes and the plurality of storage devices, and wherein the one or more of the plurality of execution nodes are stateless with respect to the database data.

16. The non-transitory computer-readable storage medium of claim 15 , wherein the resource manager comprises a virtual warehouse manager and wherein the plurality of execution nodes belong to one or more virtual warehouses managed by the virtual warehouse manager.

17. The non-transitory computer-readable storage medium of claim 16 , wherein the virtual warehouse manager comprises at least a logical mapping of the one or more virtual warehouses, wherein the logical mapping is based on access control parameters related to security and resource access management settings.

18. The non-transitory computer-readable storage medium of claim 15 , further comprising instructions stored thereon that, when executed by the processing device, cause the processing device to:

identify candidate execution nodes for processing the received query, wherein the candidate execution nodes have already cached the portion of the database data needed to process the query; and

retrieve information from the candidate execution nodes.

19. The non-transitory computer-readable storage medium of claim 15 , wherein the organization of the database data is stored in a structured and optimized format, and wherein the database data is accessible as a service separate from computing or processing resources.

20. The non-transitory computer-readable storage medium of claim 15 , wherein the at least one processor is a one of a physical processor or a virtual processor.

Assignments (2)
CHANGE OF NAME Recorded Sep 2, 2021
From: SNOWFLAKE COMPUTING, INC.
To: SNOWFLAKE INC.
Reel/Frame 057435/0386 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 31, 2021
From: DAGEVILLE, BENOIT; CRUANES, THIERRY; ZUKOWSKI, MARCIN
To: SNOWFLAKE COMPUTING, INC.
Reel/Frame 057347/0853 →
Continuity (5)
Continuation 17111781 · Dec 4, 2020
Continuation 16447416 · Jun 20, 2019
Continuation 14518884 · Oct 20, 2014
Provisional Application 61941986 · Feb 19, 2014
Related Publication 20210390117A1 · Dec 16, 2021
Cited By (2)
US 12,287,808 US 12,619,631