Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 8780D9F9A37 for ; Tue, 11 Sep 2007 18:20:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 66897-07 for ; Tue, 11 Sep 2007 18:20:19 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id BB2779F99F3 for ; Tue, 11 Sep 2007 18:20:22 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id 0BA3756483; Tue, 11 Sep 2007 21:20:19 +0000 (UTC) Received: (hashcash-sendmail, from uid 1001); Tue, 11 Sep 2007 16:20:15 -0500 Date: Tue, 11 Sep 2007 16:20:15 -0500 From: Decibel! To: Tom Lane Cc: Greg Smith , pgsql-performance@postgresql.org Subject: Re: DRBD and Postgres: how to improve the perfomance? Message-ID: <20070911212015.GC38801@decibel.org> References: <2C070D1C3970467FF64F6B6A@imhotep.credativ.de> <1189232904.4281.19.camel@ebony.site> <87k5r1zd52.fsf@oxford.xeocode.com> <46E2CAAF.50205@commandprompt.com> <87642lyuey.fsf@oxford.xeocode.com> <46E2D5A9.3060304@commandprompt.com> <17162.1189400077@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="84RkL0PFxiU0hA0T" Content-Disposition: inline In-Reply-To: <17162.1189400077@sss.pgh.pa.us> X-Operating-System: FreeBSD 6.1-RELEASE-p10 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.13 (2006-08-11) X-Hashcash: 1:20:070911:tgl@sss.pgh.pa.us::15Y2OTr0uoA8oKC9:00000000000000000000 0000000000000000000000002i3d X-Hashcash: 1:20:070911:gsmith@gregsmith.com::/6lCxKc0gXOu07Da:00000000000000000 0000000000000000000000001W5w X-Hashcash: 1:20:070911:pgsql-performance@postgresql.org::b0QdxePgg0wQPJIi:00000 000000000000000000000000KG95 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/200 X-Sequence-Number: 26745 --84RkL0PFxiU0hA0T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 10, 2007 at 12:54:37AM -0400, Tom Lane wrote: > Greg Smith writes: > > On Sat, 8 Sep 2007, Joshua D. Drake wrote: > >> You would have to have lightning handed by God to your server to have = a=20 > >> total power failure without proper shutdown in the above scenario. >=20 > > Do you live somewhere without thunderstorms? This is a regular event i= n=20 > > this part of the world during the summer. It happened to me once this= =20 > > year and once last; lost count for previous ones. In both of the recen= t=20 > > cases it's believed the servers were burned from the Ethernet side beca= use=20 > > somewhere in the network was a poor switch that wasn't isolated well=20 > > enough from the grid when the building was hit. Lightning is tricky th= at=20 > > way; cable TV and satellite wiring are also weak links that way. >=20 > Yeah. I've lost half a dozen modems of varying generations, a server > motherboard, a TiVo, a couple of VCRs, and miscellaneous other equipment > from strikes near my house --- none closer than a couple blocks away. > I don't really care to think about what would still work after a direct > hit, despite the whole-house surge suppressor at the meter and the local > suppressor on each circuit and the allegedly surge-proof UPSes powering > all the valuable stuff. I've also moved heavily into wireless local Pretty much every surge supressor out there is a POS... 99.9% of them just wire a varistor across the line; like a $0.02 part is going to stop a 10,00+ amp discharge. The only use I have for those things is if they come with an equipment guarantee, though I have to wonder how much those are still honored, since as you mention it's very easy for equipment to be fried via other means (ethernet, monitor, etc). > net to eliminate any direct electrical connections between machines that > are not on the same power circuit (the aforesaid burned motherboard > taught me that particular lesson). And yet I still fear every time a > thunderstorm passes over. Wired is safe as long as everything's on the same circuit. My house is wired for ethernet with a single switch running what's going to every room, but in each room I have a second switch on the same power as whatever's in that room; so if there is a strike it's far more likely that I'll lose switches and not hardware. > Then of course there are the *other* risks, such as the place burning to > the ground, or getting drowned by a break in the city reservoir that's > a couple hundred yards up the hill (but at least I needn't worry about Invest in sponges. Lots of them. :) --=20 Decibel!, aka Jim Nasby decibel@decibel.org EnterpriseDB http://enterprisedb.com 512.569.9461 (cell) --84RkL0PFxiU0hA0T Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFG5waOdO30qud8SkgRAnzoAJ9oaNsQwJSxUSDFE+dWzOoTFPkMrQCfVQeI 7iW3x8F/IQUDjBkf1c+pQm8= =vuTn -----END PGP SIGNATURE----- --84RkL0PFxiU0hA0T--