Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 7832F2E0038 for ; Mon, 28 Apr 2008 19:28:18 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 84029-02 for ; Mon, 28 Apr 2008 19:28:15 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by developer.postgresql.org (Postfix) with ESMTP id 1ACB42E0057 for ; Mon, 28 Apr 2008 19:28:15 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.1/8.14.1) with ESMTP id m3SMSBJ8049981 for ; Mon, 28 Apr 2008 19:28:11 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.1/8.14.1/Submit) id m3SM40DL036201 for pgsql-performance@postgresql.org; Mon, 28 Apr 2008 19:04:00 -0300 (ADT) (envelope-from news) From: Chris Browne X-Newsgroups: pgsql.performance Subject: Re: Replication Syatem Date: Mon, 28 Apr 2008 17:43:57 -0400 Organization: cbbrowne Computing Inc Lines: 24 Message-ID: <60wsmh64f6.fsf@dba2.int.libertyrms.com> References: <7e4ba9550804280638ie81dc23w472785c83cd38fcf@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.hub.org User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (linux) Cancel-Lock: sha1:NCaFYqGzkW1nsI29T+s/fWPzj2w= To: pgsql-performance@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.19 tagged_above=0 required=5 tests=AWL=-1.709, FS_REPLICA=1.179, SARE_SPEC_REPLICA=0.72 X-Spam-Level: X-Archive-Number: 200804/418 X-Sequence-Number: 29911 meetgaurikanekar@gmail.com ("Gauri Kanekar") writes: > We have a table "table1" which get insert and updates daily in high > numbers, bcoz of which its size is increasing and we have to vacuum > it every alternate day. Vacuuming "table1" take almost 30min and > during that time the site is down. We need to cut down on this > downtime.So thought of having a replication system, for which the > replicated DB will be up during the master is getting vacuumed. Can > anybody guide which will be the best suited replication solution for > this. The only reason that it would be necessary for VACUUM to "take the site down" would be if you are running version 7.1, which was obsoleted in 2002, which, it should be noted, was SIX YEARS AGO. As has been noted, you seem to be presupposing a remarkably complex solution to resolve a problem which is likely to be better handled via running VACUUM rather more frequently. -- output = reverse("ofni.sesabatadxunil" "@" "enworbbc") http://www3.sympatico.ca/cbbrowne/postgresql.html Rules of the Evil Overlord #181. "I will decree that all hay be shipped in tightly-packed bales. Any wagonload of loose hay attempting to pass through a checkpoint will be set on fire."