You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use pg_repack to reorganize some large tables(between 100GB and 1TB). We don't have any locking issues while creating the triggers on the source table and swapping tables at the end. But every index creation on the shadow table causes locking issues. The lock waits start to happen just after the CREATE INDEX command starts on the shadow table. It does not last along the whole creation process. The locking disappears after a while, i.e it happens in the first 30 seconds of index creation, but the index creation takes 10 minutes.
We use
pg_repack
to reorganize some large tables(between 100GB and 1TB). We don't have any locking issues while creating the triggers on the source table and swapping tables at the end. But every index creation on the shadow table causes locking issues. The lock waits start to happen just after theCREATE INDEX
command starts on the shadow table. It does not last along the whole creation process. The locking disappears after a while, i.e it happens in the first 30 seconds of index creation, but the index creation takes 10 minutes.Here is the command we are using:
We are on
pg_repack-1.4.6
andPostgreSQL 13.13
.The text was updated successfully, but these errors were encountered: