pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Gibson <gib@edgate.com>
To: pgsql-admin@postgresql.org
Subject: Re: Running Postgres Daemons with same data files
Date: Wed, 10 Dec 2003 11:16:55 -0800
Message-ID: <3FD77127.4060401@edgate.com> (raw)
References: <1071030083.16487.55.camel@bharat>
	<200312092108.12854.uwe@oss4u.com>
	<1071049881.2741.12.camel@bharat>

Bhartendu,

In my humble opinion, you would be well served if you listened to all 
the nice people on this list.

Use a local disk subsystems with RAID-type storage, use replication to 
have a  second "standby" system available if the first one fails.

The path you seem anxious to trod will get very muddy and slippery.

Good Luck.

...john

Bhartendu Maheshwari wrote:

>Dear UC,
>
>You are right for the HA solution but at the same time we are also
>implementing the load balancing solution so we can't have for one Node 2
>different processing entity and database as well. We try to provide
>solution for HA, load balancing both and in that there are 2 different
>processing machine but sharing the common database so that both get the
>latest and synchronized data files.
>
>You are right if the NAS is down then everything get down but the
>probability for the NAS is down is very less and by this we are able to
>provide service for 99% cases and if you are 99% handle cases then you
>are providing good service, isn't?
>
>About the cache to file write :- If the database is writting all the
>stuff to the files after each transaction then both have one
>synchronized set of data file whoever want can acquire the lock and use
>and then unlock it. The MySQL have command "flush tables" to enforce the
>database to write all the cache contents to the files, Is there anything
>similar in postgres? This will definitely degrade the performance of my
>system but its much more fast since I have 2 processing unit.
>
>Anyway if somebody have some other solution for the same please help me.
>One I got have one common postmaster running on one PC and the two nodes
>connect to that server to get the data. Any other please let me know.
>
>regards
>bhartendu
>
>  
>





view thread (22+ messages)  latest in thread

Message-ID: <3FD77127.4060401@edgate.com>
Permalink:  ../3FD77127.4060401@edgate.com/
Also on:    postgresql.org/message-id/3FD77127.4060401@edgate.com

 · 

reply

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: gib@edgate.com
  Subject: Re: Running Postgres Daemons with same data files
  In-Reply-To: <3FD77127.4060401@edgate.com>
  References: <1071030083.16487.55.camel@bharat> <200312092108.12854.uwe@oss4u.com> <1071049881.2741.12.camel@bharat> <3FD77127.4060401@edgate.com>

* 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