Re: Partitioning Vs. Split Databases - performance? - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: Partitioning Vs. Split Databases - performance?
Date
Msg-id 1166728642.5594.24.camel@localhost.localdomain
Whole thread Raw
In response to Partitioning Vs. Split Databases - performance?  (Benjamin Smith <lists@benjamindsmith.com>)
Responses Re: Partitioning Vs. Split Databases - performance?
List 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 by date:

Previous
From: Benjamin Smith
Date:
Subject: Partitioning Vs. Split Databases - performance?
Next
From: Ron Johnson
Date:
Subject: Re: Partitioning Vs. Split Databases - performance?