| From: | David Rowley <dgrowleyml(at)gmail(dot)com> |
|---|---|
| To: | Nathan Bossart <nathandbossart(at)gmail(dot)com>, Peter Eisentraut <peter(at)eisentraut(dot)org> |
| Cc: | PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Should we add timing output to pg_upgrade? |
| Date: | 2026-12-01 21:08:24 |
| Message-ID: | CAApHDvrCHmLt67AHaxFLJP0PiqH1iVOOqHLQ9oVUovow9Ed1pA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Wed, 2 Dec 2026 at 04:09, Nathan Bossart <nathandbossart(at)gmail(dot)com> wrote:
> Your LLM may have been inspired by my patches from 2023:
>
> https://postgr.es/m/flat/20230727235134.GA3658499%40nathanxps13
Thanks. I wasn't aware of that thread. I saw some objections from
Peter E saying that not many would find it useful.
IMO, anyone running pg_upgrade on their production database has their
database offline and probably wants as much detail as possible about
what is currently happening and how long previous steps took, in the
hope that's some sort of indication of how long future ones might take
(which it's probably not).
For me, I don't think hiding it behind some --debug or --verbose
option is that useful. How often are people really looking at this
output? I'd welcome actionable reports about pg_upgrade slowness, and
I feel like we're more likely to receive actionable information with
the timing on by default. We all work hard on new features for the
next version of Postgres. If easing the pain of upgrading to that
version encourages more people to use the latest version, then our
work has more value.
The format I used is very small for short and therefore uninteresting
times. Longer times are more important and take up more space and
therefore stand out more. That's all by design.
I've added Peter here to confirm if his point of view still stands.
David
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Zsolt Parragi | 2026-12-01 21:18:01 | Re: [PATCH] pgcrypto: Fix sha-crypt rounds= values that do not fit in int (BUG #19743) |
| Previous Message | Baji Shaik | 2026-12-01 21:03:00 | Re: [PATCH] pageinspect: validate line pointers before using them |