public inbox for [email protected]
help / color / mirror / Atom feedFrom: Laurenz Albe <[email protected]>
To: Ghiurea, Isabella <[email protected]>
To: [email protected] <[email protected]>
Subject: Re: Re: DB size value different than "/data" dir size
Date: Wed, 13 Aug 2025 07:09:21 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>
On Mon, 2025-08-11 at 14:13 +0000, Ghiurea, Isabella wrote:
> I believe this is related to VACUUM FULL behavior in a streaming replication cfg ,
> for the standby server the space is not been reclaimed , But the sieze of db reported
> with pg_pretty_db_size is identical on both db size but is not the actual sum of
> /var/lib/pgsql/data1 files +dir size on the active PG were vacuum full reclaim the space.
>
> Is this a normal behavior in PG with reporting incorrect db size if vacuum full has
> not reclaim the OS disk space on both server?
VACUUM (FULL) will also reclaim the size on the standby.
There can be some delay in the case of a replication conflict.
Yours,
Laurenz Albe
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]
Subject: Re: Re: DB size value different than "/data" dir size
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