How to monitor CREATE INDEX / REINDEX progress in Postgres 12+
To monitor the progress of long-running index building or rebuilding, you can use this query:
To monitor the progress of long-running index building or rebuilding, you can use this query:
Sometimes we need to reindex many indexes – or all of them – and want to do it faster.