X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BA03B329E23 for ; Sat, 18 Sep 2004 17:35:56 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 60686-10 for ; Sat, 18 Sep 2004 16:35:51 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 289CC329CDB for ; Sat, 18 Sep 2004 17:35:51 +0100 (BST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i8IGZplF004927; Sat, 18 Sep 2004 12:35:51 -0400 (EDT) To: ischamay.andbergsay@activestateway.com Cc: pgsql-performance@postgresql.org Subject: Re: Tryint to match Solaris-Oracle performance with directio? In-reply-to: References: Comments: In-reply-to Mischa Sandberg message dated "Fri, 17 Sep 2004 19:23:08 +0000" Date: Sat, 18 Sep 2004 12:35:50 -0400 Message-ID: <4926.1095525350@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/193 X-Sequence-Number: 8321 Mischa Sandberg writes: > Our product (Sophos PureMessage) runs on a Postgres database. > Some of our Solaris customers have Oracle licenses, and they've > commented on the performance difference between Oracle and Postgresql > on such boxes. In-house, we've noticed the 2:1 (sometimes 5:1) > performance difference in inserting rows (mostly 2-4K), between > Postgresql on Solaris 8 and on Linux, for machines with comparable > CPU's and RAM. You haven't given any evidence at all to say that I/O is where the problem is. I think it would be good first to work through the conventional issues such as configuration parameters, foreign key problems, etc. Give us some more detail about the slow INSERT queries ... regards, tom lane