Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id 454C62E00DB for ; Thu, 17 Apr 2008 21:18:43 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 03524-01-2 for ; Thu, 17 Apr 2008 21:18:31 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by developer.postgresql.org (Postfix) with ESMTP id 854ED2E0054 for ; Thu, 17 Apr 2008 21:18:08 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m3I0I5fb002243; Thu, 17 Apr 2008 20:18:05 -0400 (EDT) To: "Bhella Paramjeet-PFCW67" cc: pgsql-admin@postgresql.org, "Subbiah Stalin-XCGF84" Subject: Re: Vacuumdb error In-reply-to: References: Comments: In-reply-to "Bhella Paramjeet-PFCW67" message dated "Thu, 17 Apr 2008 19:21:47 -0400" Date: Thu, 17 Apr 2008 20:18:05 -0400 Message-ID: <2242.1208477885@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/187 X-Sequence-Number: 28951 "Bhella Paramjeet-PFCW67" writes: > We have our production postgres 8.0.10 database running on linux x86_64 > machine. Recently we have started getting an error from one of our > database while running vacuumdb. We are not getting this error during > backups just only during vacuuming of a database. Can anyone please help > us figure out why we are getting this error and how we can get rid of > it. Any help will be appreciated. > Here is the error: > tst_021 ERROR: invalid page header in block 8 of relation > "securityevent_pkey" Well, since it's just an index, you should be able to fix it by reindexing. But I'd worry a bit about what caused the corruption. 8.0.10 is not exactly current --- you should update to 8.0.latest. And running some memory and disk diagnostics might not be wasted effort. regards, tom lane