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

Re: Diferent Instances

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Rodrigo Sakai <rodrigo(at)2bfree(dot)com(dot)br>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Diferent Instances
Date: 2004-02-10 13:19:46
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
On Tue, Feb 10, 2004 at 10:13:42 -0200,
  Rodrigo Sakai <rodrigo(at)2bfree(dot)com(dot)br> wrote:
>   We are using PostgreSQL for a lot of distinct databases, and so the problem is, when occurs an error on just one database and we have to restart the postmaster process, it kills all the others databases that do not have problem, because there is only one instance controling the databases. But we are making an ASP, so we should not run into this kind of 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 way stop 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.

In response to

pgsql-admin by date

Next:From: Robert TreatDate: 2004-02-10 14:33:20
Subject: Re: reduce downtime when upgrading 7.3 -> 7.4
Previous:From: Russell ShawDate: 2004-02-10 12:31:54
Subject: Debian "dump" problem

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