IP Library Granted Patent US 11,573,978
Granted Patent B2
US 11,573,978 · App. 17/832,361 · Granted Feb 7, 2023

Cloning catalog objects

Inventors: Ashish Motivala (Foster City, CA); Benoit Dageville (Foster City, 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/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,573,978
App. No.
17/832,361
Granted
Feb 7, 2023
Kind
B2
Abstract

Example systems and methods for cloning catalog objects are described. In one implementation, a method identifies an original catalog object associated with data and creates a duplicate copy of the original catalog object without copying the data itself. The method allows access to the data using the duplicate catalog object and supports modifying the data associated with the original catalog object independently of the duplicate catalog object. The duplicate catalog object can be deleted upon completion of modifying the data associated with the original catalog object.

Claims (34)

1. A method comprising:

creating, by one or more processors, a duplicate plurality of database tables of an original plurality of database tables of a database that includes a first plurality of schemas, the original plurality of database tables associated with data without copying the data itself by copying metadata of a first plurality of metadata to create a second plurality of metadata for each of a plurality of files and recursively copying the first plurality of schemas to create a second plurality of schemas, wherein the original plurality of database tables store the data in the plurality of files and the first plurality of metadata that summarizes at least some of the data content of at least some of the plurality of files.

2. The method of claim 1 , wherein a system can determine whether one of the plurality of files needs to be accessed without accessing that file from the one or more storage devices using the plurality of metadata.

3. The method of claim 1 , wherein the metadata comprises an inventory of data stored in the data.

4. The method of claim 1 , wherein the original plurality of database tables represent a logical grouping of data.

5. The method of claim 1 , further comprising:

allowing modification of the data associated with the original plurality of database tables independently of the duplicate plurality of database tables and without copy of the data itself.

6. The method of claim 1 , further comprising:

allowing access to the data using the duplicate plurality of database tables.

7. The method of claim 1 , further comprising:

modifying the data in one of the plurality of files associated with one of the original plurality of database tables and the duplicate plurality of original tables independently of the other database table, wherein the modification of the data occurs by copying the one of the plurality of files to a duplicate file, modifying the data in the duplicate file, and updating a metadata mapping between the duplicate file and the database table associated with the modification of the data.

8. The method of claim 1 , wherein the original plurality of database tables comprise a set of tables.

9. The method of claim 1 , wherein the duplicate plurality of database tables is read only.

10. The method of claim 1 , wherein modified data associated with one of the original plurality of database tables and the duplicate plurality of database tables is not visible to the other table.

11. The method of claim 1 , wherein data deleted from one of the original plurality of database tables and the duplicate plurality of database tables remains visible to the other table.

12. The method of claim 1 , wherein inserted data associated with one of the original plurality of database tables and the duplicate plurality of database tables is not visible to the other table.

13. The method of claim 1 , further comprising deleting the original plurality of database tables upon completion of modifying the data associated with the original plurality of database tables.

14. A system, comprising:

one or more storage devices to store a database, wherein an original plurality of database tables of the database store at least some of data in a plurality of files and a first plurality of metadata that summarizes at least some of the data content of at least some of the plurality of files and the database includes a first plurality of schemas; and

one or more processors, operative coupled with the one or more storage devices, to:

create a duplicate plurality of database tables of an original plurality of database tables of a database that includes a first plurality of schemas, the original plurality of database tab[es associated with data without duplicating the data itself by copying metadata of a first plurality of metadata to create a second plurality of metadata for each of the plurality of files and recursively copying the first plurality of schemas to create a second plurality of schemas.

15. The system of claim 14 , wherein the system can determine whether one of the plurality of files needs to be accessed when processing a query without accessing that file from the one or more storage devices using the plurality of metadata.

16. The system of claim 14 , wherein the metadata comprises an inventory of data stored in the data.

17. The system of claim 14 , wherein the original plurality of database tables represent a logical grouping of data.

18. The system of claim 14 , wherein the one or more processors further to modify the data in one of the plurality of files associated with one of the original plurality of database tables and the duplicate plurality of tables independently of the other database table.

19. The system of claim 18 , wherein the modification of the data occurs by copying the one of the plurality of files to a duplicate file, modifying the data in the duplicate file, and updating a metadata mapping between the duplicate file and the database table associated with the modification of the data.

20. The system of claim 18 , wherein the one or processors further to allow modification of the data associated with the original plurality of database tables independently of the duplicate plurality of database tables and without copy of the data itself.

21. The system of claim 20 , wherein modified data associated with the original plurality of database tables is not visible to the duplicate plurality of database tables.

22. The system of claim 20 , wherein modified data associated with the duplicate plurality of database tables is not visible to the original plurality of database tables.

23. The system of claim 14 , wherein the one or more storage devices is separate from the one or more processors.

24. A non-transitory computer-readable medium that, when executed, causes one or more processors to:

create, by the one or more processors, a duplicate plurality of database tables of an original plurality of database tables of a database that includes a first plurality of schemas, the original plurality of database tables associated with data without duplicating the data itself by copying metadata of the first plurality of metadata to create a second plurality of metadata for each of a plurality of files and recursively copying the first plurality of schemas to create a second plurality of schemas, wherein the original plurality of database tables store the data in the plurality of files and the first plurality of metadata that summarizes at least some of the data content of at least some of the plurality of files.

25. The non-transitory computer-readable medium of claim 24 , wherein a system can determine whether one of the plurality of files needs to be accessed when processing a query without accessing that file from the one or more storage devices using the plurality of metadata.

26. The non-transitory computer-readable medium of claim 24 , wherein the one or processors further to allow modification of the data in one of the plurality of files associated with one of the original plurality of database tables and the duplicate plurality of database tables independently of the other database table, wherein the allowing of the modification of the data occurs by copying the one of the plurality of files to a duplicate file, modifying the data in the duplicate file, and updating a metadata mapping between the duplicate file and the database table associated with the modification of the data.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 15, 2022
From: MOTIVALA, ASHISH; DAGEVILLE, BENOIT
To: SNOWFLAKE COMPUTING INC.
Reel/Frame 061780/0788 →
CHANGE OF NAME Recorded Nov 15, 2022
From: SNOWFLAKE COMPUTING INC.
To: SNOWFLAKE INC.
Reel/Frame 061948/0779 →
Continuity (7)
Continuation 17207508 · Mar 19, 2021
Continuation 16953315 · Nov 19, 2020
Continuation 16741693 · Jan 13, 2020
Continuation 15171859 · Jun 2, 2016
Continuation In Part 14518884 · Oct 20, 2014
Provisional Application 61941986 · Feb 19, 2014
Related Publication 20220292111A1 · Sep 15, 2022