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 A6FF2D1B4FA for ; Wed, 12 Nov 2003 17:38:42 +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 23157-08 for ; Wed, 12 Nov 2003 13:38:12 -0400 (AST) Received: from node-4024d1a2.mdw.onnet.us.uu.net (nsit-s229-45.uchicago.edu [128.135.229.45]) by svr1.postgresql.org (Postfix) with ESMTP id BF669D1B50C for ; Wed, 12 Nov 2003 13:38:10 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by node-4024d1a2.mdw.onnet.us.uu.net (Postfix) with ESMTP id 1E7D337D0A for ; Wed, 12 Nov 2003 11:34:42 -0600 (CST) Subject: performance optimzations From: Suchandra Thapa To: pgsql-performance@postgresql.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-P64FTYF3MjJ2djem0LYO" Organization: Message-Id: <1068658430.1071.42.camel@hepcat> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 12 Nov 2003 11:34:41 -0600 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/72 X-Sequence-Number: 4632 --=-P64FTYF3MjJ2djem0LYO Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I'm moving a webmail service over to use a postgresql database for storage and wanted to get any tips for optimizing performance. The machine will be a multiprocessor (either 2 or 4 cpu ) system with a raid array. What layout should be used? I was thinking using about using a raid 1+0 array to hold the database but since I can use different array types, would it be better to use 1+0 for the wal logs and a raid 5 for the database? The database gets fairly heavy activity (the system handles about 500MB of incoming and about 750MB of outgoing emails daily). I have a fairly free rein in regards to the system's layout as well as how the applications will interact with the database since I'm writing the code.=20=20 --=20 Suchandra Thapa --=-P64FTYF3MjJ2djem0LYO Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA/sm7+6nShCjt5AZIRAh79AKCmQ3R4/p+myiLn8aRSxSDSTKdBzwCfaSgK gAxvE8cnf1azIdkoECAsO7s= =gNB3 -----END PGP SIGNATURE----- --=-P64FTYF3MjJ2djem0LYO--