Re: createdb problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sterpu Victor <victor(at)ambra(dot)ro>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: createdb problem
Date: 2005-09-25 04:00:58
Message-ID: 26554.1127620858@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sterpu Victor <victor(at)ambra(dot)ro> writes:
> I use postgresql 7.4.8.
> I need te delete and recreate a database very ofent, because I do some
> tests in it.
> After a few months the command createdb becamed very slow.
> How can I make it go fast again?

The only explanation that comes to mind is that you haven't ever
vacuumed pg_database ... at this point you probably need a VACUUM
FULL, and maybe REINDEX too, to get it back down to a reasonable
size.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jim C. Nasby 2005-09-25 04:05:30 Re: createdb problem
Previous Message Tony Caduto 2005-09-25 03:47:07 Re: Extraordinarily slow!!