Hi all,

The configuration guide [1] recommends 8KB pages. I think we should remove
this recommendation.

8KB is pretty small for compression. Pages are compressed independently, so
small pages limit compression opportunities. They also make page indexes
much larger: for the same data volume, 8KB pages mean roughly 128x as many
entries as 1MB pages. parquet-java, Arrow C++, and Arrow Rust all default
to 1MB page size targets.

Small pages can help selective reads by reducing unnecessary decompression
and decoding. But this is a workload tradeoff, and 8KB seems like a poor
general recommendation.

Should we remove the specific size and explain the tradeoff instead? If
there is support I am happy to send a PR for this doc-only change.

Cheers,

[1] https://parquet.apache.org/docs/file-format/configurations/

Reply via email to