2025 Time Travel and Fail Safe Flashcards
In a time travel statement, how can you reference the historical data?
TIMESTAMP
OFFSET
STATEMENT
What can the undrop statement be used for
TABLES
SCHEMAS
DATABASES
What table types do not have a Fail-Safe Period
Temporary
Transient
What is the default value of DATA_RETENTION_TIME_IN_DAYS
1
The account setting, MIN_DATA_RETENTION_IN_DAYS does not apply to what objects
Transient
Temporary
External Tables
Materialized Views
Streams
What happens with a table’s retention period is decreased from 20 to 1 day
Data from 2 to 20 days is moved to Fail-safe mode
How can you show dropped objects
With the HISTORY keyword. Example:
SHOW TABLES HISTORY IN SAMPLE_DB.SAMPLE_SCHEMA
How are storage fees calculated for time travel
Calculated for each 24 hour period once data is changed.
Which one takes precendence DATA_RETENTION_IN_DAYS and MIN_DATA_RETENTION_TIME_IN_DAYS
the higher value
When Time Travel is enabled at the Database, Schema,, and table level, what wins?
Table, then schema, then database
A company has a table that has corrupted data, named Data. The company wants to recover the data as it was 5 minutes ago using cloning and Time Travel. What is the SQL
CREATE TABLE Recover_Data CLONE Data AT(OFFSET => -60*5);