Re: Partitioning Vs. Split Databases - performance?

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: Partitioning Vs. Split Databases - performance?
Дата
Msg-id 1166728642.5594.24.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Partitioning Vs. Split Databases - performance?  (Benjamin Smith <lists@benjamindsmith.com>)
Ответы Re: Partitioning Vs. Split Databases - performance?  (Ron Johnson <ron.l.johnson@cox.net>)
Список pgsql-general
On Thu, 2006-12-21 at 11:10 -0800, Benjamin Smith wrote:
> I'm breaking up a database into several sets of data with similar layout. (we
> currently have multiple customers using a single database and tableset, we're
> splitting it out to give us more "wiggle room")
>
> It seems that there are basically two ways to proceed:
>
> 1) Copy out the data specific to a customer and load into a separate database
> for that customer, or
>
> 2) Copy out the data specific to a customer and load into separate tables
> (with slightly different names, EG table "dates" becomes "cust1_dates") and
> use data partitioning to help with performance as needed.


3) Put each customer in their own schema/namespace which resides within
its own table space.

Then you can move customers wherever you need in terms of IO.

Joshua D. Drake


>
> Given the same physical hardware, which one is likely to perform better? Does
> it make any difference? Does using separate databases use more RAM than a
> single database with a bunch of different tables?
>
> Company is growing rapidly, so growth room is important...
>
> -Ben
--

      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997
             http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate




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

Предыдущее
От: Benjamin Smith
Дата:
Сообщение: Partitioning Vs. Split Databases - performance?
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: Partitioning Vs. Split Databases - performance?