Re: createdb problem - Mailing list pgsql-general

From Tom Lane
Subject Re: createdb problem
Date
Msg-id 26554.1127620858@sss.pgh.pa.us
Whole thread Raw
In response to createdb problem  (Sterpu Victor <victor@ambra.ro>)
List pgsql-general
Sterpu Victor <victor@ambra.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

pgsql-general by date:

Previous
From: Tony Caduto
Date:
Subject: Re: Extraordinarily slow!!
Next
From: "Jim C. Nasby"
Date:
Subject: Re: createdb problem