Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id A6B49B5DC31 for ; Tue, 16 Aug 2011 22:41:35 -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 35909-10 for ; Wed, 17 Aug 2011 01:41:28 +0000 (UTC) X-Greylist: delayed 00:06:23.396573 by SQLgrey-1.7.6 Received: from fallback-in2.mxes.net (fallback-out2.mxes.net [216.86.168.191]) by mail.postgresql.org (Postfix) with ESMTP id 8C869B5DC26 for ; Tue, 16 Aug 2011 22:41:28 -0300 (ADT) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by fallback-in1.mxes.net (Postfix) with ESMTP id AA6C52FD7B7 for ; Tue, 16 Aug 2011 21:35:06 -0400 (EDT) Received: from [10.0.1.7] (unknown [69.245.205.64]) by smtp.mxes.net (Postfix) with ESMTPA id 657B550A6A for ; Tue, 16 Aug 2011 21:35:04 -0400 (EDT) From: Ogden Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Tuning Tips for a new Server Date: Tue, 16 Aug 2011 20:35:03 -0500 Message-Id: <959BD2FA-0312-458B-BD5F-ED358D2C47ED@darkstatic.com> To: pgsql-performance@postgresql.org Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) 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: 201108/171 X-Sequence-Number: 44618 Hope all is well. I have received tremendous help from this list prior = and therefore wanted some more advice.=20 I bought some new servers and instead of RAID 5 (which I think greatly = hindered our writing performance), I configured 6 SCSI 15K drives with = RAID 10. This is dedicated to /var/lib/pgsql. The main OS has 2 SCSI 15K = drives on a different virtual disk and also Raid 10, a total of 146Gb. I = was thinking of putting Postgres' xlog directory on the OS virtual = drive. Does this even make sense to do? The system memory is 64GB and the CPUs are dual Intel E5645 chips (they = are 6-core each).=20 It is a dedicated PostgreSQL box and needs to support heavy read and = moderately heavy writes.=20 Currently, I have this for the current system which as 16Gb Ram: max_connections =3D 350 work_mem =3D 32MB maintenance_work_mem =3D 512MB wal_buffers =3D 640kB # This is what I was helped with before and made reporting queries blaze = by seq_page_cost =3D 1.0 random_page_cost =3D 3.0 cpu_tuple_cost =3D 0.5 effective_cache_size =3D 8192MB Any help and input is greatly appreciated.=20 Thank you Ogden=