The server is performing a heavy migration task and the task of recalculating data, parallel and in unrelated tables. Every 30 min we have problems with semaphores.
DML (update/delete/insert) queries accumulate in queue
In the attachment, a fragment of the log.
If you need something else we provide.