pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tony Sullivan <tony@exquisiteimages.com>
To: pgsql-general@lists.postgresql.org
Subject: Multiple PostgreSQL instances on one machine
Date: Fri, 8 Jun 2018 16:29:26 -0400
Message-ID: <43cd24d444bb19a06c028f24dadbc5cc.squirrel@www.exquisiteimages.com> (raw)

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.





view thread (4+ messages)  latest in thread

Message-ID: <43cd24d444bb19a06c028f24dadbc5cc.squirrel@www.exquisiteimages.com>
Permalink:  ../43cd24d444bb19a06c028f24dadbc5cc.squirrel@www.exquisiteimages.com/
Also on:    postgresql.org/message-id/43cd24d444bb19a06c028f24dadbc5cc.squirrel@www.exquisiteimages.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tony@exquisiteimages.com
  Subject: Re: Multiple PostgreSQL instances on one machine
  In-Reply-To: <43cd24d444bb19a06c028f24dadbc5cc.squirrel@www.exquisiteimages.com>
  References: <43cd24d444bb19a06c028f24dadbc5cc.squirrel@www.exquisiteimages.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox