Re: Maximum # of schemas
| От | Tom Lane |
|---|---|
| Тема | Re: Maximum # of schemas |
| Дата | |
| Msg-id | 3497.1128266849@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Maximum # of schemas (Steve Manes <smanes@magpie.com>) |
| Ответы |
Re: Maximum # of schemas
|
| Список | pgsql-general |
Steve Manes <smanes@magpie.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
В списке pgsql-general по дате отправления: