Time Travel Retention Periods in Snowflake
📖 Scenario: You are managing a Snowflake data warehouse for a retail company. The company wants to keep historical data changes available for recovery and auditing using Snowflake's Time Travel feature.
🎯 Goal: Configure a Snowflake table with a specific Time Travel retention period and verify the configuration.
📋 What You'll Learn
Create a table named
sales_data with columns order_id (integer) and amount (number).Set a Time Travel retention period of 3 days for the
sales_data table.Query the table properties to confirm the retention period is set correctly.
Use valid Snowflake SQL syntax and best practices.
💡 Why This Matters
🌍 Real World
Time Travel retention periods help companies recover data accidentally deleted or changed, ensuring data safety and auditability.
💼 Career
Cloud data engineers and database administrators often configure Time Travel settings to meet business data retention policies.
Progress0 / 4 steps