X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 211369FA4C1 for ; Thu, 15 Jun 2006 04:07:04 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 61124-02 for ; Thu, 15 Jun 2006 04:06:55 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by postgresql.org (Postfix) with ESMTP id 36EBF9FA5E9 for ; Thu, 15 Jun 2006 04:06:54 -0300 (ADT) Received: from [194.25.154.138] (helo=webserv.wug.de) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1FqlwL1Qxz-0001zx; Thu, 15 Jun 2006 09:06:53 +0200 Received: from kretschmer by webserv.wug.de with local (Exim 3.36 #1) id 1FqlwK-0006bk-00 for pgsql-performance@postgresql.org; Thu, 15 Jun 2006 09:06:52 +0200 Date: Thu, 15 Jun 2006 09:06:52 +0200 From: "A. Kretschmer" To: pgsql-performance@postgresql.org Subject: Re: Is it possible to start two instances of postgresql? Message-ID: <20060615070652.GE22034@webserv.wug-glas.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-DEST: 208 X-OS: Linux - weil ich es mir Wert bin! X-Info: registrierter Linux-User 97922 http://counter.li.org User-Agent: mutt-ng 1.5.9i (Linux) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:51ea9561fc3f6d9539a2acd743e4748c X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/295 X-Sequence-Number: 19652 am 15.06.2006, um 14:34:51 +0800 mailte kah_hang_ang@toray.com.my folgendes: > > > > > so what is the best way to implement two databases in one machine? > implement with two postgresql instances with separate directory or > implement under one instance? What do you want to do? Do you need 2 separate pg-versions? Or do you need, for instance, a live-db and a test-db? > if I implement two database in one instance, if one of the database crash > will it affect the other? Yes, but on the other side, if you have 2 instances on the same machine and this machine chrash, then you lost all. What do you want to do? Perhaps, you need slony? (replication solution) Btw.: please, no silly fullquote. Andreas -- Andreas Kretschmer (Kontakt: siehe Header) Heynitz: 035242/47215, D1: 0160/7141639 GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net === Schollglas Unternehmensgruppe ===