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
thedifference.
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