migra icon indicating copy to clipboard operation
migra copied to clipboard

Support CONCURRENTLY for index builds

Open rockwotj opened this issue 4 years ago • 2 comments

We have an automated tool to update our DB schema based on migra, and when adding indexes to existing tables we need to add CONCURRENTLY to the create index command. There should be an option for this.

rockwotj avatar Dec 21 '20 18:12 rockwotj

The same. Would be good to have! Thanks.

crimean-celica avatar Jun 30 '21 05:06 crimean-celica

There are many many other things we should be doing concurrently imo + there are specific techniques for avoiding unnecessary locks on top of that. Some of them have huge overhead (up to copying the entire table like what pg_repack does, but having the option to get automatic zero downtime migrations would be a killer feature

maximsmol avatar Apr 13 '22 19:04 maximsmol