Skip to content

Commit 6c0c283

Browse files
committed
Docs: concurrent builds of partitioned indexes are not supported
Document that CREATE INDEX CONCURRENTLY is not currently supported for indexes on partitioned tables. Discussion: https://postgr.es/m/CAKJS1f_CErd2z9L21Q8OGLD4TgH7yw1z9MAtHTSO13sXVG-yow@mail.gmail.com Backpatch-through: 11
1 parent b250898 commit 6c0c283

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/src/sgml/ref/create_index.sgml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,16 @@ Indexes:
615615
within a transaction block, but <command>CREATE INDEX CONCURRENTLY</command>
616616
cannot.
617617
</para>
618+
619+
<para>
620+
Concurrent builds for indexes on partitioned tables are currently not
621+
supported. However, you may concurrently build the index on each
622+
partition individually and then finally create the partitioned index
623+
non-concurrently in order to reduce the time where writes to the
624+
partitioned table will be locked out. In this case, building the
625+
partitioned index is a metadata only operation.
626+
</para>
627+
618628
</refsect2>
619629
</refsect1>
620630

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy