Re: [GENERAL] Concurrency problem building indexes - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [GENERAL] Concurrency problem building indexes
Date
Msg-id 19810.1145980249@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] Concurrency problem building indexes  (Wes <wespvp@syntegra.com>)
Responses Re: [GENERAL] Concurrency problem building indexes  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Wes <wespvp@syntegra.com> writes:
> A while back, I saw a posting (I think from Tom) to the effect of index
> creation converging due to disk caching.  It was along the lines of the
> slower index would be reading from disk data cached by the first index
> creation's read.  When the faster creation went out to read from disk, the
> one reading from memory could catch up.  Possible?

There would be some convergence effect while reading the table contents,
but the subsequent sorting and index-writing would be competitive and
ought to diverge again.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: FOR UPDATE lock problem ?
Next
From: Ben Clewett
Date:
Subject: Installation on Duel-Core Pentium XP