X-Original-To: pgsql-general@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 24F2C476304 for ; Thu, 10 Apr 2003 12:22:04 -0400 (EDT) Received: from web13901.mail.yahoo.com (web13901.mail.yahoo.com [216.136.175.27]) by postgresql.org (Postfix) with SMTP id D36614762EF for ; Thu, 10 Apr 2003 12:22:02 -0400 (EDT) Message-ID: <20030410162205.24984.qmail@web13901.mail.yahoo.com> Received: from [63.101.156.2] by web13901.mail.yahoo.com via HTTP; Thu, 10 Apr 2003 09:22:05 PDT Date: Thu, 10 Apr 2003 09:22:05 -0700 (PDT) From: Amir Becher Subject: Corrupt index To: pgsql-general@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, hits=-6.6 required=5.0 tests=BAYES_01 version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/634 X-Sequence-Number: 40699 I am experiencing frequent index corruptions (almost daily). The tables have about a million records. I solve the problem by using the REINDEX TABLE command and rerunning my programs. Does anyone know why I might be experiencing these problems? I am using batch mode to insert a few thousand records at a time in order to improve performance - could the index corruption be caused by a bug in the batch mode? Also, is there a way to determine whether an index is corrupt (other than seeing inconsistencies in the data)? I am running PostgreSQL 7.3.1 on Red Hat 8.0. I access and modify the database through Java (using the JDBC driver). __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com