X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 97DACD1B4A8 for ; Wed, 10 Dec 2003 19:09:44 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 98386-10 for ; Wed, 10 Dec 2003 15:09:14 -0400 (AST) Received: from mxsf18.cluster1.charter.net (mxsf18.cluster1.charter.net [209.225.28.218]) by svr1.postgresql.org (Postfix) with ESMTP id 3C0A2D1B462 for ; Wed, 10 Dec 2003 15:09:12 -0400 (AST) Received: from edgate.com (24-205-76-103.pas-eres.charterpipeline.net [24.205.76.103]) by mxsf18.cluster1.charter.net (8.12.10/8.12.8) with ESMTP id hBAJ6owa040584 for ; Wed, 10 Dec 2003 14:06:50 -0500 (EST) (envelope-from gib@edgate.com) Message-ID: <3FD77127.4060401@edgate.com> Date: Wed, 10 Dec 2003 11:16:55 -0800 From: John Gibson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Running Postgres Daemons with same data files References: <1071030083.16487.55.camel@bharat> <200312092108.12854.uwe@oss4u.com> <1071049881.2741.12.camel@bharat> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/138 X-Sequence-Number: 11646 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 > > >