Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fRO0u-0007BF-1L for pgsql-general@arkaria.postgresql.org; Fri, 08 Jun 2018 20:29:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fRO0s-0005YX-JL for pgsql-general@arkaria.postgresql.org; Fri, 08 Jun 2018 20:29:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fRO0r-0005YN-Rw for pgsql-general@lists.postgresql.org; Fri, 08 Jun 2018 20:29:34 +0000 Received: from bay.acenet.us ([173.230.252.50]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fRO0o-0003Dk-N0 for pgsql-general@lists.postgresql.org; Fri, 08 Jun 2018 20:29:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=exquisiteimages.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:To:From:Subject:Date:Message-ID:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=IZ2yn7Y0x3SZML8B7gt45i4ImIXf1FAPED23TtLtqSk=; b=j3KSSFEHorsvR3dUtq7FI31rAQ wmLzpit4lVj42p4g1B6kN8YHeAUzbBzkZR1zQeKKMHNwfgyW7RIXzk4q5wwnq4/nSM2NYp1RJdOJs 382XQyadOq4bQ4pgArAqiVATfNE2czWWNm4ouTburG+P1VegQ77gs9hhnl99/tI8wSgVNklSW1g33 8D8ZqSw7OncvmZsRR/IL+oH/jTq4XTgOAYC3F0GJoRMdrqIFSir/2z3I5INmGjU3me/DM7YWU/T5F yC3yirVOVjP8+YC93/got+RzK/vPuj6yd7/1Ne+hR7fUuQ6spBGtxs44kbvzwQ2u2zpRkr/IwfxNs h7oAyAgg==; Received: from [::1] (port=50276 helo=www.exquisiteimages.com) by bay.acenet.us with esmtpa (Exim 4.91) (envelope-from ) id 1fRO0k-000RuT-QI for pgsql-general@lists.postgresql.org; Fri, 08 Jun 2018 16:29:27 -0400 Received: from 63.243.17.130 ([63.243.17.130]) (SquirrelMail authenticated user tony@exquisiteimages.com) by www.exquisiteimages.com with HTTP; Fri, 8 Jun 2018 16:29:26 -0400 Message-ID: <43cd24d444bb19a06c028f24dadbc5cc.squirrel@www.exquisiteimages.com> Date: Fri, 8 Jun 2018 16:29:26 -0400 Subject: Multiple PostgreSQL instances on one machine From: "Tony Sullivan" To: pgsql-general@lists.postgresql.org User-Agent: SquirrelMail/1.5.2 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-OutGoing-Spam-Status: No, score=2.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bay.acenet.us X-AntiAbuse: Original Domain - lists.postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - exquisiteimages.com X-Get-Message-Sender-Via: bay.acenet.us: authenticated_id: tony@exquisiteimages.com X-Authenticated-Sender: bay.acenet.us: tony@exquisiteimages.com X-Source: X-Source-Args: X-Source-Dir: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I am trying to consolidate some machines in my server room particularly in the testing environment and I was hoping someone could point me in the right direction. I currently have three machines running PostgreSQL for testing purposes. Each week a backup is made of the production database and this is deployed onto these three machines. None of these machines is any where near capacity. I would like to host all three instances on one machine. I know that "initdb" can be used to create additional installations, but the part I am unsure about is the tablespace. The production database has a tablespace defined that resides on its SSD. When I use the production backup, I have to create a mount point on the test machine with the same name as the one on the production database. I am not certain how I would handle this situation if I am serving three separate instances of that database from one computer.