Re: new to postgres (and db management) and performance already a problem :-(

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Antoine <melser(dot)anton(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: new to postgres (and db management) and performance already a problem :-(
Date: 2006-01-16 22:43:30
Message-ID: 18875.1137451410@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Antoine <melser(dot)anton(at)gmail(dot)com> writes:
> So... seeing as I didn't really do any investigation as to setting
> default sizes for storage and the like - I am wondering whether our
> performance problems (a programme running 1.5x slower than two weeks
> ago) might not be coming from the db (or rather, my maintaining of it).

That does sound like a lack-of-vacuuming problem. If the performance
goes back where it was after VACUUM FULL, then you can be pretty sure
of it. Note that autovacuum is not designed to fix this for you: it
only ever issues regular vacuum not vacuum full.

> I couldn't find an easy way to check for disk accessings.

Watch the output of "vmstat 1" or "iostat 1" for info about that.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message me 2006-01-16 22:48:10 Re: new to postgres (and db management) and performance already a problem :-(
Previous Message Andrew Sullivan 2006-01-16 22:42:45 Re: new to postgres (and db management) and performance already a problem :-(