Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 897A46329C7 for ; Thu, 1 Jul 2010 11:15:27 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 51688-07 for ; Thu, 1 Jul 2010 14:15:18 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mail.postgresql.org (Postfix) with ESMTP id C62C063275E for ; Thu, 1 Jul 2010 11:15:19 -0300 (ADT) Received: from [10.0.221.83] (client-7-148.visitor-network.oxuni.org.uk [192.76.7.148]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0MCx2B-1OMJvC0hMZ-009f0K; Thu, 01 Jul 2010 16:15:17 +0200 Message-ID: <4C2CA2F4.8080501@2ndquadrant.com> Date: Thu, 01 Jul 2010 15:15:16 +0100 From: Greg Smith User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Joachim Worringen CC: postgresql performance Subject: Re: optimal ZFS filesystem on JBOD layout References: <4C2C94B8.6080606@iathh.de> In-Reply-To: <4C2C94B8.6080606@iathh.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+zg0QrQ/jTcp40FYDoDhais6qlp/6zDqRaweC M+y3qFHfeiIM8NhKJgWaSYsAtCgQT9/czLdtYIGyQMFDuSOArO lIj0C2B3uogHMNl0SKlenH9Tp7NqhiK X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.5 tagged_above=-10 required=5 tests=BAYES_05=-0.5, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201007/9 X-Sequence-Number: 39398 Joachim Worringen wrote: > Potential issues that I see: > - the ZFS ZIL will not benefit from a BBU (as it is connected to the > backplane, driven by the onboard-RAID), and might be too small (32GB > for ~2TB of data with lots of writes)? This is a somewhat unpredictable setup. The conservative approach would be to break two disks out of the larger array for the ZIL, running through the battery-backed cache, rather than using the SSD drives for that. The best way IMHO to use SSD for PostgreSQL is to put your large indexes on it, so that even if the drive does the wrong thing when you write and the index gets corrupted you can always rebuild them rather than suffer data loss. Also, index writes really benefit from being on something with low seek times, moreso than the ZIL or WAL. -- Greg Smith 2ndQuadrant US Baltimore, MD PostgreSQL Training, Services and Support greg@2ndQuadrant.com www.2ndQuadrant.us