Re: Re: [COMMITTERS] Can not create more than 32766 databases in ufs file system.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mark Mielke <mark(at)mark(dot)mielke(dot)cc>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, pgsql-hackers(at)postgresql(dot)org, fulan Peng <fulanpeng(at)gmail(dot)com>
Subject: Re: Re: [COMMITTERS] Can not create more than 32766 databases in ufs file system.
Date: 2009-09-12 20:15:09
Message-ID: 12155.1252786509@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Mark Mielke <mark(at)mark(dot)mielke(dot)cc> writes:
> My God - I thought 32k databases in the same directory was insane.
> 220M+???????

Considering that the system catalogs alone occupy about 5MB per
database, that would require an impressive amount of storage...

In practice I think users would be complaining about our choice
to instantiate the catalogs per-database a lot sooner than they'd
hit the subdirectory-count limit.

BTW, there is another avenue that the OP could look into if he
really wants this many databases on a UFS filesystem: split them up
into multiple tablespaces.

regards, tom lane

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Stephen Frost 2009-09-12 20:17:04 Re: Re: [COMMITTERS] Can not create more than 32766 databases in ufs file system.
Previous Message Tom Lane 2009-09-12 20:02:11 Re: Re: [COMMITTERS] Can not create more than 32766 databases in ufs file system.

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2009-09-12 20:17:04 Re: Re: [COMMITTERS] Can not create more than 32766 databases in ufs file system.
Previous Message Tom Lane 2009-09-12 20:02:11 Re: Re: [COMMITTERS] Can not create more than 32766 databases in ufs file system.