X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7D89ED1B18C for ; Tue, 8 Jun 2004 02:19:07 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 31247-06 for ; Tue, 8 Jun 2004 05:18:59 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 37441D1B1FD for ; Tue, 8 Jun 2004 02:18:57 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i585INje026336; Tue, 8 Jun 2004 01:18:23 -0400 (EDT) To: =?ISO-8859-1?Q?Josu=E9_Maldonado?= Cc: josh@agliodbs.com, pgsql-performance@postgresql.org Subject: Re: Join slow on "large" tables In-reply-to: <40C4F66C.8030609@lamundial.hn> References: <40C4E9EA.7000708@lamundial.hn> <200406071531.49207.josh@agliodbs.com> <40C4F66C.8030609@lamundial.hn> Comments: In-reply-to =?ISO-8859-1?Q?Josu=E9_Maldonado?= message dated "Mon, 07 Jun 2004 17:12:44 -0600" Date: Tue, 08 Jun 2004 01:18:22 -0400 Message-ID: <26335.1086671902@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/84 X-Sequence-Number: 7142 =?ISO-8859-1?Q?Josu=E9_Maldonado?= writes: > Recreated the index (drop then create) and did the vacuum full pkardex > and the behavior seems to be the same: Well, there was a pretty huge improvement in the pkardex scan time, whether you noticed it or not: 39520.406 to 87.393 msec. This definitely suggests that you've been lax about vacuuming this table. I'm wondering whether pmdoc might not be overdue for vacuuming as well. regards, tom lane