Skip site navigation (1) Skip section navigation (2)

Multiple postmasters for one data directory...

From: Stef <svb(at)ucs(dot)co(dot)za>
To: pgsql-admin(at)postgresql(dot)org
Subject: Multiple postmasters for one data directory...
Date: 2004-03-11 14:52:56
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
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


pgsql-admin by date

Next:From: Joshua D. DrakeDate: 2004-03-11 14:55:06
Subject: Re: [PERFORM] syslog slowing the database?
Previous:From: Pablo MarreroDate: 2004-03-11 13:54:03
Subject: started Data Warehousing

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group