Is it possible to create parallel indexes for a database table via alembic script?
I am using postgres DB and can create parallel table indexes using the sql command on the postgres command line. (at the same time create an index on ();)
But it was not possible to find a way to create the same using the Db (alembic) script migration. If we create a normal index (not parallel), it will block the database table, so it cannot execute any query in parallel. So I just want to know how to create a parallel index via alembic (DB wrapping) script
user2853625
source share