pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew Sullivan <matthew@sorbs.net>
To: pgsql-performance@postgresql.org
Subject: performance problems.
Date: Wed, 30 Aug 2006 19:29:35 +1000
Message-ID: <44F55A7F.40305@sorbs.net> (raw)

All,

Got a little bit of a performance problem I hope that can be resolved.

All the files/info I believe you are going to ask for are here:

http://www.au.sorbs.net/~matthew/postgres/30.8.06/

The odd thing was it originally was fast (1-2 seconds) which is all I 
need - the query is a permissions check and I added a permissions 
caching engine to the client code.  However, I was testing part of my 
new interface and added and "expired" some rows in the permissions, and 
authorisation tables (taking the row count to ~15) the performance 
dropped to 86seconds (ish) which is unusable... :-(

Unfortunately I do not have a query plan from before the performance issue.

work_mem has been adjusted from 512 to 8192, 65536 and 1000000 with no 
apparent effect.
random_page_cost has been 4 and 2 - 2 results in 89seconds for the query.

The hardware is a Compaq 6400r with 4G of EDO RAM, 4x500MHz Xeons and a 
Compaq RAID 3200 in RAID 5 configuration running across 3 spindles (34G 
total space).

The OS is FreeBSD 5.4-RELEASE-p14
The PG Version is 8.1.3

Solutions/tips greatly appreciated.

Regards,

Mat



view thread (13+ messages)  latest in thread

Message-ID: <44F55A7F.40305@sorbs.net>
Permalink:  ../44F55A7F.40305@sorbs.net/
Also on:    postgresql.org/message-id/44F55A7F.40305@sorbs.net

 · 

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: matthew@sorbs.net
  Subject: Re: performance problems.
  In-Reply-To: <44F55A7F.40305@sorbs.net>

* 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