From: Bhartendu Maheshwari <bhartendum@jataayusoft.com>
To: pgsql-admin@postgresql.org
Subject: Re: Running Postgres Daemons with same data files
Date: 11 Dec 2003 10:33:55 +0530
Message-ID: <1071119035.4503.2.camel@bharat> (raw)
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>
Dear All,
I got all your points, thanks for such a great discussion, Now the last
thing I want is how can I close the data files and flush the cache into
the data files. How can I do this in postgresql????
I will also try with RAID and other suggested way you all suggested.
regards
bhartendu
On Thu, 2003-12-11 at 00:46, John Gibson wrote:
> 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
> >
> >
> >
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
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: bhartendum@jataayusoft.com
Subject: Re: Running Postgres Daemons with same data files
In-Reply-To: <1071119035.4503.2.camel@bharat>
References: <1071030083.16487.55.camel@bharat> <200312092108.12854.uwe@oss4u.com> <1071049881.2741.12.camel@bharat> <3FD77127.4060401@edgate.com> <1071119035.4503.2.camel@bharat>
* 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