Re: Corruption issue - Mailing list pgsql-admin

From OS DB2
Subject Re: Corruption issue
Date
Msg-id CAM==JREm6C-qvF7bCvoH_Ru5AemXb_Y82e3kGupefVPBf1+T+w@mail.gmail.com
Whole thread Raw
In response to Re: Corruption issue  (OS DB2 <opensourcedb2@gmail.com>)
Responses Re: Corruption issue
List pgsql-admin
What can be the cause of corruption?

On Sun, 24 Sept 2023, 09:56 OS DB2, <opensourcedb2@gmail.com> wrote:
How can I stop it from recurring?

On Sat, 23 Sept 2023, 15:04 Holger Jakobs, <holger@jakobs.com> wrote:
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: Scott Ribe
Date:
Subject: Re: Handling idle connections
Next
From: Laurenz Albe
Date:
Subject: Re: Corruption issue