pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sabio - PSQL <slopez_pg@ceroriesgo.co.cr>
To: PostgreSQL Admin <pgsql-admin@postgresql.org>
Subject: Re: large database versus many databases
Date: Fri, 18 Mar 2005 10:16:45 -0600
Message-ID: <423AFEED.2020205@ceroriesgo.co.cr> (raw)
In-Reply-To: <6.0.1.1.0.20050318145502.00a12e50@mx0.kiss-net.de>
References: <6.0.1.1.0.20050318145502.00a12e50@mx0.kiss-net.de>

Uwe Maiwald wrote:

> Hi,
>
> we are currently planning a very large installation of a 
> web-application using PostgreSQL. The application can be configured to 
> handle 1 database per customer, or all customers in one large database.
>
> We plan to start with e.g. 500 customers, each of which can have 200 
> MB or more in the database. And we want the system to be expandable as 
> needed (thousands of customers, using lots of memory).
>
> Has anyone any experience what is best
> - using one very large database for all customers or
> - using 1 database per customer
>
> concerning expandability, performance, server configuration, system 
> updates etc.
>
> Is it advisable not to install more than a certain amount of databases 
> on one server?
>
> Any hints welcome,
>
> Thanks,  Uwe
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
>               http://archives.postgresql.org
>
>

I am currently developing a system like this and we are using one 
database per customer.
You only have to consider one thing.
If you have only one database for all customer and database have a 
problem all customer can't work.
If you have many databases as customers if a database fails only one 
customer can't work, and it's easier to solve for one that for all.






view thread (4+ messages)  latest in thread

Message-ID: <423AFEED.2020205@ceroriesgo.co.cr>
Permalink:  ../423AFEED.2020205@ceroriesgo.co.cr/
Also on:    postgresql.org/message-id/423AFEED.2020205@ceroriesgo.co.cr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: slopez_pg@ceroriesgo.co.cr
  Subject: Re: large database versus many databases
  In-Reply-To: <423AFEED.2020205@ceroriesgo.co.cr>
  References: <6.0.1.1.0.20050318145502.00a12e50@mx0.kiss-net.de> <423AFEED.2020205@ceroriesgo.co.cr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox