Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 1209EB5DC4B for ; Fri, 28 Oct 2011 16:07:55 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 75888-05 for ; Fri, 28 Oct 2011 19:07:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from elizabeth.gransy.com (ns2.gransy.com [89.187.132.100]) by mail.postgresql.org (Postfix) with ESMTP id C4767B5D91F for ; Fri, 28 Oct 2011 16:07:44 -0300 (ADT) Received: from sq.gransy.com (localhost [127.0.0.1]) by elizabeth.gransy.com (Postfix) with ESMTP id 27C7C15E4124; Fri, 28 Oct 2011 21:07:44 +0200 (CEST) Received: from 78.45.133.255 (SquirrelMail authenticated user tv@fuzzy.cz) by sq.gransy.com with HTTP; Fri, 28 Oct 2011 21:07:44 +0200 Message-ID: <3c355a2313b1472a8ce429e05842f713.squirrel@sq.gransy.com> In-Reply-To: References: <4EAACA17.7010503@engene.se> <70afb7c488aca8f564f4b569f857747b.squirrel@sq.gransy.com> Date: Fri, 28 Oct 2011 21:07:44 +0200 Subject: Re: WAL in RAM From: "Tomas Vondra" To: "Merlin Moncure" Cc: "Tomas Vondra" , "Marcus Engene" , pgsql-performance@postgresql.org User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201110/263 X-Sequence-Number: 45485 On 28 Říjen 2011, 20:40, Merlin Moncure wrote: > sure, but then you have to have a more complicated setup with a > drive(s) designated for WAL, another for storage, etc. Also, your > argument falls away if the WAL is shared with another drive. The era > of the SSD is here. All new systems I plan will have SSD storage > unless cost pressures are extreme -- often with a single drive unless > you need the extra storage. If I need availability, instead of RAID, > I'll just build hot standby in. Well, sure - I'm actually a fan of SSDs. Using an SSDs for the datafiles, or using an SSD for the whole database (including WAL) makes sense, but my impression was that the OP wants to buy a new drive and use it for WAL only and that's not really cost effective I guess. Tomas