public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: pg_upgrade: can I use same binary for old & new?
Date: Sat, 05 Jul 2025 14:30:20 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>
[email protected] writes:
> On Sat, 5 Jul 2025 11:11:32 -0700 Adrian Klaver wrote:
>> How did you measure above?
> # du -sb /var/lib/pgsql/data
> 8227910662297 /var/lib/pgsql/data
It's likely that there's a deal of bloat in that. Even if there's not
much bloat, this number will include indexes and WAL data that don't
appear in pg_dump output.
>> What was the pg_dump command?
> Didn't try given:
> $ df /mnt/db
> Filesystem Size Used Avail Use% Mounted on
> /dev/sdh1 17T 13T 3.0T 82% /mnt/db
I'd say give it a try; be sure to use one of the pg_dump modes
that compress the data.
regards, tom lane
view thread (4+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: pg_upgrade: can I use same binary for old & new?
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox