US10534793B2ActiveUtilityA1

Cloning catalog objects

75
Assignee: SNOWFLAKE INCPriority: Feb 19, 2014Filed: Jun 2, 2016Granted: Jan 14, 2020
Est. expiryFeb 19, 2034(~7.6 yrs left)· nominal 20-yr term from priority
G06F 9/4881G06F 16/24532G06F 16/2456G06F 16/951G06F 16/1827G06F 16/211G06F 16/24545G06F 9/5016G06F 16/2365G06F 9/5088G06F 16/128G06F 16/9535G06F 9/5083G06F 16/24552G06F 16/2471G06F 16/221H04L 67/1095G06F 16/148G06F 9/5044H04L 67/1097G06F 16/27H04L 67/2842G06F 16/283G06F 16/254H04L 67/568G06F 16/273G06F 16/9538A61F 5/566
75
PatentIndex Score
0
Cited by
107
References
31
Claims

Abstract

Example systems and methods for cloning catalog objects are described. In one implementation, a method identifies an original catalog object associated with a set of data and creates a duplicate copy of the original catalog object without copying the data itself. The method allows access to the set of 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

exact text as granted — not AI-modified
The invention claimed is: 
     
       1. A system comprising:
 means for identifying a catalog object in a database comprising data stored in files, wherein the files cannot be updated or modified; 
 means for creating a duplicate copy of the catalog object without copying the data itself; 
 means for modifying at least one of the files of the catalog object by recreating the at least one of the files; 
 means for executing data access requests directed to the data stored in the files by reading the duplicate copy of the catalog object when the at least one of the files is being recreated; 
 means for adding additional files to either of the catalog object or the duplicate copy of the catalog object independently of another; and 
 means for deleting the duplicate copy of the catalog object upon completion of modifying the at least one of the files of the catalog object. 
 
     
     
       2. The system of  claim 1 , wherein the means for creating a duplicate copy of the catalog object further comprises means for copying metadata associated with the data stored in the files. 
     
     
       3. The system of  claim 2 , wherein the means for copying metadata further comprises means for copying an inventory of the data stored in the files. 
     
     
       4. The system of  claim 2 , wherein the means for copying metadata further comprises means for copying information regarding the data stored in the files that enables identification of the data stored in the files without requiring access to the data. 
     
     
       5. The system of  claim 1 , wherein the means for identifying a catalog object in a database comprises means for identifying a logical grouping of data in the database. 
     
     
       6. The system of  claim 1 , wherein the means for identifying a catalog object comprises means for identifying one of a table, a database, a schema, an account, a constraint, a file format, a function, a role, a sequence, a stage, a column, a user, or a volume. 
     
     
       7. The system of  claim 1 , wherein the means for modifying at least one of the files of the catalog object further comprises means for modifying such that modified data is not visible to the duplicate copy of the catalog object. 
     
     
       8. The system of  claim 1 , wherein the means for modifying at least one of the files of the catalog object further comprises means for modifying such that modified data is not visible to the catalog object in the database. 
     
     
       9. A system for cloning objects within a database, the system comprising:
 a storage platform configured to store original objects associated with a set of data; and 
 a resource manager configured to:
 identify a catalog object in the database, the catalog object comprising data stored in files, wherein the files cannot be updated or modified; 
 create a duplicate copy of the catalog object without copying the data itself; 
 allow modification of at least one of the files of the catalog object by recreating the at least one of the files; 
 assign tasks for executing data access requests directed to the data stored in the files, the tasks comprising reading the duplicate copy of the catalog object when the at least one of the files is being recreated; 
 add additional files to either of the catalog object or the duplicate copy of the catalog object independently of another; and 
 delete the duplicate copy of the catalog object upon completion of modification of the at least one of the files of the catalog object. 
 
 
     
     
       10. The system of  claim 9 , wherein the resource manager is further configured to copy metadata associated with the data stored in the files. 
     
     
       11. The system of  claim 10 , wherein the metadata includes an inventory of the data stored in the files. 
     
     
       12. The system of  claim 10 , wherein the metadata identifies information regarding the data stored in the files such that the data stored in the files can be identified without reading the data itself. 
     
     
       13. The system of  claim 9 , wherein the catalog object comprises a logical grouping of data in the database. 
     
     
       14. The system of  claim 9 , wherein the catalog object comprises one or more of a table, a database, a schema, an account, a constraint, a file format, a function, a role, a sequence, a stage, a column, a user, or a volume. 
     
     
       15. The system of  claim 9 , wherein modification of the at least one of the files comprises modifying such that modified data is not visible to the duplicate copy of the catalog object. 
     
     
       16. The system of  claim 9 , wherein modification of the at least one of the files comprises modifying such that modified data associated with the duplicate objects is not visible to the catalog object in the database. 
     
     
       17. A method comprising:
 identifying a catalog object in a database, the catalog object comprising data stored in files, wherein the files cannot be updated or modified; 
 creating a duplicate copy of the catalog object without copying the data itself; 
 modifying at least one of the files of the catalog object by recreating the at least one of the files; 
 executing data access requests directed to the data stored in the files by reading the duplicate copy of the catalog object when the at least one of the files is being recreated; 
 adding additional files to either of the catalog object or the duplicate copy of the catalog object independently of another; and 
 deleting the duplicate copy of the catalog object upon completion of modifying the at least one of the files of the catalog object. 
 
     
     
       18. The method of  claim 17 , wherein creating a duplicate copy of the catalog object further comprises copying metadata associated with the data stored in the files. 
     
     
       19. The method of  claim 18 , wherein creating a duplicate copy of the catalog object further comprises copying an inventor of the data stored in the files. 
     
     
       20. The method of  claim 18 , wherein the metadata comprises information about the data stored in the files such that the data stored in the files can be identified without reading the data itself. 
     
     
       21. The method of  claim 17 , wherein identifying the catalog object comprises identifying a logical grouping of data in a data in the database. 
     
     
       22. The method of  claim 17 , wherein identifying the catalog object comprises identifying one or more of a table, a database, a schema, an account, a constraint, a file format, a function, a role, a sequence, a stage, a column, a user, or a volume. 
     
     
       23. The method of  claim 17 , wherein creating the duplicate copy of the catalog object comprises creating the duplicate copy such that the duplicate copy is read only. 
     
     
       24. The method of  claim 17 , wherein modifying the at least one of the files of the catalog object comprises modifying such that modified data is not visible to the duplicate copy of the catalog object. 
     
     
       25. The method of  claim 17 , wherein modifying the at least one of the files of the catalog object comprises modifying such that modified data is not visible to the catalog object in the database. 
     
     
       26. The method of  claim 17 , wherein creating the duplicate copy of the catalog object comprises creating the duplicate copy such that the data deleted from the data stored in the files remains visible to the duplicate copy of the catalog object. 
     
     
       27. The method of  claim 17 , wherein creating the duplicate copy of the catalog object comprises creating such that data deleted from the duplicate copy of the catalog object remains visible to the data stored in the files of the database. 
     
     
       28. The method of  claim 17 , wherein modifying the at least one of the files of the catalog object comprises modifying such that data added to the data stored in the files is not visible to the duplicate copy of the catalog object. 
     
     
       29. The method of  claim 17 , further comprising modifying the duplicate copy of the catalog object such that data inserted into the duplicate copy of the catalog object is not visible to the data stored in the files of the database. 
     
     
       30. The method of  claim 17 , further comprising deleting data originally stored in the files upon completion of modifying the at least one of the files of the catalog object. 
     
     
       31. The method of  claim 17 , wherein creating the duplicate copy of the catalog object further comprises updating a duplicate hierarchy of all generations of children.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.