From: | Chris Browne <cbbrowne(at)acm(dot)org> |
---|---|
To: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: Is it possible to start two instances of postgresql? |
Date: | 2006-06-15 15:01:51 |
Message-ID: | 60mzcetqcg.fsf@dba2.int.libertyrms.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
kah_hang_ang(at)toray(dot)com(dot)my writes:
> Is it possible to start two instances of postgresql with different port and
> directory which run simultaneously?
Certainly. We have one HACMP cluster which hosts 14 PostgreSQL
instances across two physical boxes. (If one went down, they'd all
migrate to the survivor...)
> If can then will this cause any problem or performance drop down?
There certainly can be; the databases will be sharing disks, memory,
and CPUs, so if they are avidly competing for resources, the
competition is sure to have some impact on performance.
Flip side: That 14 database cluster has several databases that are
known to be very lightly used; they *aren't* competing, and aren't a
problem.
Consider it obvious that if you haven't enough memory or I/O bandwidth
to cover your two PG instances, you'll find performance sucks... If
you have enough, then it can work fine...
--
select 'cbbrowne' || '@' || 'acm.org';
http://cbbrowne.com/info/linuxxian.html
"At Microsoft, it doesn't matter which file you're compiling, only
which flags you #define." -- Colin Plumb
From | Date | Subject | |
---|---|---|---|
Next Message | jody brownell | 2006-06-15 15:02:50 | Re: Postgres consuming way too much memory??? |
Previous Message | Tom Lane | 2006-06-15 14:27:33 | Re: Test request for Stats collector performance improvement |