Re: Index (re)-creation speed - Mailing list pgsql-admin

From Tom Lane
Subject Re: Index (re)-creation speed
Date
Msg-id 29493.1076079041@sss.pgh.pa.us
Whole thread Raw
In response to Re: Index (re)-creation speed  (Steve Lane <slane@moyergroup.com>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Frédéric Médery
Date:
Subject: List all user rights ?
Next
From: Tom Lane
Date:
Subject: Re: hanging for 30sec when checkpointing