pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert.Farrugia@go.com.mt
Cc: pgsql-admin@postgresql.org
Subject: Re: Requirements for a database server
Date: Wed, 18 Jul 2001 11:48:59 -0400
Message-ID: <5142.995471339@sss.pgh.pa.us> (raw)
In-Reply-To: <OF9B71CB14.FAFF2342-ONC1256A8D.001FE4C0@go.com.mt>
References: <OF9B71CB14.FAFF2342-ONC1256A8D.001FE4C0@go.com.mt>

Robert.Farrugia@go.com.mt writes:
> I have been using postgres for the last year now.  The database has grown
> from a mere few MBs to over 100GB data and expected to top up 300GB by the
> end of the year.  Lately performance of queries, inserts, updates has
> continued to grow worse as the dataset has grown larger, even though most
> queries have indexes on them, while vacuuming the database has become a
> nightmare.

Have you tried dropping and rebuilding the indexes?

Currently, PG doesn't reclaim dead space in indexes very effectively,
so the indexes on a frequently-updated table tend to grow without bound.
(I may or may not be able to fix this for 7.2 --- it's next on my
to-look-at list, but no promises.)  In the meantime, an occasional
rebuild may help restore performance.

BTW, the vacuuming issue is pretty well fixed for 7.2 ...

			regards, tom lane



view thread (13+ messages)  latest in thread

Message-ID: <5142.995471339@sss.pgh.pa.us>
Permalink:  ../5142.995471339@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5142.995471339@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, Robert.Farrugia@go.com.mt
  Subject: Re: Requirements for a database server
  In-Reply-To: <5142.995471339@sss.pgh.pa.us>
  References: <OF9B71CB14.FAFF2342-ONC1256A8D.001FE4C0@go.com.mt> <5142.995471339@sss.pgh.pa.us>

* 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