Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 8EB666370E2 for ; Fri, 26 Feb 2010 10:34:56 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 13762-02-5 for ; Fri, 26 Feb 2010 14:34:37 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-yw0-f181.google.com (mail-yw0-f181.google.com [209.85.211.181]) by mail.postgresql.org (Postfix) with ESMTP id B02536374CE for ; Fri, 26 Feb 2010 10:34:24 -0400 (AST) Received: by ywh11 with SMTP id 11so58775ywh.28 for ; Fri, 26 Feb 2010 06:34:22 -0800 (PST) Received: by 10.91.85.9 with SMTP id n9mr476747agl.73.1267194862767; Fri, 26 Feb 2010 06:34:22 -0800 (PST) Received: from ?192.168.1.100? (cpe-76-176-215-35.san.res.rr.com [76.176.215.35]) by mx.google.com with ESMTPS id 6sm30223ywd.56.2010.02.26.06.34.21 (version=SSLv3 cipher=RC4-MD5); Fri, 26 Feb 2010 06:34:22 -0800 (PST) Message-ID: <4B87DBEC.5000105@emolecules.com> Date: Fri, 26 Feb 2010 06:34:20 -0800 From: Craig James User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Richard Huxton CC: elias ghanem , pgsql-performance@postgresql.org Subject: Re: Multiple data base on same server References: <201002261242.o1QCgoka009150@relay-ext.ornis.com> <4B87C6A5.6040005@archonet.com> In-Reply-To: <4B87C6A5.6040005@archonet.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.295 tagged_above=-10 required=5 tests=AWL=2.894, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201002/377 X-Sequence-Number: 37798 Richard Huxton wrote: > On 26/02/10 12:45, elias ghanem wrote: >> Hi, >> Thanks for your answer, >> Concerning the second point, each db have different table that are >> logically >> related (for ex, tables for configuration, tables for business...) >> plus I'm >> planning to put the indexes on their own tablespaces. >> Concerning the disks I will maybe stored on multiple disks (but surely >> not >> 200-300). So I'm just wondering If this big number of tablespaces on a >> same >> db server may cause problems, > > If the tablespaces aren't on different disks, I'm not sure what the > point is. Our policy is that *every* database has its own tablespace. It doesn't cost you anything, and it gives you great flexibility if you add new disks. You can easily move an entire database, or a bunch of databases, by just moving the data pointing to the new location with symlinks. Once you put a bunch of databases into a single tablespace, moving subsets of them becomes very difficult. It also makes it really easy to find who is using resources. We operate about 450 databases spread across several servers. Postgres has no trouble at all managing hundreds of databases. Craig