X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id AE96D52D45 for ; Fri, 18 Mar 2005 16:07:20 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 74011-07 for ; Fri, 18 Mar 2005 16:07:18 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id B9F1D52A5C for ; Fri, 18 Mar 2005 16:07:16 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j2IG7Edb008048; Fri, 18 Mar 2005 11:07:14 -0500 (EST) To: Uwe Maiwald Cc: pgsql-admin@postgresql.org Subject: Re: large database versus many databases 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> Comments: In-reply-to Uwe Maiwald message dated "Fri, 18 Mar 2005 15:27:28 +0100" Date: Fri, 18 Mar 2005 11:07:14 -0500 Message-ID: <8047.1111162034@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/287 X-Sequence-Number: 16785 Uwe Maiwald 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