Interview practice question
Too many small files in Snowpipe
Data Engineering · Snowflake · Intermediate
An upstream app writes thousands of tiny JSON files per minute to S3, and your Snowpipe costs are high. What would you do?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Snowpipe has per-file overhead, so tiny files are inefficient.
- Ask upstream to batch files to around 100 to 250 MB compressed.
- Use a buffer like Firehose to combine records into larger files.
- Or switch to Snowpipe Streaming or the Kafka connector for row-level streams.
- Measure cost per GB before and after.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.