Track 4 · Recovery, Performance & Cost

Time Travel, Fail-safe & Zero-Copy Cloning

Recover the right data, preserve valid new work and build an isolated environment to understand what went wrong. Follow one orders scenario from a healthy baseline to a verified repair.

Before you begin

12 focused lessons · About 330 minutes for guided study and practice. These are teaching estimates, not measured completion times.

Know table types and SQL, transactions and reliable pipeline design. The first lesson creates a new M14_LAB schema in L2_OBJECTS_LAB. Keep ORDERS unchanged; incident examples use separate disposable objects.

The main path works with ordinary permanent Snowflake tables and one-day retention on Standard Edition or higher. Use an authorized warehouse and a role permitted to create the lab schemas/tables. Optional database clones and usage views require additional privileges. Extended permanent retention requires Enterprise or higher. No SQL runs on this website.

Run each setup once, preserve the incident query IDs, and use one writer. Expected results are derived from the supplied records. Never substitute production names in these deliberate failure exercises.

Begin Module 14 →

The recovery story

Observe the incident

Orders 101 and 103 disappear after a bad DELETE. Identify the statement and inspect the previous state.

Preserve valid work

Order 104 is corrected and 105 arrives afterwards. Restore the missing keys without erasing either change.

Prove the result

Five unique orders total 590. Compare exact fields as well as counts and sums before committing.

Investigate in QA

Keep a historical baseline and change a separate working clone. Verify that the source is unaffected.

Complete curriculum scope

Your lesson path

  1. Lesson 1 · About 22 min

    Recovery starts with evidence, not a restore command

    Build an orders recovery sandbox, understand historical micro-partitions and plan a repair that preserves valid changes after an incident.

    Read, visualize and practise →
  2. Lesson 2 · About 22 min

    Configure retention before you need recovery

    Compare permanent, transient and temporary retention, inspect inherited settings and understand why increasing retention cannot revive expired history.

    Read, visualize and practise →
  3. Lesson 3 · About 25 min

    Choose the right historical boundary: AT and BEFORE

    Use query IDs, typed timestamps and offsets to inspect orders before a deletion, with clear concurrency and historical availability limitations.

    Read, visualize and practise →
  4. Lesson 4 · About 30 min

    Repair accidental deletes without losing new orders

    Recover deleted west-region orders with a frozen incident snapshot, anti-join repair, transaction review and key-level reconciliation.

    Read, visualize and practise →
  5. Lesson 5 · About 28 min

    Recover incorrect updates and truncated data

    Use historical orders to correct one damaged amount, preserve a later status update and recover a truncated table without erasing new rows.

    Read, visualize and practise →
  6. Lesson 6 · About 26 min

    UNDROP tables, schemas and databases safely

    Restore dropped Snowflake tables, schemas and databases, preserve same-name replacements and inspect retention, privileges and historical object identity.

    Read, visualize and practise →
  7. Lesson 7 · About 20 min

    Time Travel and Fail-safe are different recovery promises

    Compare self-service Time Travel with seven-day Fail-safe, table-type protection and production recovery plans for expired historical data.

    Read, visualize and practise →
  8. Lesson 8 · About 22 min

    Zero-copy cloning: a new object sharing existing data

    Create Snowflake table, schema and database clones, distinguish clones from CTAS and understand access, object identity and independent lifecycles.

    Read, visualize and practise →
  9. Lesson 9 · About 20 min

    Copy-on-write: what changes after a clone is edited?

    Observe independent source and clone updates, map conceptual shared partitions and explain why cloning can retain billable historical storage.

    Read, visualize and practise →
  10. Lesson 10 · About 30 min

    Historical Dev/QA clones: isolate data and audit dependencies

    Create historical QA orders, compare table and container clone boundaries and audit grants, views, sequences, tasks, streams and external references.

    Read, visualize and practise →
  11. Lesson 11 · About 25 min

    Measure retained storage and write a recovery runbook

    Inspect Time Travel, Fail-safe and clone-retained storage, diagnose recovery failures and build an incident runbook with clear escalation decisions.

    Read, visualize and practise →
  12. Lesson 12 · About 60 min

    Final lab: recover orders and preserve a historical QA baseline

    Complete an orders incident lab with setup, query-ID evidence, selective repair, exact reconciliation, historical QA cloning and scoped cleanup.

    Read, visualize and practise →

Your final incident lab

Create a fresh orders fixture, simulate loss, capture evidence, build historical QA, repair approved keys, validate exact results and clean up only the disposable lab scopes. Keep your query IDs and observations for manual review.

Open the final recovery lab →

Continue with Module 15 — Query Performance & Optimization. Module 16 — Cost Management & Optimization remains planned. Track 4 is not yet complete.

Return to curriculum →