Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 1DC601DACBC3 for ; Wed, 4 Jan 2012 14:44:17 -0400 (AST) Received: from gwmta.wicourts.gov ([165.219.244.99] helo=gw.wicourts.gov) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RiVos-0008QL-O8 for pgsql-admin@postgresql.org; Wed, 04 Jan 2012 18:44:16 +0000 Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Wed, 04 Jan 2012 12:44:01 -0600 Message-Id: <4F04498F020000250004438B@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Wed, 04 Jan 2012 12:43:59 -0600 From: "Kevin Grittner" To: "pgsql-admin" , "Benjamin Krajmalnik" Subject: Re: Problem with pgstat timeouts References: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Pg-Spam-Score: -6.1 (------) X-Archive-Number: 201201/16 X-Sequence-Number: 38928 =22Benjamin Krajmalnik=22 wrote: =20 > Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache > if Bad BBU > Current Cache Policy: WriteThrough, ReadAhead, Direct, No Write > Cache if Bad BBU =20 > Is it possible that the WriteThrough is what is causing the high > io (and maybe the pgstat wait timeouts as well)? =20 Yes. =20 > If this is the case, would it be safe to change the cache to Write > back? =20 Maybe. How did it get into this (non-default) state? Are batteries installed and healthy? =20 > Additionally, and somewhat unrelated, is there anything special > which I need to do when restarting the primary server vis-=E0-vis > the streaming replication server? In other words, if I were to > restart the main server, will the streaming replication server > reconnect and pick up once the primary comes online? =20 I think that should be pretty automatic as long as you haven=27t promoted the standby to be the new master. =20 -Kevin