From: Markus Bertheau <twanger@bluetwanger.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Eduardo Almeida <edalmeida@yahoo.com>
Cc: Jan Wieck <JanWieck@yahoo.com>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: [pgsql-advocacy] MySQL vs PG TPC-H benchmarks
Date: Thu, 22 Apr 2004 20:20:47 +0200
Message-ID: <1082658047.4524.0.camel@yarrow.bertheau.de> (raw)
In-Reply-To: <7444.1082649288@sss.pgh.pa.us>
References: <20040422125318.26053.qmail@web60601.mail.yahoo.com>
<7444.1082649288@sss.pgh.pa.us>
В Чтв, 22.04.2004, в 17:54, Tom Lane пишет:
> 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.)
Doesn't this provide a reason for CREATE INDEX not to honour sort_mem?
--
Markus Bertheau <twanger@bluetwanger.de>
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: twanger@bluetwanger.de, tgl@sss.pgh.pa.us, edalmeida@yahoo.com, JanWieck@yahoo.com, josh@agliodbs.com
Subject: Re: [pgsql-advocacy] MySQL vs PG TPC-H benchmarks
In-Reply-To: <1082658047.4524.0.camel@yarrow.bertheau.de>
* 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