Database / Snowflake Interview Questions
What is Fail-safe in Snowflake and how does it differ from Time Travel?
Fail-safe is an additional 7-day data protection period that begins after a table's Time Travel retention window expires. It is Snowflake's last-resort disaster recovery safety net — but unlike Time Travel, it is not accessible to customers directly. Only Snowflake Support personnel can initiate a Fail-safe recovery, and only for genuine disaster scenarios.
| Dimension | Time Travel | Fail-safe |
|---|---|---|
| Who can access | The account owner / any authorized user | Snowflake Support only |
| Retention duration | 0–90 days (configurable per object) | Fixed 7 days (not configurable) |
| Trigger | AT/BEFORE syntax; UNDROP command | Support ticket to Snowflake |
| Use case | Accidental DML recovery, cloning, historical analysis | Data centre-level disaster recovery |
| Applies to | Permanent tables, schemas, databases | Permanent tables only |
| Transient/temp tables | 0 or 1 day | 0 days (no Fail-safe) |
| Storage cost | Yes — old micro-partitions billed | Yes — same rate as active storage |
A practical implication: after you drop a table and the Time Travel window closes, you cannot recover it yourself. If the data is critical, open a Snowflake Support case within the 7-day Fail-safe window before it expires permanently.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
