Interview practice question
Extracting 500 million rows nightly
Data Engineering · Python · Experienced
A Python job extracts a 500 million row table from an Oracle database every night and takes 9 hours. How do you redesign it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Full nightly extracts of huge tables don't scale.
- Switch to incremental extraction using a watermark or CDC.
- Parallelize by partition or key ranges for the initial load.
- Use bulk fetch sizes and write Parquet in batches.
- Measure source impact and coordinate with the DBA.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.