CREATE INDEX CONCURRENTLY
Building indexes without blocking writes (since 8.2): deadlock, wait and race fixes, VACUUM ignoring concurrent index builds, and the snapshot-resetting single-heap-scan rework shared with REINDEX CONCURRENTLY.
Versions
- PostgreSQL 20 · in-development · improved · moderate · 1 commit · +1 / -15 lines
- PostgreSQL 19 · worked-on · improved · major
- CREATE INDEX CONCURRENTLY on partitioned index
- Revisiting {CREATE INDEX, REINDEX} CONCURRENTLY improvements
- Proposal for Improving Concurrent Index Creation Performance
- Patch: VACUUM should ignore (CREATE |RE)INDEX CONCURRENTLY for xmin horizon calculations
- Resetting snapshots during the first phase of [CREATE |RE]INDEX CONCURRENTLY
- PostgreSQL 18 · worked-on · improved · major
- PostgreSQL 17 · worked-on · improved · major
- PostgreSQL 16 · worked-on · improved · moderate
- PostgreSQL 15 · worked-on · improved · moderate
- PostgreSQL 14 · worked-on · improved · moderate
Threads
- Resetting snapshots during the first phase of [CREATE |RE]INDEX CONCURRENTLY
- psql: Don't offer partitioned tables after CREATE INDEX CONCURRENTLY
- Revisiting {CREATE INDEX, REINDEX} CONCURRENTLY improvements
- CREATE INDEX CONCURRENTLY on partitioned index
- Patch: VACUUM should ignore (CREATE |RE)INDEX CONCURRENTLY for xmin horizon calculations
- [doc] minor fix for CREATE INDEX CONCURRENTLY
- Proposal for Improving Concurrent Index Creation Performance
- CREATE INDEX CONCURRENTLY on partitioned table
- Can concurrent create index concurrently block each other?
- INVALID index while concurrent indexing in progress?
- BUG #17478: Missing documents in the index after CREATE INDEX CONCURRENTLY (but existing in the table)
- Justin Pryzby <pryzby@telsasoft.com>
- pgsql: Avoid race in RelationBuildDesc() affecting CREATE INDEX CONCURR
- CREATE INDEX CONCURRENTLY does not index prepared xact's data
- remove spurious CREATE INDEX CONCURRENTLY wait
- Assertion on create index concurrently
- {CREATE INDEX, REINDEX} CONCURRENTLY improvements
- [DOC] Document concurrent index builds waiting on each other
- Why not report ERROR when "concurrent insert in progress within table"?
- Avoiding deadlock errors in CREATE INDEX CONCURRENTLY
- excluding CREATE INDEX CONCURRENTLY from OldestXmin
- Deadlock in multiple CIC.