Re: Corruption issue - Mailing list pgsql-admin

From Holger Jakobs
Subject Re: Corruption issue
Date
Msg-id 1D460E80-E3B1-493D-9801-A34DD9657CA2@jakobs.com
Whole thread Raw
In response to Re: Corruption issue  (Dan Smith <j.daniel.smith1@gmail.com>)
Responses Re: Corruption issue
List pgsql-admin
chkdsk is a Windows program, but the original poster wrote her is using Linux.

So, badblocks could be the appropriate program.


Am 22. September 2023 18:55:14 MESZ schrieb Dan Smith <j.daniel.smith1@gmail.com>:
On Fri, Sep 22, 2023, 12:48 PM OS DB2 <opensourcedb2@gmail.com> wrote:
Hi,

In one of the our production database when we are trying to fetch the records from one of the table, we are getting below error.

Compressed data is corrupted

Os - linux
Postgresql version - 9.5

We have restored data somehow using secondary node but still please let me know how we can find out the root cause and avoid such scenarios in future.

Regards,
Nikhil


Recommend running chkdsk and upgrade the cluster (9.5 is EOL).


Best regards,

Dan Smith

pgsql-admin by date:

Previous
From: Dan Smith
Date:
Subject: Re: Corruption issue
Next
From: Matt Gibbins
Date:
Subject: Segmentation fault when running queries in sequence