pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: me@alternize.com
To: pgsql-performance@postgresql.org
To: Steve Peterson <stevep-hv@zpfe.com>
Subject: Re: UPDATE becomes mired / win32
Date: Wed, 4 Oct 2006 20:13:33 +0200
Message-ID: <0d3301c6e7e0$ce71c190$6501a8c0@iwing> (raw)
References: <6.2.3.4.0.20061004094635.03c114a8@localhost>

> 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 





view thread (6+ messages)  latest in thread

Message-ID: <0d3301c6e7e0$ce71c190$6501a8c0@iwing>
Permalink:  ../0d3301c6e7e0$ce71c190$6501a8c0@iwing/
Also on:    postgresql.org/message-id/0d3301c6e7e0$ce71c190$6501a8c0@iwing

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: me@alternize.com, stevep-hv@zpfe.com
  Subject: Re: UPDATE becomes mired / win32
  In-Reply-To: <0d3301c6e7e0$ce71c190$6501a8c0@iwing>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox