From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tim Ellis <Tim.Ellis@gamet.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: multiple instances on one box?
Date: Mon, 03 Jun 2002 19:53:33 -0400
Message-ID: <13148.1023148413@sss.pgh.pa.us> (raw)
In-Reply-To: <20020603113049.7a45a143.Tim.Ellis@gamet.com>
References: <20020603113049.7a45a143.Tim.Ellis@gamet.com>
Tim Ellis <Tim.Ellis@gamet.com> writes:
> Hopefully not a FAQ, but I wonder, how do I start multiple Postgres
> instances on one computer?
Isn't it in the FAQ? Just give them different port numbers and
data directories, and away you go. (As long as you don't exceed
kernel limits on total size of shared memory, total number of
semaphores, open files, etc.)
I concur with Andrew Perrin's concerns about why you are doing this,
though. I can think of a couple of valid reasons:
1. You want to run multiple Postgres versions. (That's why I have
three or four postmasters running here.)
2. You want airtight separation between two instances, eg because
you are doing C-code development in one of the instances and so you
occasionally crash it.
But as a mechanism for redundancy against hardware failures it doesn't
seem particularly useful.
regards, tom lane
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, Tim.Ellis@gamet.com
Subject: Re: multiple instances on one box?
In-Reply-To: <13148.1023148413@sss.pgh.pa.us>
References: <20020603113049.7a45a143.Tim.Ellis@gamet.com> <13148.1023148413@sss.pgh.pa.us>
* 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