
The default 1-day Time Travel setting may be costing you thousands in storage. Learn how to optimize retention periods based on your actual needs.

The default 1-day Time Travel setting may be costing you thousands in storage. Learn how to optimize retention periods based on your actual needs.
Snowflake's default Time Travel retention is 1 day for all tables. Enterprise Edition supports up to 90 days. This means Snowflake stores every version of your data for the retention period, dramatically increasing storage costs.
For tables with frequent updates, Time Travel can double or triple storage costs. A 10TB table with daily updates and 90-day retention could actually consume 40-50TB of storage.
-- Set at table level
ALTER TABLE <table_name> SET DATA_RETENTION_TIME_IN_DAYS = 1;
-- Set at schema level
ALTER SCHEMA <schema_name> SET DATA_RETENTION_TIME_IN_DAYS = 1;
-- Set at database level
ALTER DATABASE <db_name> SET DATA_RETENTION_TIME_IN_DAYS = 1;
A SaaS company with 50TB of production data and 90-day retention across all tables was paying for 180TB of storage. By auditing Time Travel usage and setting appropriate retention periods (0-7 days for most tables), they reduced storage to 65TB, saving $23,000 monthly.
SELECT TABLE_NAME,
BYTES / (1024*1024*1024) AS SIZE_GB,
TIME_TRAVEL_BYTES / (1024*1024*1024) AS TIME_TRAVEL_GB,
FAILSAFE_BYTES / (1024*1024*1024) AS FAILSAFE_GB
FROM INFORMATION_SCHEMA.TABLE_STORAGE_METRICS
ORDER BY TIME_TRAVEL_BYTES DESC;
Uncover hidden inefficiencies and start reducing Snowflake spend in minutes no disruption, no risk.