Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 262341337BD8 for ; Mon, 11 Apr 2011 16:07:18 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 97354-02-5 for ; Mon, 11 Apr 2011 19:07:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id CF5AD1337BD7 for ; Mon, 11 Apr 2011 16:06:49 -0300 (ADT) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Mon, 11 Apr 2011 14:06:49 -0500 Message-Id: <4DA30AF0020000250003C67D@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Mon, 11 Apr 2011 14:06:40 -0500 From: "Kevin Grittner" To: "Gerhard Hintermayer" , "pgsql-admin" Subject: Re: Re: multiple hot standby streaming replication scenario with "rotating" the primary server References: <4DA2E174020000250003C650@gw.wicourts.gov> <4DA2F31C020000250003C665@gw.wicourts.gov> <4DA2FA41020000250003C672@gw.wicourts.gov> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.409 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FS_REPLICA=3.599, SARE_SPEC_REPLICA=0.72, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: ** X-Archive-Number: 201104/92 X-Sequence-Number: 37273 Gerhard Hintermayer wrote: > Just checked my indices, looks like the only table in all my 5 > DB's that has a hash index is the one I ran tests on. Well, actually that's pretty lucky. If you'd tested with other indexes, you might have gone live with the broken index. I would seriously consider converting the index to btree at this point, to simplify life, unless you can show a significant performance benefit with the hash index running your actual application mix. > But the other thing is the huge amount of transfer volume when > rsyncing the data dir from the new primary to set up the new > replication slaves. But this should go away when I stop using > REINDEX DATABASE, right ? That should make a big difference, yeah. -Kevin