Re: Urgent !!!! Tables inaccessible postgres v17.6

From: mahamood hussain <hussain(dot)ieg(at)gmail(dot)com>
To: Licio Matos <licio(dot)matos(at)gmail(dot)com>
Cc: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, Ron Johnson <ronljohnsonjr(at)gmail(dot)com>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Urgent !!!! Tables inaccessible postgres v17.6
Date: 2026-08-10 04:23:24
Message-ID: CAGc_7H=2dSUP93B4hf21mDHbY-_U8AjHwQ0jiFbwcvcQaYS6JQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

We were using Premium SSD v2, which Microsoft states provides 99.999999999%
durability. However, given the corruption issue we encountered, I’m not
fully confident in the storage layer.

The corrupted page was a heap/table page, not an index page.

For recovery, I restored the database backup on a temporary server and
performed a roll-forward until it caught up with production. I then
exported the recovered table data, imported it into production, and
replaced the corrupted table with the recovered copy.

I have not dropped the original corrupted table yet. I have kept it renamed
for now so that we can investigate the corruption further and try some of
the other recommended recovery methods before removing it.
On Sat, Aug 8, 2026 at 3:38 AM Licio Matos <licio(dot)matos(at)gmail(dot)com> wrote:

>
> Have you try to check these blocks are table related or index related?
>
> You are counting, could be a index corrupted.
>
> Try this:
>
> SELECT relname, relkind
> FROM pg_class
> WHERE pg_relation_filepath(oid) LIKE '%447758%';
>
> Licio Matos
>
> Em sex., 7 de ago. de 2026 às 18:56, Laurenz Albe <
> laurenz(dot)albe(at)cybertec(dot)at> escreveu:
>
>> On Thu, 2026-08-06 at 19:57 +0530, mahamood hussain wrote:
>> > The database is hosted on Azure Premium SSD v2, using four striped
>> disks.
>> >
>> > >
>> > > > prod=# SELECT count(*) FROM schema.tablename;
>> > > >
>> > > > WARNING: page verification failed, calculated checksum 50897 but
>> expected 50048
>> > > > ERROR: invalid page in block 696770 of relation base/16388/447758
>>
>> Looks like Microsoft's storage is not reliable.
>>
>> Yours,
>> Laurenz Albe
>>
>>
>>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message ek ek 2026-08-10 11:49:08 Pg_replay and pgshark
Previous Message Koen De Groote 2026-08-08 15:06:05 Re: PostgreSQL 14 standby recovery stuck in archive recovery state