Snowflake Data Cloud (50 Qs)•Part 1: Architecture, Storage & Virtual Warehouses (1 - 10)
What is Snowflake Zero-Copy Cloning and how does metadata pointer duplication work?
senior LevelMost AskedCode ExampleSystem Design
In Simple Words: Cloning a table, schema, or entire multi-terabyte database creates a new set of metadata pointers referencing the existing micro-partitions.
sql
CREATE TABLE orders_dev CLONE orders_prod;
- Takes seconds regardless of data size.
- Incurs zero additional storage cost until data in either table is modified (Copy-on-Write).