Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XzDiq-0002l6-Ea for pgsql-performance@arkaria.postgresql.org; Fri, 12 Dec 2014 00:04:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XzDip-0003EA-Ce for pgsql-performance@arkaria.postgresql.org; Fri, 12 Dec 2014 00:04:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XzDio-0003E3-87 for pgsql-performance@postgresql.org; Fri, 12 Dec 2014 00:04:38 +0000 Received: from mail.catalyst.net.nz ([2404:130:0:10::40:0]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XzDif-0007E7-2s for pgsql-performance@postgresql.org; Fri, 12 Dec 2014 00:04:34 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.catalyst.net.nz (Postfix) with ESMTP id 1671A32365; Fri, 12 Dec 2014 13:04:22 +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 Sidhcv112j2N; Fri, 12 Dec 2014 13:04:20 +1300 (NZDT) Received: from [IPv6:2404:130:0:1000:6cb4:3dc1:8136:89c1] (unknown [IPv6:2404:130:0:1000:6cb4:3dc1:8136:89c1]) (Authenticated sender: mark.kirkwood) by mail.catalyst.net.nz (Postfix) with ESMTPSA id F323631D73; Fri, 12 Dec 2014 13:04:19 +1300 (NZDT) Message-ID: <548A3103.70203@catalyst.net.nz> Date: Fri, 12 Dec 2014 13:04:19 +1300 From: Mark Kirkwood User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Eric Pierce , Evgeniy Shishkin , Andrea Suisani CC: "mfatticcioni@mbigroup.it" , "pgsql-performance@postgresql.org" Subject: Re: Tuning the configuration References: <548823F8.4070003@mbigroup.it> <548987D7.7040304@opinioni.net>, <6B084BAC-82C6-410A-88D4-9CDC01DA8C09@gmail.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) 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 On 12/12/14 11:36, Eric Pierce wrote: > > ________________________________________ > From: pgsql-performance-owner@postgresql.org on behalf of Evgeniy Shishkin > Sent: Thursday, December 11, 2014 7:11 AM > To: Andrea Suisani > Cc: mfatticcioni@mbigroup.it; pgsql-performance@postgresql.org > Subject: Re: [PERFORM] Tuning the configuration > >> On 11 Dec 2014, at 15:02, Andrea Suisani wrote: >> >> On 12/10/2014 11:44 AM, Maila Fatticcioni wrote: >>> 2- I would like to use the two SDD to store the wal file. Do you think >>> it is useful or how should I use them? >> >> I definitely would give it a try. >> > > >> I don't understand the logic behind using drives, >> which are best for random io, for sequent io workloads. > >> Better use 10k sas with BBU raid for wal, money wise. > > Very much agree with this. Because SSD is fast doesn't make it suited for certain things, and a streaming sequential 100% write workload is one of them. I've worked with everything from local disk to high-end SAN and even at the high end we've always put any DB logs on spinning disk. RAID1 is generally sufficient. SSD is king for read heavy random I/O workload. > Mind you wal is a little different - the limiting factor is (usually) not raw sequential speed but fsync latency. These days a modern SSD has fsync response pretty much equal to that of a card with BBU + spinners - and has "more" high speed storage available (cards usually have only a 1G or so of RAM on them). regards Mark -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance