Hi Alkis, +1 to removing to 8KB recommendation. Size should vary depending on value size or data type or workload type. But to avoid writers from writing really large or super small pages thus hampering performance/size, it would be good to explain the tradeoff well.
Thanks Russell, for the table. I've never come across such small pages in workloads. Best Prateek On Mon, Nov 16, 2026 at 10:40 AM Divjot Arora via dev < [email protected]> wrote: > +1 to increasing this recommendation. Maybe we should add some context on > when to choose different page sizes rather than just an absolute value > (e.g. larger page sizes would be better when using object storage). > > Best, > Div > > On Mon, Nov 16, 2026 at 7:38 PM Russell Spitzer <[email protected] > > > wrote: > > > That sounds reasonable, especially if we don't already follow this in the > > existing implementations. From my research, that text only existed for > > about a month before parquet-java changed its default to 1mb.get me > > > > History > > > > Feb 1 - 2013 - Introduces the 8kb default > > < > > > https://github.com/apache/parquet-java/commit/17271e7299de20b95b88140753b6e6685ecf7c6e > > > > > Mar 12 - 2013 - Changed to 1 MB > > < > > > https://github.com/apache/parquet-java/commit/7bd223aba6584ea4caa3b40180c2c414be9e185f#diff-2d78ff0308e7e20d44fbdc1f645175b6e6fb9e8babb3255166e08fd52ff17a84R54 > > > > > > > Previous Discussions > > > > Zoltan Ivanfi raises this same point (Why is the default 1mb if we > > recommend 8klb) > > <https://lists.apache.org/thread/244sh3j5st17cq92m89zh7m6p2ljovs3> - > > https://issues.apache.org/jira/browse/PARQUET-1190 > > Antoine Pitrou raises the same question again > > <https://www.mail-archive.com/[email protected]/msg25395.html> - > Jan > > Fanis noted there that even this default is rarely reached because we > also > > have a 20k row cap per page. > > > > Claude built a table of implementations and their defaults > > > > > > > +------------------------------+-----------------------+-------------------------------------------+ > > | Implementation | Default page size | Notes > > | > > > > > +------------------------------+-----------------------+-------------------------------------------+ > > | parquet-java (this repo) | 1 MiB | Also 20,000-row > > cap, usually hit first | > > | Arrow C++ / parquet-cpp | 1 MiB | > > | > > | arrow-rs (Rust) | 1 MiB | > > | > > | Iceberg | 1 MiB | > > write.parquet.page-size-bytes; | > > | | | also 20,000-row > > cap | > > | DuckDB | 1 MiB | Row groups > default > > to 122,880 rows | > > | Polars | 1 MiB | Row groups > default > > to 262,144 rows | > > | Impala | 64 KiB | > > | > > > > > +------------------------------+-----------------------+-------------------------------------------+ > > > > On Mon, Nov 16, 2026 at 12:20 PM Alkis Evlogimenos via dev < > > [email protected]> wrote: > > > > > 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/ > > > > > >
