February 2020
Intermediate to advanced
734 pages
38h 13m
English
Even as of PostgreSQL 12, concurrent index creation cannot take place inside a transaction. But why not? Well, remember that the process needs to look inside all of the incoming transactions that could modify the table being indexed. PostgreSQL normally never allows what most experienced DBAs know as dirty reads of uncommitted data. As a consequence, concurrent indexes must be built outside of a transaction by internal database mechanisms.
Read now
Unlock full access