pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ron <rjpeace@earthlink.net>
Cc: Matthew Sackman <matthew@lshift.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: Massive performance issues
Date: Thu, 01 Sep 2005 16:25:29 -0400
Message-ID: <6092.1125606329@sss.pgh.pa.us> (raw)
In-Reply-To: <6.2.3.4.0.20050901145054.021b1678@pop.earthlink.net>
References: <20050901174231.GE23970@pongo.lshift.net>
	<6.2.3.4.0.20050901145054.021b1678@pop.earthlink.net>

Ron <rjpeace@earthlink.net> writes:
> ...  Your target is to have each row take <= 512B.

Ron, are you assuming that the varchar fields are blank-padded or
something?  I think it's highly unlikely that he's got more than a
couple hundred bytes per row right now --- at least if the data is
what it sounds like.

The upthread comment about strcoll() set off some alarm bells in my head.
If the database wasn't initdb'd in C locale already, try making it so.
Also, use a single-byte encoding if you can (LatinX is fine, Unicode not).

> Upgrade pg to 8.0.3 and make sure you have enough RAM for your real 
> day to day load.

Newer PG definitely better.  Some attention to the configuration
parameters might also be called for.  I fear though that these things
are probably just chipping at the margins ...

			regards, tom lane



view thread (33+ messages)  latest in thread

Message-ID: <6092.1125606329@sss.pgh.pa.us>
Permalink:  ../6092.1125606329@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6092.1125606329@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, rjpeace@earthlink.net, matthew@lshift.net
  Subject: Re: Massive performance issues
  In-Reply-To: <6092.1125606329@sss.pgh.pa.us>

* 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