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 12C203A3FFC for ; Wed, 24 Nov 2004 14:16:27 +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 85490-04 for ; Wed, 24 Nov 2004 14:16:17 +0000 (GMT) Received: from trofast.sesse.net (trofast.sesse.net [129.241.93.32]) by svr1.postgresql.org (Postfix) with ESMTP id 1E4EB3A3FF8 for ; Wed, 24 Nov 2004 14:16:19 +0000 (GMT) Received: from sesse by trofast.sesse.net with local (Exim 3.36 #1 (Debian)) id 1CWxwN-0007Zt-00 for ; Wed, 24 Nov 2004 15:16:15 +0100 Date: Wed, 24 Nov 2004 15:16:15 +0100 From: "Steinar H. Gunderson" To: pgsql-performance@postgresql.org Subject: Re: Postgres vs. MySQL Message-ID: <20041124141615.GB28960@uio.no> Mail-Followup-To: pgsql-performance@postgresql.org References: <1101302058.338.74.camel@haddock.cmima.csic.es> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1101302058.338.74.camel@haddock.cmima.csic.es> X-Operating-System: Linux 2.6.8.1 on a i686 User-Agent: Mutt/1.5.6+20040907i 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: 200411/377 X-Sequence-Number: 9331 On Wed, Nov 24, 2004 at 02:14:18PM +0100, Evilio del Rio wrote: > It's incredible! the same servers, the same messages, the same dspam > compilation (well each one with the corresponding > --with-storage-driver=*sql_drv). Postgres is getting worst than > 30s/message and MySQL process the same in less than a second. AFAIK dspam is heavily optimized for MySQL and not optimized for PostgreSQL at all; I believe there would be significant performance boosts available by "fixing" dspam. Example queries that are slow, as well as table schemas, would probably help a lot in tracking down the problems. /* Steinar */ -- Homepage: http://www.sesse.net/