pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Steve Lane <slane@moyergroup.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Index (re)-creation speed
Date: Fri, 06 Feb 2004 09:50:41 -0500
Message-ID: <29493.1076079041@sss.pgh.pa.us> (raw)
In-Reply-To: <BC489874.9895%slane@moyergroup.com>
References: <BC489874.9895%slane@moyergroup.com>

Steve Lane <slane@moyergroup.com> writes:
> And still, none of this explains to me why the index on id_item drove the
> COPY cost up so apparently dramatically. I tried the COPY again both with
> and without that one index and in both cases it caused COPY to go from 5 to
> 40+ seconds.

That doesn't make a lot of sense to me either, particularly seeing that
id_item seems to be an intermediate case as far as uniqueness goes.
Do you still get 30+ seconds to COPY if that is the *only* index?

If the data you're using isn't too sensitive, would you mind sending me
a copy (off-list)?  I'm interested to try profiling this behavior.

			regards, tom lane



view thread (4+ messages)

Message-ID: <29493.1076079041@sss.pgh.pa.us>
Permalink:  ../29493.1076079041@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29493.1076079041@sss.pgh.pa.us

 · 

reply

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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, slane@moyergroup.com
  Subject: Re: Index (re)-creation speed
  In-Reply-To: <29493.1076079041@sss.pgh.pa.us>
  References: <BC489874.9895%slane@moyergroup.com> <29493.1076079041@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