COF-C02 · Question #42
What is the recommended file sizing for data loading using Snowpipe?
The correct answer is C. A compressed file size greater than 10 MB, and up to 100 MB. Snowflake recommends that files loaded via Snowpipe be between 10 MB and 100 MB in compressed size. Files in this range balance the overhead cost of initiating a Snowpipe load (which spins up serverless compute) against the throughput benefit of loading larger batches. Files…
Question
What is the recommended file sizing for data loading using Snowpipe?
Options
- AA compressed file size greater than 100 MB, and up to 250 MB
- BA compressed file size greater than 100 GB, and up to 250 GB
- CA compressed file size greater than 10 MB, and up to 100 MB
- DA compressed file size greater than 1 GB, and up to 2 GB
How the community answered
(28 responses)- A7% (2)
- B4% (1)
- C86% (24)
- D4% (1)
Explanation
Snowflake recommends that files loaded via Snowpipe be between 10 MB and 100 MB in compressed size. Files in this range balance the overhead cost of initiating a Snowpipe load (which spins up serverless compute) against the throughput benefit of loading larger batches. Files smaller than 10 MB result in high per-file overhead relative to data volume. Files larger than 100 MB are better suited for bulk loading with COPY INTO rather than continuous micro-batch loading with Snowpipe. Options A, B, and D all have incorrect size thresholds.
Topics
Community Discussion
No community discussion yet for this question.