Report runtimes in pg_upgrade verbose mode

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Report runtimes in pg_upgrade verbose mode
Date: 2024-06-19 14:50:59
Message-ID: 46C8C49B-87DD-4C4C-8FE5-026DCE4A1397@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

When doing performance hacking on pg_upgrade it's often important to see
individual runtimes to isolate changes. I've written versions of the attached
patch numerous times, and I wouldn't be surprised if others have done the same.
Is there any interest in adding something like the attached to pg_upgrade? The
patch needs some cleaning and tidying up but I wanted to to gauge interest
before investing time. I've added it to verbose mode mainly since it's not
really all that informative for regular users I think.

--
Daniel Gustafsson

Attachment Content-Type Size
0001-Report-runtime-for-steps-in-pg_upgrade-verbose-mode.patch application/octet-stream 2.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Srirama Kucherlapati 2024-06-19 14:55:47 RE: AIX support
Previous Message Tomas Vondra 2024-06-19 14:34:52 suspicious valgrind reports about radixtree/tidstore on arm64