Skip to content
  1. Microsoft Azure Database for PostgreSQL BlogBenchmarks

    PostgreSQL 19 GIN VACUUM Tested Beyond Shared Buffer Capacity

    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.

  2. Planet PostgreSQLGuides & Cases

    PostgreSQL 19 Developer Guide: Returning Existing Rows with INSERT ON CONFLICT DO SELECT

    PostgreSQL 19’s INSERT … ON CONFLICT DO SELECT returns the existing row on a unique key conflict. A registration example shows why DO NOTHING RETURNING yields no row on conflict and why DO UPDATE returns one only by rewriting it.

    Brief · Based on the source excerpt

    Why It MattersFor get or create operations keyed by a unique value, returning the existing row on conflict avoids both an extra database round trip and a rewrite just to retrieve the row.

  3. Planet PostgreSQLGuides & Cases

    How PostgreSQL Orders Memory Accesses with Barriers, Volatile, and Atomics

    Jan Kristof Nidzwetzki explains PostgreSQL's memory and compiler barrier macros such as pg_memory_barrier(), pg_write_barrier(), pg_read_barrier(), and pg_compiler_barrier(), and why they are needed to stop compiler and CPU reordering from breaking shared-memory code.

    Brief · Based on the source excerpt

    Why It MattersShared-memory code that has long worked on x86 can fail on ARM, so its ordering assumptions need to be checked against the target platform’s memory model.

  4. Nik SamokhvalovBenchmarks
  5. Percona PostgreSQL BlogGuides & Cases

    Percona Maps How glibc Changes Can Break PostgreSQL Clusters

    Percona compares PostgreSQL clusters on Rocky Linux 8. 9 and 9. 3 using the sv_SE locale, showing that glibc changes can affect indexes, constraints, partitions, generated columns, materialized views, and query results.

    Why It MattersThe article maps how glibc locale changes affect indexes, constraints, partitions, and stored results, showing why REINDEX alone is insufficient.

  6. Neon BlogBenchmarks

    Neon Explains Why 99.99999% of Lakebase Reads Avoid Object Storage

    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.

  7. Postgres.fmBenchmarks

    Postgres.fm: The Real Cost of UUIDv4 vs UUIDv7 Primary Keys on Postgres 18

    On Postgres. fm, Nik and Kirk Wolak compare what a random UUIDv4 primary key actually costs against time-ordered UUIDv7 or int8 keys on Postgres 18, covering index size, WAL and full-page writes, and insert rates once the index outgrows memory.

    Why It MattersWhen choosing a primary key, weigh insert throughput after the index outgrows memory alongside index size and full-page write overhead, rather than comparing key widths alone.

  8. Tomas Vondra Postgres BlogBenchmarks

    PostgreSQL random_page_cost Costs More Than the Default Suggests

    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.