Before we can control the costs, we need to understand the features driving them. Snowflake provides two distinct mechanisms for historical data recovery: Time Travel and Fail-safe. Though related, they serve different purposes and have vastly different implications for your budget.
How Time Travel Works: Your 90-Day Safety Net
Snowflake Time Travel is a feature that allows you to access and restore historical versions of your data that have been modified or deleted. Think of it as a version control system for your tables. Within a configurable window, you can run queries on data as it existed in the past, restore dropped tables, or clone entire tables from a specific point in time.
The retention period is the key lever here. For Snowflake Standard edition, the default is just one day. For Enterprise and higher editions, however, the retention period can be set anywhere from 1 to 90 days. This extended window provides a powerful safety net for recovering from accidental data deletions or correcting operational errors.
Understanding Fail-safe: The Last Resort for Data Recovery
Fail-safe is a separate, non-configurable recovery period that begins immediately after the Time Travel window ends. It is a 7-day, last-resort safety net designed for disaster recovery scenarios, managed exclusively by Snowflake. You cannot directly query or access data within the Fail-safe window. Data recovery from this state must be initiated through a support request to Snowflake. Its primary purpose is to protect against catastrophic data loss, not for routine operational recovery.
Time Travel vs. Fail-safe: Key Differences at a Glance
It’s crucial to distinguish between these two features, as they have different levels of control and cost impact. A common pitfall we help organizations avoid is confusing the two, leading to misguided assumptions about data retention and costs.
|
Feature
|
Time Travel
|
Fail-safe
|
| Duration |
Configurable, 1 to 90 days (depending on edition) |
Fixed, 7 days |
| Configurability |
Fully user-configurable at multiple levels |
Not configurable; managed by Snowflake |
| Cost Control |
Directly controllable by setting retention policies |
Indirectly impacted by Time Travel but not directly controllable |
| Intended Use Case |
Operational recovery, query history, cloning |
Disaster recovery for critical data loss |