SpinTheMic
Pro

Interview practice question

Queries slow on a streaming-fed table

Data Engineering · Databricks · Beginner

A Delta table fed by a streaming job has become slow to query. You see it has hundreds of thousands of small files. What do you do?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Frequent small streaming writes create many small files.
  • Run OPTIMIZE to compact them.
  • Enable optimized writes and auto compaction.
  • Use predictive optimization on managed tables.
  • Use longer triggers if latency allows.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics