pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Aaron Turner <synfinatic@gmail.com>
To: pgsql-performance@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jim C. Nasby <jnasby@pervasive.com>
Cc: Matthew T. O'Connor <matthew@zeut.net>
Cc: PFC <lists@peufeu.com>
Subject: Re: 10+hrs vs 15min because of just one index
Date: Tue, 14 Feb 2006 15:14:03 -0800
Message-ID: <1ca1c1410602141514w2bcd1401p7c417241030c0778@mail.gmail.com> (raw)
In-Reply-To: <op.s4wlqiikcigqcu@apollo13>
References: <1ca1c1410602100016p2b5fdcc4wbf45612d7efc5fdf@mail.gmail.com>
	<43ECC9BF.2030107@zeut.net>
	<1ca1c1410602100924s191e7cddo4bda80d8f8d7cb6d@mail.gmail.com>
	<20060211212453.GT57845@pervasive.com>
	<1ca1c1410602112358h1e0e9696lff8f172769dc587e@mail.gmail.com>
	<16809.1139759674@sss.pgh.pa.us>
	<1ca1c1410602121133y279ea488nc38f049ac6ebc7f4@mail.gmail.com>
	<op.s4wlqiikcigqcu@apollo13>

Well just a little update:

1) Looks like I'm definately RAM constrained.   Just placed an order
for another 4GB.
2) I ended up dropping the primary key too which helped with disk
thrashing a lot (average disk queue wait was between 500ms and 8500ms
before and 250-500ms after)
3) Playing with most of the settings in the postgresql.conf actually
dropped performance significantly.  Looks like I'm starving the disk
cache.
4) I'm going to assume going to a bytea helped some (width is 54 vs
66) but nothing really measurable

Thanks everyone for your help!

--
Aaron Turner
http://synfin.net/



view thread (14+ messages)

Message-ID: <1ca1c1410602141514w2bcd1401p7c417241030c0778@mail.gmail.com>
Permalink:  ../1ca1c1410602141514w2bcd1401p7c417241030c0778@mail.gmail.com/
Also on:    postgresql.org/message-id/1ca1c1410602141514w2bcd1401p7c417241030c0778@mail.gmail.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: synfinatic@gmail.com, tgl@sss.pgh.pa.us, jnasby@pervasive.com, matthew@zeut.net, lists@peufeu.com
  Subject: Re: 10+hrs vs 15min because of just one index
  In-Reply-To: <1ca1c1410602141514w2bcd1401p7c417241030c0778@mail.gmail.com>
  References: <1ca1c1410602100016p2b5fdcc4wbf45612d7efc5fdf@mail.gmail.com> <43ECC9BF.2030107@zeut.net> <1ca1c1410602100924s191e7cddo4bda80d8f8d7cb6d@mail.gmail.com> <20060211212453.GT57845@pervasive.com> <1ca1c1410602112358h1e0e9696lff8f172769dc587e@mail.gmail.com> <16809.1139759674@sss.pgh.pa.us> <1ca1c1410602121133y279ea488nc38f049ac6ebc7f4@mail.gmail.com> <op.s4wlqiikcigqcu@apollo13> <1ca1c1410602141514w2bcd1401p7c417241030c0778@mail.gmail.com>

* 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