From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Tim Ellis <Tim(dot)Ellis(at)gamet(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: multiple instances on one box? |
Date: | 2002-06-03 23:53:33 |
Message-ID: | 13148.1023148413@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Tim Ellis <Tim(dot)Ellis(at)gamet(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tim Ellis | 2002-06-03 23:53:37 | Re: multiple instances on one box? |
Previous Message | Bruce Momjian | 2002-06-03 22:57:13 | Re: configure datatype name > 31? |