From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Henry, Nigel, CYFD <nigel.henry@state.nm.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: Isolated databases or instances
Date: Fri, 16 Feb 2007 15:56:41 -0600
Message-ID: <1171663001.3565.106.camel@state.g2switchworks.com> (raw)
In-Reply-To: <7692.1171660568@sss.pgh.pa.us>
References: <2488267002735E4293095085A7B5D86401446CAA@CEXMB4.nmes.lcl>
<1171655529.3565.89.camel@state.g2switchworks.com>
<7692.1171660568@sss.pgh.pa.us>
On Fri, 2007-02-16 at 15:16, Tom Lane wrote:
> Scott Marlowe <smarlowe@g2switchworks.com> writes:
> > On Fri, 2007-02-16 at 13:18, Henry, Nigel, CYFD wrote:
> >> We are at the beginning of the building of a 3-tier
> >> development/test/uat environment. We would like some advice on how
> >> the PostgreSQL database should be configured for this environment.
>
> > What exactly are you trying to accomplish with multiple PostgreSQL
> > instances here? I can't see there being any great advantage to three
> > separate instances than having three discrete databases defined in one
> > instance.
>
> Separating development and production instances seems perfectly sensible
> to me. For instance, if your development code triggers a crash in
> Postgres, you don't really want that event to take out your production
> sessions. Also, you might want to run Postgres version x+1 for awhile
> as development before replacing version x for production.
I agree. (Note that this is dev/test/uat, not prod/dev).
But it really depends on his usage patterns and such. If he's not
planning on doing any functions in C, and assuming that testing of
things like pgsql / jboss / apache will be done on another system
entirely, then it might well be easier to run everything from one
database server.
I think we need to know more about the planned usage to really say one
way or the other.
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: smarlowe@g2switchworks.com, tgl@sss.pgh.pa.us, nigel.henry@state.nm.us
Subject: Re: Isolated databases or instances
In-Reply-To: <1171663001.3565.106.camel@state.g2switchworks.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