Re: Major pgbench synthetic SELECT workload regression, Ubuntu 23.04+PG15

From: Gregory Smith <gregsmithpgsql(at)gmail(dot)com>
To: Gurjeet Singh <gurjeet(at)singh(dot)im>
Cc: Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Major pgbench synthetic SELECT workload regression, Ubuntu 23.04+PG15
Date: 2023-06-09 12:52:33
Message-ID: CAHLJuCX9nf_T6DhJV_ohAuCUOS0RGR7YpWBEZNF7a5oVyNnuow@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jun 9, 2023 at 4:06 AM Gurjeet Singh <gurjeet(at)singh(dot)im> wrote:

> There is no mention of perf or similar utilities in pgbench-tools
> docs. I'm guessing Linux is the primary platform pgbench-tools gets
> used on most. If so, I think it'd be useful to mention these tools and
> snippets in there to make others lives easier.

That's a good idea. I've written out guides multiple times for customers
who are crashing and need to learn about stack traces, to help them becomes
self-sufficient with the troubleshooting parts it's impractical for me to
do for them. If I can talk people through gdb, I can teach them perf. I
have a lot of time to work on pgbench-tools set aside this summer, gonna
finally deprecate the gnuplot backend and make every graph as nice as the
ones I shared here.

I haven't been aggressive about pushing perf because a lot of customers at
Crunchy--a disproportionately larger number than typical I suspect--have
operations restrictions that just don't allow DBAs direct access to a
server's command line. So perf commands are just out of reach before we
even get to the permissions it requires. I may have to do something really
wild to help them, like see if the right permissions setup would allow
PL/python3 or similar to orchestrate a perf session in a SQL function.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Smith 2023-06-09 13:24:31 Re: Use COPY for populating all pgbench tables
Previous Message Daniel Verite 2023-06-09 12:12:36 Re: Order changes in PG16 since ICU introduction