What file sizes does Snowflake recommend for data loading, and why do they matter for performance and cost?

Quick Overview

Asks what file sizes Snowflake recommends for bulk and continuous data loading and why file size changes load speed and cost. Tests understanding of load parallelism across warehouse threads, per-file overhead, error handling for large files, and how to resize input files.

What file sizes does Snowflake recommend for data loading, and why do they matter for performance and cost?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

What are Snowflake's recommendations for file sizing when loading data, and why is this important for performance and cost? ```hint Think about parallelism Consider how many files a warehouse can load at the same time and what happens when a load has fewer files than that. ``` ```hint Per-file costs Some work is done once per file whatever its size. Think about what happens when there are millions of files. ``` ### What a Strong Answer Covers - The recommended file size and whether it refers to compressed or uncompressed data. - How the number and size of files interact with the warehouse's load parallelism. - The problems with very large files, including what happens when a file contains bad rows. - The problems with many tiny files, including continuous loading with Snowpipe. - How file sizing turns into billed compute, and how to fix badly sized input. ### Follow-up Questions - An upstream system drops one 50 GB gzip file each day. How would you load it? - A Snowpipe feed receives thousands of 5 KB JSON files per minute. What would you change? - Does a larger warehouse always load data faster? When does scaling up stop helping? - How do the `ON_ERROR` options of `COPY INTO` interact with file size?

Overview: Asks what file sizes Snowflake recommends for bulk and continuous data loading and why file size changes load speed and cost. Tests understanding of load parallelism across warehouse threads, per-file overhead, error handling for large files, and how to resize input files.

PracHub logo
General
Nov 24, 2026
mediumData ScientistOtherData Manipulation (SQL/Python)
0
0

What are Snowflake's recommendations for file sizing when loading data, and why is this important for performance and cost?

What a Strong Answer Covers Guidance

  • The recommended file size and whether it refers to compressed or uncompressed data.
  • How the number and size of files interact with the warehouse's load parallelism.
  • The problems with very large files, including what happens when a file contains bad rows.
  • The problems with many tiny files, including continuous loading with Snowpipe.
  • How file sizing turns into billed compute, and how to fix badly sized input.

Follow-up Questions Guidance

  • An upstream system drops one 50 GB gzip file each day. How would you load it?
  • A Snowpipe feed receives thousands of 5 KB JSON files per minute. What would you change?
  • Does a larger warehouse always load data faster? When does scaling up stop helping?
  • How do the ON_ERROR options of COPY INTO interact with file size?