pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Carlo Stonebanks <stonec.register@sympatico.ca>
To: pgsql-performance@postgresql.org
Subject: Re: Massive table (500M rows) update nightmare
Date: Fri, 8 Jan 2010 12:06:14 -0500
Message-ID: <hi7okp$2kca$1@news.hub.org> (raw)
In-Reply-To: <dcc563d11001072221g66d3db9cr3556d49b2bdee47e@mail.gmail.com>
References: <hi41os$eiv$1@news.hub.org>
	<b1b9fac61001071305vf182f3ajff6827f92c943c68@mail.gmail.com>
	<hi5kpr$184c$1@news.hub.org>
	<dcc563d11001071740q572cdae2re410788fe790dbf6@mail.gmail.com>
	<hi6ifm$1bi8$1@news.hub.org>
	<dcc563d11001072221g66d3db9cr3556d49b2bdee47e@mail.gmail.com>

> crank it up more and delay the checkpoints as much as possible during
> these updates.  64 segments is already 1024M.

We have 425M rows, total table size is 78GB, so we can imagine a worst case 
UPDATE write is less than 200 bytes * number of rows specified in the update 
(is that logic correct?).

Inerestingly, the total index size is 148GB, twice that of the table, which 
may be an indication of where the performance bottleneck is.




view thread (30+ messages)  latest in thread

Message-ID: <hi7okp$2kca$1@news.hub.org>
Permalink:  ../hi7okp$2kca$1@news.hub.org/
Also on:    postgresql.org/message-id/hi7okp$2kca$1@news.hub.org

 · 

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: stonec.register@sympatico.ca
  Subject: Re: Massive table (500M rows) update nightmare
  In-Reply-To: <hi7okp$2kca$1@news.hub.org>

* 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