Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ $ddl$);
```

We recommend using the [`bdr.run_on_all_nodes()`](/pgd/5.8/reference/functions#bdrrun_on_all_nodes) technique with `CREATE
INDEX CONCURRENTLY`, noting that DDL replication must be disabled for the whole
session because `CREATE INDEX CONCURRENTLY` is a multi-transaction command.
INDEX CONCURRENTLY`.
Avoid `CREATE INDEX` on production systems
since it prevents writes while it executes.
`REINDEX` is replicated in versions 3.6 and earlier but not with PGD 3.7 or later.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ $ddl$);
```

We recommend using the [`bdr.run_on_all_nodes()`](/pgd/latest/reference/tables-views-functions/functions#bdrrun_on_all_nodes) technique with `CREATE
INDEX CONCURRENTLY`, noting that DDL replication must be disabled for the whole
session because `CREATE INDEX CONCURRENTLY` is a multi-transaction command.
INDEX CONCURRENTLY`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't anymore in 6 because CIC is anyway executed concurrently now via replication

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we recommend run on all nodes for DDL at all in 6

Avoid `CREATE INDEX` on production systems
since it prevents writes while it executes.
Avoid using `REINDEX` because of the AccessExclusiveLocks it holds.
Expand Down