From: Tim Ellis <Tim.Ellis@gamet.com>
To: Andrew Perrin <clists@perrin.socsci.unc.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: multiple instances on one box?
Date: Mon, 3 Jun 2002 16:53:37 -0700
Message-ID: <20020603165337.487138be.Tim.Ellis@gamet.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0206031518000.20154-100000@perrin.socsci.unc.edu>
References: <20020603113049.7a45a143.Tim.Ellis@gamet.com>
<Pine.LNX.4.21.0206031518000.20154-100000@perrin.socsci.unc.edu>
On Mon, 3 Jun 2002 15:18:26 -0400 (EDT)
Andrew Perrin <clists@perrin.socsci.unc.edu> wrote:
> > To elaborate, I want to start one Postgres listening on say 7000 for
> > $DATA=/opt/pgdata1 and another Postgres listening on say 7100 for
> > $DATA=/opt/pgdata2.
>
> What's the reason for doing this? Just use separate databases -- if
> necessary, with different users given permissions on each -- in the same
> postmaster instance.
Easy mobility of databases from one computer to another.
Theory says different databases within one instance and different
instances have the same expressive power. Therefore, theory would dictate,
moving a database between instances is as easy as moving instances between
computers.
Reality is that moving a database from one instance to another is more
difficult than moving an instance from one computer to another. The former
requires specialised tools that are complicated and error-prone. The
latter requires generic tools (you know, like 'scp') that are simple.
In saying that, I make an assumption: that Postgres is similar to Sybase
or Oracle and that once a database achieves a certain complexity, the
tools (that allow database migration on small example databases) don't
scale to multi-gigabyte multi-hundred relations databases.
YMMV.
I'm still interested in knowing if running multiple instances on a single
computer is possible and how to do it. :)
--
Tim Ellis
DBA, Gamet
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: Tim.Ellis@gamet.com, clists@perrin.socsci.unc.edu
Subject: Re: multiple instances on one box?
In-Reply-To: <20020603165337.487138be.Tim.Ellis@gamet.com>
References: <20020603113049.7a45a143.Tim.Ellis@gamet.com> <Pine.LNX.4.21.0206031518000.20154-100000@perrin.socsci.unc.edu> <20020603165337.487138be.Tim.Ellis@gamet.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