X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1C452D1B50D for ; Fri, 31 Oct 2003 11:25:52 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 70422-08 for ; Fri, 31 Oct 2003 07:25:23 -0400 (AST) Received: from bayswater1.ymogen.net (host-154-240-27-217.pobox.net.uk [217.27.240.154]) by svr1.postgresql.org (Postfix) with ESMTP id 2EDE0D1B54E for ; Fri, 31 Oct 2003 07:25:20 -0400 (AST) Received: from solent (82-68-95-1.dsl.in-addr.zen.co.uk [82.68.95.1]) by bayswater1.ymogen.net (Postfix) with ESMTP id 448AD96DF5; Fri, 31 Oct 2003 11:19:58 +0000 (GMT) From: "Matt Clark" To: "Marek Florianczyk" Cc: Subject: Re: performance problem - 10.000 databases Date: Fri, 31 Oct 2003 11:25:21 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <1067598488.22286.69.camel@franki-laptop.tpi.pl> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/386 X-Sequence-Number: 10947 Ooh, I see. That's a tricky one. Do you really need that level of separation? > Because every virtual domain has its own database, username and > password. So one client domain1.com with db: domain1db user: domain1user > cannot access to second client database domain2.com db: domain2db user: > domain2user > pg_hba.conf look like this: > host domain1db domain1user ip_addr netmask md5 > host domain2db domain2user ip_addr netmask md5 > ..... > .... > 10.000 records > ... > ... > host domain10000db domain10000user ip_addr netmask md5 > > > You know, one client cannot access to other client database. > So, if one process is connected to domain1db it cannto access to > domain2db, and others.