Re: Maximum # of schemas

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Steve Manes <smanes(at)magpie(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Maximum # of schemas
Date: 2005-10-02 15:27:29
Message-ID: 3497.1128266849@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Steve Manes <smanes(at)magpie(dot)com> writes:
> Questions: is there a hard limit to the number of schemas you could have
> in a database?

No.

> Are there any caveats/pitfalls/pitbulls to having a
> large number of duplicate schemas in a database?

If that also implies a large number of tables, you might start to run
into filesystem-level bottlenecks due to having a large number of files
in the same directory. If you aren't using a filesystem that copes
gracefully with huge directories, you probably want to avoid having more
than a few thousand files per directory. (As of PG 8.0 you can work
around this to some extent by segregating tables into different
tablespaces.)

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ben 2005-10-02 15:28:53 Re: scoring differences between bitmasks
Previous Message Hrishikesh Deshmukh 2005-10-02 15:23:36 Postgresql 8.0 and XP