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.
Claims24
A system, comprising:
- one or more storage devices to store an original database table associated with data, wherein the original database table stores 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
- one or more processors, operatively coupled with the one or more storage devices, to:
- create a duplicate database table of the original database table 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,
- modify a piece of data in the duplicate database table by modifying the piece of data in a duplicate one of the plurality of files, and
- update the second plurality of metadata to reference the duplicate one of the plurality of files.
A method comprising:
- identifying an original database table associated with data, wherein the original database table stores 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;
- creating, by one or more processors, a duplicate database table of the original database table 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;
- modifying a piece of data in the duplicate database table by modifying the piece of data in a duplicate one of the plurality of files;
- and
- updating the second plurality of metadata to reference the duplicate one of the plurality of files.
A non-transitory computer-readable medium that, when executed, causes one or more processors to:
- identify an original database table associated with data, wherein the original database table stores 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;
- create, by the one or more processors, a duplicate database table of the original database table 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;
- modify a piece of data in the duplicate database table by modifying the piece of data in a duplicate one of the plurality of files;
- and
- update the second plurality of metadata to reference the duplicate one of the plurality of files.
Dependencies are inferred from the claim text.