Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id ABC7A9FB3BA for ; Thu, 5 Oct 2006 02:07:22 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 77932-01 for ; Thu, 5 Oct 2006 05:07:12 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.zpfe.com (mail.zpfe.com [208.42.168.33]) by postgresql.org (Postfix) with SMTP id 8C6CE9FB207 for ; Thu, 5 Oct 2006 02:07:10 -0300 (ADT) Received: (qmail 8219 invoked from network); 5 Oct 2006 05:07:06 -0000 Received: from unknown (HELO revere.zpfe.com) (208.42.168.33) by mail.zpfe.com with SMTP; 5 Oct 2006 05:07:06 -0000 Message-Id: <6.2.3.4.0.20061005000508.04bb03d8@localhost> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Thu, 05 Oct 2006 00:06:49 -0500 To: , From: Steve Peterson Subject: Re: UPDATE becomes mired / win32 In-Reply-To: <0d3301c6e7e0$ce71c190$6501a8c0@iwing> References: <6.2.3.4.0.20061004094635.03c114a8@localhost> <0d3301c6e7e0$ce71c190$6501a8c0@iwing> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII"; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.432 tagged_above=0 required=5 tests=SPF_HELO_SOFTFAIL X-Spam-Level: ** X-Archive-Number: 200610/121 X-Sequence-Number: 21250 I'm pretty sure that the table was empty before doing the load, but I gave this a shot. It didn't have an impact on the results. The behavior also persists across a dump/reload of the table into a new install on a different machine. IIRC dump/reload rebuilds indexes from scratch. Steve At 01:13 PM 10/4/2006, me@alternize.com wrote: >>The table, VOTER, contains 3,090,013 rows and each row is about 120 >>bytes wide. It's loaded via a batch process in one shot, and the >>load is followed by an VACUUM FULL ANALYZE. Its structure is shown >>at the bottom of the message. > > >if the table wasn't empty before and has indices defined, try a >"REINDEX TABLE VOTER" before running the update. i had a similar >case where an often updated table was vacuumed regurarly, but the >indices grew and grew and grew. in my case the table - even when >empty and analyze full'ed was 1.2gb according to pgadmin due to >(outdated) indices. a reindex fixed all my performance issues. > >- thomas >