Re: Diferent Instances - Mailing list pgsql-admin

From Bruno Wolff III
Subject Re: Diferent Instances
Date
Msg-id 20040210131946.GB24722@wolff.to
Whole thread Raw
In response to Diferent Instances  ("Rodrigo Sakai" <rodrigo@2bfree.com.br>)
List pgsql-admin
On Tue, Feb 10, 2004 at 10:13:42 -0200,
  Rodrigo Sakai <rodrigo@2bfree.com.br> wrote:
>
>   We are using PostgreSQL for a lot of distinct databases, and so the problem is, when occurs an error on just one
databaseand we have to restart the postmaster process, it kills all the others databases that do not have problem,
becausethere is only one instance controling the databases. But we are making an ASP, so we should not run into this
kindof problem. 
>   I think abut a solution, if I make initdb for each database, instaling it inside a new folder, like initdb -D
/postgresql/datadb1/........... 
> initdb -D /postgresql/datadb2/ and so on....! Then i think I can initialize each database one by one, and in the same
waystop and restart them. 
>   Is it a good idea or not??? Is there a better way to do what I want ???

What kind of errors are occurring that require restarting postgres to clear?

You probably want to avoid running each database with a separate postmaster.

pgsql-admin by date:

Previous
From: Russell Shaw
Date:
Subject: Debian "dump" problem
Next
From: Robert Treat
Date:
Subject: Re: reduce downtime when upgrading 7.3 -> 7.4