X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 4005B3134BB for ; Tue, 10 Jun 2003 04:43:03 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 22011-10 for ; Tue, 10 Jun 2003 01:42:52 -0300 (ADT) Received: from smtp.noos.fr (nan-smtp-12.noos.net [212.198.2.83]) by svr1.postgresql.org (Postfix) with ESMTP id 8BA7B31184B for ; Mon, 9 Jun 2003 10:56:44 +0000 (GMT) Received: (qmail 3488027 invoked by uid 0); 9 Jun 2003 10:56:42 -0000 Received: from unknown (HELO gmendola) ([212.198.40.246]) (envelope-sender ) by 212.198.2.83 (qmail-ldap-1.03) with SMTP for ; 9 Jun 2003 10:56:42 -0000 Message-ID: <000a01c32e75$cbfe7c50$10d4a8c0@mm.eutelsat.org> From: "Mendola Gaetano" To: "Bruce Momjian" , Cc: References: <200306090121.h591Lu006161@candle.pha.pa.us> Subject: Re: Diagnose Database Corruption Date: Mon, 9 Jun 2003 12:56:34 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Archive-Number: 200306/89 X-Sequence-Number: 9080 "Bruce Momjian" wrote: > We don't have a checker because if it is corrupt, it will mention > something in the server logs or correct it automatically. Corruption is > very rare, usually hardware flakiness. I agree about the fact that corruption is very rare but sometimes I got a "duplicate primary key" and the only solution was dump the DB, edit the dump and restore the DB. If the dump is uge ( like 400 MB ) is a lot of down time :-( The problem disappeared after removing the reindex on that table scheduled each morning. Regards Gaetano Mendola.