Re: Minimum database size

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Rohit Dewan <rdewan(at)cisco(dot)com>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Minimum database size
Date: 2002-02-26 19:50:55
Message-ID: Pine.LNX.4.30.0202261446120.685-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Rohit Dewan writes:

> What is the size of an empty database?

Have you considered just creating one and looking?

> I heard somewhere that a DB created using CreateDB has a default size
> of about 20MB. Is that true and is that default size configurable.

The size of an empty database is not determined by the amount of useless
data that's put in there. In other words, no, you can't configure it.

In some installation I have here, the size of an empty database appears to
be about 2MB, but you will find that the database cluster overhead is much
more than that. You can control some aspect of that by reducing the
number of WAL files, but that will really kill the performance for only a
relatively small space gain.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Chris Bowlby 2002-02-26 20:08:50 [GENERAL] password change...
Previous Message Rohit Dewan 2002-02-26 18:21:33 Re: Size of database system