From: Tom Lane <tgl@sss.pgh.pa.us>
To: Uwe Maiwald <u.maiwald@kiss-net.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: large database versus many databases
Date: Fri, 18 Mar 2005 11:07:14 -0500
Message-ID: <8047.1111162034@sss.pgh.pa.us> (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 <u.maiwald@kiss-net.de> writes:
> 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).
The one-big-database approach would scale better, but is performance
your only consideration? Separate databases would enforce strict
separation between customers, which might be either a good thing or
a bad thing depending on your needs.
regards, tom lane
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: tgl@sss.pgh.pa.us, u.maiwald@kiss-net.de
Subject: Re: large database versus many databases
In-Reply-To: <8047.1111162034@sss.pgh.pa.us>
References: <6.0.1.1.0.20050318145502.00a12e50@mx0.kiss-net.de> <8047.1111162034@sss.pgh.pa.us>
* 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