Re: the "/usr/local/pgsql/data" directory size

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: Al Bean <albean84(at)hotmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: the "/usr/local/pgsql/data" directory size
Date: 2002-12-06 15:48:45
Message-ID: 10586.1039189725@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Joe Conway <mail(at)joeconway(dot)com> writes:
> Al Bean wrote:
>> Now, after compiling postgres and running initdb I noticed a the data
>> directory is a little over 23MB.

> Other things I can think of:
> 1. Reduce NAMEDATALEN
> 2. Reduce INDEX_MAX_KEYS

Neither of those are likely to change the disk footprint a lot, since
the system catalogs aren't a significant proportion of any real-world
database, I should think.

The majority of the initial footprint is the first xlog segment file
(16MB). For a low-traffic installation you could consider reducing
the xlog segment size. This'd have less impact on interoperability
than the other changes, too, since it's not visible to clients.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2002-12-06 15:50:25 Re: 7.4 Wishlist
Previous Message Ian Harding 2002-12-06 15:38:36 setval('myfunsequence', 0)