Re: Add parallel columns for seq scan and index scan on pg_stat_all_tables and _indexes

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Alena Rybakina <a(dot)rybakina(at)postgrespro(dot)ru>, Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Add parallel columns for seq scan and index scan on pg_stat_all_tables and _indexes
Date: 2024-11-11 08:34:57
Message-ID: CAECtzeW0rsVcwvKQjzcoH0GjTZJJK4pw5+DWMZi4pYWkw2uU2Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Le lun. 11 nov. 2024 à 03:05, Michael Paquier <michael(at)paquier(dot)xyz> a
écrit :

> On Tue, Oct 08, 2024 at 06:24:54PM +0300, Alena Rybakina wrote:
> > yes, I agree with you. Even when I experimented with vacuum settings for
> > database and used my vacuum statistics patch [0] for analyzes , I first
> > looked at this change in the number of blocks or deleted rows at the
> > database level,
> > and only then did an analysis of each table and index.
> >
> > [0] https://commitfest.postgresql.org/50/5012/
>
> As hinted on other related threads like around [1], I am so-so about
> the proposal of these numbers at table and index level now that we
> have e7a9496de906 and 5d4298e75f25.
>
> In such cases, I apply the concept that I call the "Mention Bien" (or
> when you get a baccalaureat diploma with honors and with a 14~16/20 in
> France). What we have is not perfect, still it's good enough to get
> a 14/20 IMO, making hopefully 70~80% of users happy with these new
> metrics. Perhaps I'm wrong, but I'd be curious to know if this
> thread's proposal is required at all at the end.
>
>
I agree with you. We'll see if we need more, but it's already good to have
the metrics already commited.

> I have not looked at the logging proposal yet.
>
>
I hope you'll have time to look at it. It seems to me very important to get
that kind of info in the logs.

Thanks again.

> [1]: https://www.postgresql.org/message-id/Zywxw7vqPLBfVfXN@paquier.xyz
> --
> Michael
>

--
Guillaume.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message jian he 2024-11-11 08:59:12 clean up create|alter domain stmt incompatiable constraint error case and add regression test
Previous Message Li, Yong 2024-11-11 08:20:35 Re: Proposal to add page headers to SLRU pages