Interview practice question
Querying old data in S3
Data Engineering · Redshift · Beginner
You want to remove data older than 2 years from Redshift but keep it queryable. How do you do it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- UNLOAD old data to S3 as partitioned Parquet.
- Create an external table in the Glue catalog.
- Query it with Redshift Spectrum.
- Create a view combining recent local data and old external data.
- Delete old data from local tables and vacuum.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.