# US 2022/0292111 A1 · Cloning catalog objects

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0292111 A1
- Document ID: US20220292111A1
- Status: Published application
- Kind: A1
- Application number: 17/832,361
- Filed: 2022-06-03
- Published: 2022-09-15
- Earliest claimed: 2014-02-19
- Assignees: Snowflake Inc.
- Applicants: Snowflake, Inc.
- Inventors: Ashish Motivala; Benoit Dageville
- Web page: https://patentgrep.com/patent/US20220292111A1

## CPC

- G06F 16/273: {Asynchronous replication or reconciliation}
- A61F 5/566: {Intra-oral devices}
- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/5016: {the resource being the memory}
- G06F 9/5044: {considering hardware capabilities}
- G06F 9/5083: {Techniques for rebalancing the load in a distributed system}
- G06F 9/5088: {involving task migration}
- G06F 16/128: {Details of file system snapshots on the file-level, e.g. snapshot creation, administration, deletion (error detection or correction of the data by redundancy in operations or in hardware G06F11/14, G06F11/16)}
- G06F 16/148: {File search processing}
- G06F 16/1827: {Management specifically adapted to NAS (management of storage area networks [SAN] G06F3/067)}
- G06F 16/211: {Schema design and management}
- G06F 16/221: {Column-oriented storage; Management thereof}
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/24532: {of parallel queries}
- G06F 16/24545: {Selectivity estimation or determination}
- G06F 16/24552: {Database cache management}
- G06F 16/2456: {Join operations}
- G06F 16/2471: {Distributed queries}
- G06F 16/254: {Extract, transform and load [ETL] procedures, e.g. ETL data flows in data warehouses}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F 16/283: {Multi-dimensional databases or data warehouses, e.g. MOLAP or ROLAP}
- G06F 16/951: Indexing; Web crawling techniques
- G06F 16/9535: Search customisation based on user profiles and personalisation
- G06F 16/9538: Presentation of query results
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- A61F: FILTERS IMPLANTABLE INTO BLOOD VESSELS; PROSTHESES; DEVICES PROVIDING PATENCY TO, OR PREVENTING COLLAPSING OF, TUBULAR STRUCTURES OF THE BODY, e.g. STENTS; ORTHOPAEDIC, NURSING OR CONTRACEPTIVE DEVICES; FOMENTATION; TREATMENT OR PROTECTION OF EYES OR EARS; BANDAGES, DRESSINGS OR ABSORBENT PADS; FIRST-AID KITS (dental prosthetics A61C)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## 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

### Claim 1

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.

### Claim 2 (depends on 1)

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.

### Claim 3 (depends on 1)

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

### Claim 4 (depends on 1)

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

### Claim 5 (depends on 1)

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.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
allowing access to the data using the duplicate plurality of database tables.

### Claim 7 (depends on 1)

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.

### Claim 8 (depends on 1)

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

### Claim 9 (depends on 1)

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

### Claim 10 (depends on 1)

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.

### Claim 11 (depends on 1)

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.

### Claim 12 (depends on 1)

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.

### Claim 13 (depends on 1)

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.

### Claim 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 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.

### Claim 15 (depends on 14)

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.

### Claim 16 (depends on 14)

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

### Claim 17 (depends on 14)

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

### Claim 18 (depends on 14)

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.

### Claim 19 (depends on 18)

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.

### Claim 20 (depends on 18)

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.

### Claim 21 (depends on 20)

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.

### Claim 22 (depends on 20)

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.

### Claim 23 (depends on 14)

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

### Claim 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 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.

### Claim 25 (depends on 24)

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.

### Claim 26 (depends on 24)

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.
