Cloning catalog objects
AssigneeSnowflake Inc.
InventorsAshish Motivala, Benoit Dageville
Life of this patent
Estimating the term…
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.
Claims26
A method comprising:
- creating, by one or more processors, a duplicate plurality of database tables of the original plurality of database tables associated with the data without copying the data itself by copying metadata of the 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, wherein the original plurality of database tables store the 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.
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 the 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 the original plurality of database tables associated with the 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 the plurality of files and recursively copying the first plurality of schemas to create a second plurality of schemas.
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 the original plurality of database tables associated with the 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 the 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 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.
Dependencies are inferred from the claim text.