[DOC] Document concurrent index builds waiting on each other - Mailing list pgsql-hackers

From James Coleman
Subject [DOC] Document concurrent index builds waiting on each other
Date
Msg-id CAAaqYe994=PUrn8CJZ4UEo_S-FfRr_3ogERyhtdgHAb2WG_Ufg@mail.gmail.com
Whole thread Raw
Responses Re: [DOC] Document concurrent index builds waiting on each other
Re: [DOC] Document concurrent index builds waiting on each other
List pgsql-hackers
In my experience it's not immediately obvious (even after reading the
documentation) the implications of how concurrent index builds manage
transactions with respect to multiple concurrent index builds in
flight at the same time.

Specifically, as I understand multiple concurrent index builds running
at the same time will all return at the same time as the longest
running one.

I've attached a small patch to call this caveat out specifically in
the documentation. I think the description in the patch is accurate,
but please let me know if there's some intricacies around how the
various stages might change the results.

James Coleman

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: backup manifests
Next
From: Peter Geoghegan
Date:
Subject: Re: [HACKERS] [WIP] Effective storage of duplicates in B-tree index.