Interview practice question
Nightly MERGE taking hours
Data Engineering · Databricks · Experienced
A nightly MERGE of 50 million changed rows into a 10 TB Delta table takes 4 hours. How do you speed it up?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Check how many files the merge reads and rewrites.
- Add target predicates to limit to affected dates or partitions.
- Liquid clustering on the merge key or date.
- Deletion vectors reduce rewrites.
- Deduplicate source and use Photon.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.