Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id CB32D632771 for ; Thu, 14 Jan 2010 20:46:35 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 42742-04 for ; Fri, 15 Jan 2010 00:46:18 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.postnewspapers.com.au (202-89-185-120.static.dsl.amnet.net.au [202.89.185.120]) by mail.postgresql.org (Postfix) with ESMTP id 0178B63276D for ; Thu, 14 Jan 2010 20:46:24 -0400 (AST) Received: from localhost (access [127.0.0.1]) by mail.postnewspapers.com.au (Postfix) with ESMTP id 9436C1E044E; Fri, 15 Jan 2010 08:46:21 +0800 (WST) X-Virus-Scanned: Debian amavisd-new at postnewspapers.com.au Received: from mail.postnewspapers.com.au ([127.0.0.1]) by localhost (access.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BwcK4sosgS-P; Fri, 15 Jan 2010 08:46:20 +0800 (WST) Received: from [10.1.1.6] (124-169-133-89.dyn.iinet.net.au [124.169.133.89]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Craig Ringer", Issuer "POST Certificate Authority" (verified OK)) by mail.postnewspapers.com.au (Postfix) with ESMTPSA id 7E7721E044B; Fri, 15 Jan 2010 08:46:19 +0800 (WST) Message-ID: <4B4FBAD1.4040304@postnewspapers.com.au> Date: Fri, 15 Jan 2010 08:46:09 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: Dave Crooke CC: Carlo Stonebanks , pgsql-performance@postgresql.org Subject: Re: New server to improve performance on our large and busy DB - advice? (v2) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.882 tagged_above=-10 required=5 tests=AWL=-0.883, BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 201001/321 X-Sequence-Number: 37201 On 15/01/2010 6:35 AM, Dave Crooke wrote: > I'll bite .... > > > 1. In general, RAID-10 is the only suitable RAID configuration for a > database. The decision making comes in how many drives, and splitting > stuff up into LUNs (like putting pg_xlog on its own LUN). > > > The biggest problem with Postgres on Windows is that it only comes in > 32-bit. RAM is the ultimate performance tweak for an RDBMS, and to make > proper use of modern amounts of RAM, you need a 64-bit executable. .... though that's much less important for Pg than for most other things, as Pg uses a one-process-per-connection model and lets the OS handle much of the caching. So long as the OS can use all that RAM for caching, Pg will benefit, and it's unlikely you need >2GB for any given client connection or for the postmaster. It's nice to have the flexibility to push up shared_buffers, and it'd be good to avoid any overheads in running 32-bit code on win64. However, it's not that unreasonable to run a 32-bit Pg on a 64-bit OS and expect good performance. You can always go 64-bit once 8.5/9.0 hits and has stabilized, anyway. -- Craig Ringer