From: Guillaume Smet <guillaume.smet@gmail.com>
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: Index creation time and distribution
Date: Thu, 22 May 2008 20:34:39 +0200
Message-ID: <1d4e0c10805221134u50793d5ew7d9f1031cd0ad944@mail.gmail.com> (raw)
In-Reply-To: <dcc563d10805220950i25b51461qdc4baa26777d46a7@mail.gmail.com>
References: <1d4e0c10805220532v514c2bd5je4c6c20ceb485495@mail.gmail.com>
<dcc563d10805220950i25b51461qdc4baa26777d46a7@mail.gmail.com>
On Thu, May 22, 2008 at 6:50 PM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
> Just curious, what happens if you create the date index first, then
> the clazz one?
It's not due to any cache effect if it's your question. It's mostly
CPU time and changing the order doesn't change the behaviour.
I'll make some tests with 8.3 in a few weeks (I'll be out of town next
week) to see if using PostgreSQL qsort reduces the problem.
--
Guillaume
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: guillaume.smet@gmail.com, scott.marlowe@gmail.com
Subject: Re: Index creation time and distribution
In-Reply-To: <1d4e0c10805221134u50793d5ew7d9f1031cd0ad944@mail.gmail.com>
References: <1d4e0c10805220532v514c2bd5je4c6c20ceb485495@mail.gmail.com> <dcc563d10805220950i25b51461qdc4baa26777d46a7@mail.gmail.com> <1d4e0c10805221134u50793d5ew7d9f1031cd0ad944@mail.gmail.com>
* 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