Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id B12B0633615 for ; Thu, 7 Jan 2010 10:16:52 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 06777-08 for ; Thu, 7 Jan 2010 14:16:41 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id 406EA633585 for ; Thu, 7 Jan 2010 10:16:42 -0400 (AST) Received: from perhan.alvh.no-ip.org (200-126-103-69.bk7-dsl.surnet.cl [200.126.103.69]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 9CF4C348048; Thu, 7 Jan 2010 06:16:40 -0800 (PST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id C773F6E5B1; Thu, 7 Jan 2010 11:16:38 -0300 (CLST) Date: Thu, 7 Jan 2010 11:16:38 -0300 From: Alvaro Herrera To: Lefteris Cc: Jochen Erwied , pgsql-performance@postgresql.org Subject: Re: Air-traffic benchmark Message-ID: <20100107141638.GE4315@alvh.no-ip.org> References: <852badbc1001070438j36eb10d3qa22398ffcbef405f@mail.gmail.com> <4B45E36E.4040706@tweakers.net> <852badbc1001070547p48b47175vf87efc473e3bd41b@mail.gmail.com> <26014999.20100107150535@erwied.eu> <852badbc1001070610p698dc3cfr4628b1e7768990e6@mail.gmail.com> <20100107141423.GC4315@alvh.no-ip.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100107141423.GC4315@alvh.no-ip.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.448 tagged_above=-10 required=5 tests=BAYES_20=-0.74, FH_DATE_PAST_20XX=3.188 X-Spam-Level: ** X-Archive-Number: 201001/92 X-Sequence-Number: 36972 Alvaro Herrera escribió: > No amount of tinkering is going to change the fact that a seqscan is the > fastest way to execute these queries. Even if you got it to be all in > memory, it would still be much slower than the other systems which, I > gather, are using columnar storage and thus are perfectly suited to this > problem (unlike Postgres). The talk about "compression ratios" caught > me by surprise until I realized it was columnar stuff. There's no way > you can get such high ratios on a regular, row-oriented storage. FWIW if you want a fair comparison, get InnoDB numbers. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support