Interview practice question
Staging tables costing too much storage
Data Engineering · Snowflake · Beginner
Storage cost is high, and you notice most of it is Time Travel and Fail-safe on staging tables that are truncated and reloaded daily. What do you change?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Make staging tables transient, which removes Fail-safe.
- Set DATA_RETENTION_TIME_IN_DAYS to 0 or 1 for these tables.
- Check TABLE_STORAGE_METRICS to confirm where bytes are going.
- Keep permanent tables only for data you can't rebuild.
- Changing type requires recreating the table.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.