X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id E7D75D1D10E for ; Thu, 22 Apr 2004 16:22:55 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 91082-04 for ; Thu, 22 Apr 2004 16:22:56 -0300 (ADT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 2B495D1D09C for ; Thu, 22 Apr 2004 16:22:54 -0300 (ADT) 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 i3MJMpav009414; Thu, 22 Apr 2004 15:22:52 -0400 (EDT) To: Markus Bertheau Cc: Eduardo Almeida , Jan Wieck , Josh Berkus , pgsql-performance@postgresql.org Subject: Re: [pgsql-advocacy] MySQL vs PG TPC-H benchmarks In-reply-to: <1082658047.4524.0.camel@yarrow.bertheau.de> References: <20040422125318.26053.qmail@web60601.mail.yahoo.com> <7444.1082649288@sss.pgh.pa.us> <1082658047.4524.0.camel@yarrow.bertheau.de> Comments: In-reply-to Markus Bertheau message dated "Thu, 22 Apr 2004 20:20:47 +0200" Date: Thu, 22 Apr 2004 15:22:51 -0400 Message-ID: <9413.1082661771@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200404/385 X-Sequence-Number: 6685 Markus Bertheau writes: >> You could probably improve the index-create time by temporarily >> increasing sort_mem. It wouldn't be unreasonable to give CREATE INDEX >> several hundred meg to work in. (You don't want sort_mem that big >> normally, because there may be many sorts happening in parallel, >> but in a data-loading context there'll just be one active sort.) > Doesn't this provide a reason for CREATE INDEX not to honour sort_mem? Already done for 7.5. http://archives.postgresql.org/pgsql-committers/2004-02/msg00025.php regards, tom lane