pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steve Crawford <scrawford@pinpointresearch.com>
To: Madison Kelly <linux@alteeve.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: DB is slow until DB is reloaded
Date: Mon, 04 Jan 2010 11:31:33 -0800
Message-ID: <4B424215.70605@pinpointresearch.com> (raw)
In-Reply-To: <4B423D22.7040803@alteeve.com>
References: <4B423D22.7040803@alteeve.com>

Madison Kelly wrote:
> Hi all,
>
>   I've got a fairly small DB...
>
>   It slows down over time and I can't seem to find a way to get the
> performance to return without doing a dump and reload of the database...

Some questions:

Is autovacuum running? This is the most likely suspect. If not, things 
will bloat and you won't be getting appropriate "analyze" runs. Speaking 
of which, what happens if you just run "analyze"?

And as long as you are dumping and reloading anyway, how about version 
upgrading for bug reduction, performance improvement, and cool new features.

Cheers,
Steve



view thread (25+ messages)  latest in thread

Message-ID: <4B424215.70605@pinpointresearch.com>
Permalink:  ../4B424215.70605@pinpointresearch.com/
Also on:    postgresql.org/message-id/4B424215.70605@pinpointresearch.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: scrawford@pinpointresearch.com, linux@alteeve.com
  Subject: Re: DB is slow until DB is reloaded
  In-Reply-To: <4B424215.70605@pinpointresearch.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