Re: Experience with many schemas vs many databases

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Experience with many schemas vs many databases
Дата
Msg-id dcc563d10911151125t558f2380m9afff25f9a335cdc@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Experience with many schemas vs many databases  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-general
On Sun, Nov 15, 2009 at 11:54 AM, Merlin Moncure <mmoncure@gmail.com> wrote:
>
> Use schema.  Here's a pro tip: if you have any sql or pl/pgsql
> functions you can use the same function body across all the schema as
> long as you discard the plans when you want to move from schema to
> schema.

I too vote for schemas.

> I'm curious if those suggesting there is a practical upper limit of
> the number of schema postgres can handle have any hard information to
> back that up...

The real limit is performance of certain things over the catalogs, not
the number of schemas, but how many objects are in the db seem to
impact me more, and that's only with slony.  Everything else runs fine
with ~40k objects in my db.

В списке pgsql-general по дате отправления:

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Experience with many schemas vs many databases
Следующее
От: John R Pierce
Дата:
Сообщение: Re: Experience with many schemas vs many databases