X-Original-To: pgsql-advocacy-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id CB5A6D1D3BE for ; Thu, 22 Apr 2004 12:54:50 -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 06636-03 for ; Thu, 22 Apr 2004 12:54:49 -0300 (ADT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 024E2D1D067 for ; Thu, 22 Apr 2004 12:54:49 -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 i3MFsmGD007445; Thu, 22 Apr 2004 11:54:48 -0400 (EDT) To: Eduardo Almeida Cc: Jan Wieck , Josh Berkus , pgsql-advocacy@postgresql.org, pgsql-performance@postgresql.org Subject: Re: [PERFORM] MySQL vs PG TPC-H benchmarks In-reply-to: <20040422125318.26053.qmail@web60601.mail.yahoo.com> References: <20040422125318.26053.qmail@web60601.mail.yahoo.com> Comments: In-reply-to Eduardo Almeida message dated "Thu, 22 Apr 2004 05:53:18 -0700" Date: Thu, 22 Apr 2004 11:54:48 -0400 Message-ID: <7444.1082649288@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/125 X-Sequence-Number: 4097 Eduardo Almeida writes: > About 7hs:30min to load the data and 16:09:25 to > create the indexes 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.) regards, tom lane