Study FAQ
Why can a Snowflake zero-copy clone incur storage costs?
Also asked as 2
- Does a Snowflake zero-copy clone stay free as its data changes?
- How do source and clone changes affect Snowflake storage over time?
Answer
A standard Snowflake table clone is a separate writable object that initially references the same micro-partitions as its source. Creating it avoids an immediate full storage copy. As either object changes, Snowflake writes new micro-partitions and can keep older partitions while another clone still references them. The clone's lifetime cost depends on what changes and how long data remains referenced.
For example, a test clone can keep referencing original partitions after the source is updated. The source's new partitions and the old versions still referenced by the clone can both require storage. Use SNOWFLAKE.ACCOUNT_USAGE.TABLE_STORAGE_METRICS where your role has access to inspect billed storage and RETAINED_FOR_CLONE_BYTES, attributed to the table that generated the bytes. That metric also includes bytes retained for certain locked backups.
For development clones, establish an owner and expiration date, and review grants and data classification before opening access. The cloned rows keep their sensitivity even when storage is shared.
Full explanation
Data Protection with Time Travel, Fail-safe, and Zero-copy Cloning
Study guide · COF-C03
Read the full explanation