Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id EF4F0632915 for ; Wed, 11 Aug 2010 21:46:20 -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 73423-05 for ; Thu, 12 Aug 2010 00:46:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from FS.denninger.net (wsip-70-169-168-7.pn.at.cox.net [70.169.168.7]) by mail.postgresql.org (Postfix) with ESMTP id EBA75632892 for ; Wed, 11 Aug 2010 21:46:12 -0300 (ADT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by FS.denninger.net (8.14.4/8.13.1) with ESMTP id o7C0kAUH029197 for ; Wed, 11 Aug 2010 19:46:11 -0500 (CDT) (envelope-from karl@denninger.net) Received: from [127.0.0.1] [192.168.1.40] by Spamblock-sys (LOCAL); Wed Aug 11 19:46:11 2010 Message-ID: <4C634422.2090602@denninger.net> Date: Wed, 11 Aug 2010 19:45:22 -0500 From: Karl Denninger User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Scott Carey CC: Scott Marlowe , Brad Nicholson , Greg Smith , Michael March , "pgsql-performance@postgresql.org" Subject: Re: Completely un-tuned Postgresql benchmark results: SSD vs desktop HDD References: <4C617C80.9080509@2ndquadrant.com> <4C619300.3080400@ca.afilias.info> <4C6196DB.8050307@denninger.net> <4C619C90.3090005@denninger.net> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: multipart/mixed; boundary="------------000106090903010107040400" X-Antivirus: avast! (VPS 100811-2, 08/11/2010), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.981 tagged_above=-10 required=5 tests=BAYES_20=-0.001, RDNS_DYNAMIC=0.982 X-Spam-Level: X-Archive-Number: 201008/134 X-Sequence-Number: 39977 This is a multi-part message in MIME format. --------------000106090903010107040400 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Scott Carey wrote: > > On Aug 10, 2010, at 11:38 AM, Karl Denninger wrote: > > ..... >> >> Most people who will do this won't reload it after a crash. They'll >> "inspect" the database and say "ok", and put it back online. Bad >> Karma will ensue in the future. > > Anyone going with something unconventional better know what they are > doing and not just blindly plug it in and think everything will be OK. > I'd never recommend unconventional setups for a user that wasn't an > expert and understood the tradeoff. True. >> >> Incidentally, that risk is not theoretical either (I know about this >> one from hard experience. Fortunately the master was still ok and I >> was able to force a full-table copy.... I didn't like it as the >> database was a few hundred GB, but I had no choice.) > > Been there with 10TB with hardware that should have been perfectly > safe. 5 days of copying, and wishing that pg_dump supported lzo > compression so that the dump portion had a chance at keeping up with > the much faster restore portion with some level of compression on to > save the copy bandwidth. Pipe it through ssh -C PS: This works for SLONY and Bucardo too - set up a tunnel and then change the port temporarily. This is especially useful when the DB being COPY'd across has big fat honking BYTEA fields in it, which otherwise expand about 400% - or more - on the wire. -- Karl --------------000106090903010107040400 Content-Type: text/x-vcard; charset=utf-8; name="karl.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="karl.vcf" begin:vcard fn:Karl Denninger n:Denninger;Karl email;internet:karl@denninger.net x-mozilla-html:TRUE version:2.1 end:vcard --------------000106090903010107040400--