Re: Improve pg_stat_statements scalability - Mailing list pgsql-hackers

From Lukas Fittl
Subject Re: Improve pg_stat_statements scalability
Date
Msg-id CAP53PkyWD99bNwFVv2KibfL4bhm-D78QAnc9UqQQJdtJ3mQWPQ@mail.gmail.com
Whole thread
In response to Re: Improve pg_stat_statements scalability  (Lukas Fittl <lukas@fittl.com>)
Responses Re: Improve pg_stat_statements scalability
Re: Changing shared_buffers without restart
List 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



pgsql-hackers by date:

Previous
From: Chengpeng Yan
Date:
Subject: Re: [PATCH] Fix overflow and underflow in regr_r2()
Next
From: Japin Li
Date:
Subject: Re: Report oldest xmin source when autovacuum cannot remove tuples