pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Naomi Walker <nwalker@eldocomp.com>
To: Robert M. Meyer <rmeyer@installs.com>
To: pgsql-admin@postgresql.org
Subject: Re: Postgres performance slowly gets worse over a month
Date: Tue, 23 Jul 2002 11:08:30 -0700
Message-ID: <4.2.2.20020723110231.01daf8c0@ecint.ecinet.com> (raw)
In-Reply-To: <1027447198.25568.11.camel@skymaster>


>Nightly, we're doing a 'vacuumdb -a -z' after stopping and restarting
>the database.  The performance will get so bad after a month that we
>start to see load spikes in excess of 30.  Normally, we don't see load
>over 2.5 during the heaviest activity and generally less than 1.0 most
>of the time.
Typically, performance is linked to your I/O, but my first guess in this 
case has to do with your indices.  As a test, next time performance gets 
really rotten, drop your indicies and rebuild them. It cannot hurt, and 
might just help.

The trick here is to see what is happening while it is tanking.  What does 
your disk configuration look like?  Is it a raid or stripe where reads are 
spread out among more than one controller?  Do sar reports point to 
anything in particular?

---------------------------------------------------------------------------- 
----------------------------------
Naomi Walker
Eldorado Computing, Inc
Chief Information Officer
nwalker@eldocomp.com
602-604-3100 x242
                                    




view thread (31+ messages)  latest in thread

Message-ID: <4.2.2.20020723110231.01daf8c0@ecint.ecinet.com>
Permalink:  ../4.2.2.20020723110231.01daf8c0@ecint.ecinet.com/
Also on:    postgresql.org/message-id/4.2.2.20020723110231.01daf8c0@ecint.ecinet.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-admin@postgresql.org
  Cc: nwalker@eldocomp.com, rmeyer@installs.com
  Subject: Re: Postgres performance slowly gets worse over a month
  In-Reply-To: <4.2.2.20020723110231.01daf8c0@ecint.ecinet.com>
  References: <1027447198.25568.11.camel@skymaster> <4.2.2.20020723110231.01daf8c0@ecint.ecinet.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