public inbox for [email protected]  
help / color / mirror / Atom feed
From: Laurenz Albe <[email protected]>
To: Raj <[email protected]>
Cc: Pgsql-admin <[email protected]>
Subject: Re: Size of /pgdata
Date: Wed, 17 Jun 2026 13:34:23 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAJk5AtarTco=DXJw8qDOe_CET5hUApb-aEJr5xL2pEAFgnsdNQ@mail.gmail.com>
References: <CAJk5Atb1v7=x-wsS-tL7Lxs7yXQy8Ng-GhXG+zzZ1gVAx=Xzjw@mail.gmail.com>
	<[email protected]>
	<CAJk5AtburOY2ugaH-6+8OHgOBwyyaq1V3LLozCAf57c5jtmR+w@mail.gmail.com>
	<[email protected]>
	<CAJk5AtZfFBqLfKyz7rAqJOXT0ZvEXna19wMn==YCin-PLUGiXw@mail.gmail.com>
	<[email protected]>
	<CAJk5AtZQ-4Wg0vnYLO5BJJntMG1oBEmvediAYQKXj0OL6MsOww@mail.gmail.com>
	<[email protected]>
	<CAJk5AtarTco=DXJw8qDOe_CET5hUApb-aEJr5xL2pEAFgnsdNQ@mail.gmail.com>

On Wed, 2026-06-17 at 11:47 +0530, Raj wrote:
> The file count is same between them..but the file size varies.
> 
> For example, assume node1 has issue and node2 is clean.
> 
> 1. On both nodes file count is 76
> 2. File size varies for some of them
> 
> Each files are either 1GB or 2GB and some or them are 1.2gb or 1.5gb or between 1-2gb ....by looking at files..
>  In the problematic node, some of the 1gb files in node2  shows 2GB in node1...and also file size differences. making the difference.

That is highly suspicious.

What do you get if you run

  SHOW segment_size;

Unless you built PostgreSQL yourself after changing the segment size,
it should be 1GB.  But then it would be impossible for some segment
to be bigger than 1GB.

Are you using some weird file system that reports file sizes wrongly?

What does "ls -l" on one of these big files show?

Yours,
Laurenz Albe






view thread (20+ 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: Size of /pgdata
  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