Re: Improve pg_stat_statements scalability
Lukas Fittl <lukas@fittl.com>
From: Lukas Fittl <lukas@fittl.com>
To: Sami Imseih <samimseih@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2026-05-23T01:15:00Z
Lists: pgsql-hackers
On Thu, May 21, 2026 at 9:38 PM Lukas Fittl <lukas@fittl.com> wrote: > > On Mon, May 11, 2026 at 4:54 PM Sami Imseih <samimseih@gmail.com> wrote: > > pg_stat_statements has well-known scaling problems under > > high concurrency. This patch series is an initial proposal > > for how to $SUBJECT. > > Agreed. Let's fix this for Postgres 20. > > Thank you for putting together initial patches! For archive's sake and others reading along, we had a productive discussion about this today at PGConf.Dev. I've created a new wiki page combining the prior 2025 discussion, and notes from today: https://wiki.postgresql.org/wiki/Scalability_of_pg_stat_statements Thanks, Lukas -- Lukas Fittl