Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TfJ1f-00080y-PT for pgsql-performance@arkaria.postgresql.org; Sun, 02 Dec 2012 23:32:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TfJ1e-0000v1-IJ for pgsql-performance@arkaria.postgresql.org; Sun, 02 Dec 2012 23:32:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TfJ1d-0000uw-Qj for pgsql-performance@postgresql.org; Sun, 02 Dec 2012 23:32:41 +0000 Received: from [2404:130:0:10::40:2] (helo=mail.catalyst.net.nz) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TfJ1a-0005YU-G9 for pgsql-performance@postgresql.org; Sun, 02 Dec 2012 23:32:41 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.catalyst.net.nz (Postfix) with ESMTP id C1CC1330CC; Mon, 3 Dec 2012 12:32:32 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at catalyst.net.nz Received: from mail.catalyst.net.nz ([127.0.0.1]) by localhost (bertrand.catalyst.net.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NWadJcml4Ltd; Mon, 3 Dec 2012 12:32:31 +1300 (NZDT) Received: from [IPv6:2404:130:0:1000:1119:4aa4:3d32:b281] (unknown [IPv6:2404:130:0:1000:1119:4aa4:3d32:b281]) (Authenticated sender: mark.kirkwood) by mail.catalyst.net.nz (Postfix) with ESMTPSA id AD718324F8; Mon, 3 Dec 2012 12:32:31 +1300 (NZDT) Message-ID: <50BBE57B.8010803@catalyst.net.nz> Date: Mon, 03 Dec 2012 12:34:19 +1300 From: Mark Kirkwood User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Vitalii Tymchyshyn CC: Kevin Grittner , =?UTF-8?B?TmllbHMgS3Jpc3RpYW4gU2No?= =?UTF-8?B?asO4ZHQ=?= , "pgsql-performance@postgresql.org" , sthomas@optionshouse.com, Willem Leenen Subject: Re: Optimize update query References: <20121130012426.69300@gmx.com> <855F8817-6C9A-4EFB-BB80-752BF7B73B56@autouncle.com> <50B87A1F.9020502@catalyst.net.nz> <50B93678.3090100@catalyst.net.nz> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2404:130:0:10::40:2 (failed) X-Pg-Spam-Score: -1.1 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Yeah, this area is changing very fast! I agree - choosing carefully is important, as there are still plenty of=20 older models around that are substantially slower. Also choice of=20 motherboard chipset can strongly effect overall performance too. The 6=20 Gbit/s ports on Sandy and Ivy bridge Mobos [1] seem to get close to that=20 rated performance out of the SSD that I've tested (Crucial m4, Intel=20 various). Cheers Mark [1] Which I think are actually Intel or Marvell controllers. On 03/12/12 00:14, Vitalii Tymchyshyn wrote: > Well, it seems that my data can be outdated, sorry for that. I've just > checked performance numbers on Tom's hardware and it seems that best sad > really do 500 MB/s. Some others do 100. So, I'd say one must choose wisely > (as always :-) ). > > Best regards, > Vitalii Tymchyshyn > 1 =D0=B3=D1=80=D1=83=D0=B4. 2012 00:43, "Mark Kirkwood" =D0=BD=D0=B0=D0=BF=D0=B8=D1=81. > >> Hmm - not strictly true as stated: 1 SSD will typically do 500MB/s >> sequential read/write. 1 HDD will be lucky to get a 1/3 that. >> >> We are looking at replacing 4 to 6 disk RAID10 arrays of HDD with a RAID1 >> pair of SSD, as they perform about the same for sequential work and vast= ly >> better at random. Plus they only use 2x 2.5" slots (or, ahem 2x PCIe >> sockets), so allow smaller form factor servers and save on power and >> cooling. >> >> Cheers >> >> Mark >> >> On 30/11/12 23:07, Vitalii Tymchyshyn wrote: >> >>> Oh, yes. I don't imagine DB server without RAID+BBU :) >>> When there is no BBU, SSD can be handy. >>> But you know, SSD is worse in linear read/write than HDD. >>> >>> Best regards, Vitalii Tymchyshyn >>> >>> >>> 2012/11/30 Mark Kirkwood >> = >> >>> >>> Most modern SSD are much faster for fsync type operations than a >>> spinning disk - similar performance to spinning disk + writeback >>> raid controller + battery. >>> >>> However as you mention, they are great at random IO too, so Niels, >>> it might be worth putting your postgres logs *and* data on the SSDs >>> and retesting. >>> >>> --=20 Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance