SpinTheMic
Pro

Interview practice question

Millions of small files slowing queries

Data Engineering · Azure · Intermediate

A bronze folder in ADLS has millions of tiny JSON files, and Spark jobs reading it are very slow. How do you fix it?

What a strong answer covers

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

  • Small files cause listing and open overhead.
  • Use Auto Loader to ingest incrementally into Delta.
  • Compact into larger files in bronze Delta tables.
  • Batch writes on the producer side where possible.
  • Archive or delete processed raw files.
Practise this topic

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

See all topics