From: Stef <svb@ucs.co.za>
To: pgsql-admin@postgresql.org
Subject: Multiple postmasters for one data directory...
Date: Thu, 11 Mar 2004 16:52:56 +0200
Message-ID: <20040311165256.5a68e02a.svb@ucs.co.za> (raw)
Hi all,
I've got a situation on certain machines where approximately
70 postmasters are running. Each with one database, and one
data directory.
This is fine most of the time, except for a certain time of the month,
when a very large consolidation process has to run on each database.
At this time it is impossible to have all databases started with more shared
memory, and I basically lose the benefits of using a cluster that can make
use of much more memory at a time.
I've managed to make such a database cluster on a separate postmaster,
and re-linked all the database directories to point to the data directories
of all the other postmasters.
Although this workaround seems to be working rather well, I know for one
thing that it could be disastrous to have two postmasters running on the
same data directory at the same time, so I'll ensure that that doesn't happen.
Is what I'm doing VERY bad, and are there more things I'm overlooking?
Can this setup possibly break everything?
Kind Regards
Stefan
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: svb@ucs.co.za
Subject: Re: Multiple postmasters for one data directory...
In-Reply-To: <20040311165256.5a68e02a.svb@ucs.co.za>
References: <20040311165256.5a68e02a.svb@ucs.co.za>
* 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