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 465C0545F7 for ; Mon, 28 Feb 2005 22:15:31 +0000 (GMT) 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 73045-04 for ; Mon, 28 Feb 2005 22:15:21 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 3610152AA6 for ; Mon, 28 Feb 2005 22:15:20 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j1SMFMc2003254; Mon, 28 Feb 2005 17:15:22 -0500 (EST) To: Cosimo Streppone Cc: Postgresql Performance list Subject: Re: High end server and storage for a PostgreSQL OLTP system In-reply-to: <42239156.6090108@streppone.it> References: <6EE64EF3AB31D5448D0007DD34EEB3412A7603@Herge.rcsinc.local> <420141A8.2090800@streppone.it> <42239156.6090108@streppone.it> Comments: In-reply-to Cosimo Streppone message dated "Mon, 28 Feb 2005 22:47:02 +0100" Date: Mon, 28 Feb 2005 17:15:22 -0500 Message-ID: <3253.1109628922@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.008 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/375 X-Sequence-Number: 10704 Cosimo Streppone writes: > The performance level of Pg 8 is at least *five* times higher > (faster!) than 7.1.3 in "query-intensive" transactions, > which is absolutely astounding. Cool. > In my experience, Pg8 handles far better non-unique indexes > with low cardinality built on numeric and integer types, which > is very common in our application. Yes, we've fixed a number of places where the btree code was inefficient with large numbers of equal keys. I'm not sure that that explains a 5x speedup all by itself, though. regards, tom lane