From: Tom Lane <tgl@sss.pgh.pa.us>
To: Eduardo Almeida <edalmeida@yahoo.com>
Cc: Jan Wieck <JanWieck@yahoo.com>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-advocacy@postgresql.org
Cc: pgsql-performance@postgresql.org
Subject: Re: [PERFORM] MySQL vs PG TPC-H benchmarks
Date: Thu, 22 Apr 2004 11:54:48 -0400
Message-ID: <7444.1082649288@sss.pgh.pa.us> (raw)
In-Reply-To: <20040422125318.26053.qmail@web60601.mail.yahoo.com>
References: <20040422125318.26053.qmail@web60601.mail.yahoo.com>
Eduardo Almeida <edalmeida@yahoo.com> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, edalmeida@yahoo.com, JanWieck@yahoo.com, josh@agliodbs.com, pgsql-advocacy@postgresql.org
Subject: Re: [PERFORM] MySQL vs PG TPC-H benchmarks
In-Reply-To: <7444.1082649288@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox