Re: Databases vs Schemas

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Databases vs Schemas
Дата
Msg-id b42b73150910091402o52b3ffcbw91757689b0f6578@mail.gmail.com
обсуждение исходный текст
Ответ на Databases vs Schemas  ("Scott Otis" <scott.otis@intand.com>)
Ответы Re: Databases vs Schemas  (Scott Carey <scott@richrelevance.com>)
Список pgsql-performance
On Fri, Oct 9, 2009 at 1:46 PM, Scott Otis <scott.otis@intand.com> wrote:
> Over the next couple of months we will be creating an instance of our solution for each public school district in the
USwhich is around 18,000.  That means currently we would be creating 18,000 databases (all on one server right now –
whichis running 8.4).  I am assuming this is probably not the best way of doing things. 

Schema advantages:
*) maintenance advantages; all functions/trigger functions can be
shared.  HUGE help if you use them
*) can query shared data between schemas without major headaches
*) a bit more efficiency especially if private data areas are small.
kinda analogous to processes vs threads
*) Can manage the complete system without changing database sessions.
This is the kicker IMO.

Database Advantages:
*) More discrete.  Easier to distinctly create, dump, drop, or move to
separate server
*) Smaller system catalogs might give efficiency benefits

merlin

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: disk I/O problems and Solutions
Следующее
От: David Rees
Дата:
Сообщение: Re: disk I/O problems and Solutions