lalit jangra <lalit.j.jangra@xxxxxxxxx> 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@xxxxxxxxxxx p: 312.241.7800 -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin