X-Original-To: pgsql-performance@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 4B66F4763A7 for ; Thu, 3 Apr 2003 00:34:03 -0500 (EST) Received: from davinci.ethosmedia.com (unknown [209.10.40.251]) by postgresql.org (Postfix) with ESMTP id 7B81C4763AB for ; Thu, 3 Apr 2003 00:33:51 -0500 (EST) Received: from [63.195.55.98] (HELO temoku) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.0.2) with ESMTP id 2939505; Wed, 02 Apr 2003 21:33:45 -0800 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Chris Hedemark , Subject: Re: ext3 filesystem / linux 7.3 Date: Wed, 2 Apr 2003 21:33:44 -0800 User-Agent: KMail/1.4.3 References: <322CCBF8-657E-11D7-8752-0003939CC61E@trilug.org> In-Reply-To: <322CCBF8-657E-11D7-8752-0003939CC61E@trilug.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200304022133.44511.josh@agliodbs.com> X-Spam-Status: No, hits=-31.6 required=5.0 tests=BAYES_10,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_KMAIL autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/28 X-Sequence-Number: 1534 Chris, > ...there is waaay too much hearsay going on in this thread. Let's come= =20 > up with an acceptable test battery and actually settle it once and for=20 > all with good hard numbers. It would be worth my while to spend some=20 > time on this since the developers I support currently hate pgsql due to= =20 > performance complaints (on servers that predate my employment there).=20= =20 > So if I am going to move them to better servers it would be worth my=20 > while to do some homework on what OS and FS is best. You're not going to be able to determine this for certain, but at least you= =20 should be able to debunk some myths. Here's my suggested tests: 1) Read-only test -- numerous small rapidfire queries in the fashion of a P= HP=20 web application. PGBench already does this one test ok, maybe you could us= e=20 that. 2) Complex query test -- run a few 12-table queries with CASE statements,= =20 custom functions and subselects and/or UNIONs.=20=20=20 3) Transaction Test -- hit the database with numerous rapid-fire single row= =20 updates to a few tables. 4) OLAP Test -- do a few massive updates to thousands of rows based on rela= ted=20 data and/or cascading updates to multiple tables and dozens-hundreds of row= s.=20=20 Create large temp tables based on Joe Conway's Crosstab. 5) Mixed use test: combine 1, 2, & 3 in a ratio of 70% 10% 20% on several= =20 simultaneous connections. Of course this requires us to have a sample database with at least 100,000= =20 rows of data in one or two tables plus at least 5-10 additional tables with= =20 realistically complex relationships. Donor, anyone? Also, we'll have to talk about .conf files ... --=20 -Josh Berkus Aglio Database Solutions San Francisco