X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 17615476103 for ; Sat, 1 Feb 2003 14:54:30 -0500 (EST) Received: from sj-msg-core-3.cisco.com (sj-msg-core-3.cisco.com [171.70.157.152]) by postgresql.org (Postfix) with ESMTP id 3E682475E3E for ; Sat, 1 Feb 2003 14:53:38 -0500 (EST) Received: from mira-sjc5-e.cisco.com (IDENT:mirapoint@mira-sjc5-e.cisco.com [171.71.163.15]) by sj-msg-core-3.cisco.com (8.12.2/8.12.6) with ESMTP id h11JrXB6022945; Sat, 1 Feb 2003 11:53:33 -0800 (PST) Received: from cjwhitepc (sjc-vpn1-1141.cisco.com [10.21.100.117]) by mira-sjc5-e.cisco.com (Mirapoint Messaging Server MOS 3.2.1-GA) with ESMTP id ABA64646; Sat, 1 Feb 2003 11:53:37 -0800 (PST) From: "Chris White" To: "Tom Lane" Cc: Subject: Re: Duplicate indexes found in the postgres Database Date: Sat, 1 Feb 2003 11:54:53 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <7823.1044120674@sss.pgh.pa.us> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/10 X-Sequence-Number: 7208 How do I look at the catalogs and which ones do I need to look at? No we haven't seen any system crashes, but people have reported that the tables that are duplicated are possibly missing some data. -----Original Message----- From: Tom Lane [mailto:tgl@sss.pgh.pa.us] Sent: Saturday, February 01, 2003 9:31 AM To: Chris White Cc: pgsql-admin@postgresql.org Subject: Re: [ADMIN] Duplicate indexes found in the postgres Database "Chris White" writes: > While interrogating the table information for our database, I notice that > some tables (i.e. gui_config, vm_mailbox, vm_message) have duplicate > entries. Does anybody know why this would occur and is it a problem? Probably it is :-(. You'll need to dig into the underlying catalogs (everything you showed us are views, and joined ones at that) to see what the apparent duplicates are coming from. Way back when, it used to be possible for this symptom to arise from multiple pg_shadow entries with the same usesysid; but that should not happen now that there's a unique index on usesysid. Have you had any system crashes recently? regards, tom lane