Re: Where do a novice do to make it run faster?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "A B" <gentosaker(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Where do a novice do to make it run faster?
Date: 2008-04-29 14:20:48
Message-ID: 944.1209478848@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"A B" <gentosaker(at)gmail(dot)com> writes:
> I'm not sure what the size acctually is... But I can't imagine that it
> is 1,6 GB!!! I'd say I have 11MB of data in it...

Sounds like you've got a rather severe case of table and/or index bloat.
This is typically caused by not vacuuming often enough.

The easiest way to get the size back down is probably to dump and reload
the database. After that you need to look at your vacuuming practices.

> Will I see a general improvement in performance in 8.3.X over 8.1.11?

Probably so, if only because it has autovacuum turned on by default.
That's not really a substitute for careful administration practices,
but it helps.

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Chris Browne 2008-04-29 14:48:28 Re: Replication Syatem
Previous Message Tom Lane 2008-04-29 14:16:02 Re: Replication Syatem