PostgreSQL 19 adds streaming reads for GIN VACUUM cleanup. On Azure Database for PostgreSQL with 16 GiB of shared_buffers, median cleanup speedups over 18.6 were 1.27x for a 21.30 GiB GIN index and 2.20x for a 26.62 GiB index. Smaller indexes finished in under a second.
Brief · Based on the source excerpt
Why It MattersWhen assessing PostgreSQL 19’s GIN cleanup gains, whether the index fits in shared buffers is more informative than table row count alone.
Neon says Lakebase Postgres checks the compute node’s local cache first, then pageserver local NVMe, reaching object storage only when the data is absent from both.
Why It MattersNeon uses production read statistics to show how Lakebase’s tiered caches keep object storage off the query path while supporting stateless compute.
Tomas Vondra’s experiments estimate random_page_cost at about 25–35 on local SSDs, far above the default 4. 0, with an even larger gap on Azure remote SSDs.
Why It MattersThe experiments quantify how random_page_cost diverges from real I/O behavior and connect GUC tuning with caching, prefetching, and planner cost-model improvements.