X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id BB1BAD1B8B7 for ; Tue, 2 Mar 2004 20:51:27 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 30226-05 for ; Tue, 2 Mar 2004 16:51:27 -0400 (AST) Received: from lorax.kcilink.com (lorax.kciLink.com [206.112.95.1]) by svr1.postgresql.org (Postfix) with ESMTP id D64BED1B8B6 for ; Tue, 2 Mar 2004 16:51:25 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by lorax.kcilink.com (Postfix) with ESMTP id 523863F2A for ; Tue, 2 Mar 2004 15:51:27 -0500 (EST) Received: from lorax.kcilink.com ([127.0.0.1]) by localhost (lorax.kcilink.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03076-06 for ; Tue, 2 Mar 2004 15:51:26 -0500 (EST) Received: from lorax.kcilink.com (localhost [127.0.0.1]) by lorax.kcilink.com (Postfix) with ESMTP id B26463F29 for ; Tue, 2 Mar 2004 15:51:26 -0500 (EST) Received: (from news@localhost) by lorax.kcilink.com (8.12.9p2/8.12.9/Submit) id i22KpQxM076937 for pgsql-performance@postgresql.org; Tue, 2 Mar 2004 15:51:26 -0500 (EST) (envelope-from news) To: pgsql-performance@postgresql.org Path: not-for-mail From: Vivek Khera Newsgroups: ml.postgres.performance Subject: Re: Database Server Tuning Date: Tue, 02 Mar 2004 15:51:26 -0500 Organization: Khera Communications, Inc., Rockville, MD Lines: 20 Message-ID: References: <200402262128.i1QLS4VD023380@mxsf20.cluster1.charter.net> NNTP-Posting-Host: yertle.kcilink.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: lorax.kcilink.com 1078260686 79461 65.205.34.180 (2 Mar 2004 20:51:26 GMT) X-Complaints-To: daemon@kciLink.com NNTP-Posting-Date: Tue, 2 Mar 2004 20:51:26 +0000 (UTC) User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Reasonable Discussion, berkeley-unix) Cancel-Lock: sha1:ix7dXNgyUHZnc1j3O6jp4dyFU+w= X-Virus-Scanned: by amavisd-new at kcilink.com X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/21 X-Sequence-Number: 5877 >>>>> "JA" == John Allgood writes: JA> I am planning on separating the OS, Data, WAL on to separate drives JA> which will be mirrored. I am looking for input on setting kernel parameters, JA> and Postgres server runtime parameters and other settings relating to I did a bunch of testing with different RAID levels on a 14 disk array. I finally settled on this: RAID5 across 14 disks for the data, the OS (including syslog directory) and WAL on a RAID1 pair on the other channel of the same controller (I didn't want to spring for dual RAID controllers). The biggest bumps in performance came from increasing the checkpoint_buffers since my DB is heavily written to, and increasing sort_mem. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-301-869-4449 x806 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/