From: Jerry Sievers <gsievers19@comcast.net>
To: lalit jangra <lalit.j.jangra@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Getting invalid page header in block while vacuuming PostgreSQL DB.
Date: Mon, 01 Sep 2014 12:57:17 -0500
Message-ID: <86d2bfgr5u.fsf@jerry.enova.com> (raw)
In-Reply-To: <CANWCqG5BggxqVVEhFuLRYcKGD1Q5LdbRjGPk7h5zoHH1An+MBA@mail.gmail.com>
References: <CANWCqG5BggxqVVEhFuLRYcKGD1Q5LdbRjGPk7h5zoHH1An+MBA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
lalit jangra <lalit.j.jangra@gmail.com> writes:
> Hi,
>
> I am using PostgreSQL 9.2 and while trying to vacuum db named mcfdb3, i am getting below error.
>
> DETAIL: 0 index row versions were removed.
>
> 110 index pages have been deleted, 110 are currently reusable.
>
> CPU 0.02s/0.00u sec elapsed 0.03 sec.
>
> INFO: index "i1409226645953" now contains 374682 row versions in 3267 pages
>
> DETAIL: 0 index row versions were removed.
>
> 1436 index pages have been deleted, 1436 are currently reusable.
>
> CPU 0.01s/0.00u sec elapsed 0.01 sec.
>
> vacuumdb: vacuuming of database "mcfdb3" failed: ERROR: invalid page header in block 15871 of relation base/17148/30976
Start by looking up that relfilenode in pg_class of the involved DB to
see if it's a table or index relation that's corrupt.
If per chance this is an index than rebuilding same may be all that's needed.
>
> DETAIL: 0 index row versions were removed.
>
> 110 index pages have been deleted, 110 are currently reusable.
>
> CPU 0.02s/0.00u sec elapsed 0.03 sec.
>
> INFO: index "i1409226645953" now contains 374682 row versions in 3267 pages
>
> DETAIL: 0 index row versions were removed.
>
> 1436 index pages have been deleted, 1436 are currently reusable.
>
> CPU 0.01s/0.00u sec elapsed 0.01 sec.
>
> vacuumdb: vacuuming of database "mcfdb3" failed: ERROR: invalid page header in block 15871 of relation base/17148/30976
>
> Please help.
>
> Regards,
> Lalit.
>
--
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres.consulting@comcast.net
p: 312.241.7800
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
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: pgsql-admin@postgresql.org
Cc: gsievers19@comcast.net, lalit.j.jangra@gmail.com
Subject: Re: Getting invalid page header in block while vacuuming PostgreSQL DB.
In-Reply-To: <86d2bfgr5u.fsf@jerry.enova.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox