Review heavy usages of main primary DB from Sidekiq workers
https://log.gprd.gitlab.net/app/r/s/EAz8Y
Questions
- Can we shift some of these workers to replicas ?
- Can we shift some of these workers to run at different times (not peak) ? => https://gitlab.com/gitlab-org/gitlab/-/issues/496254
- Why does workers that seem be related to CI (
PipelineProcessWorker,Ci::BuildFinishedWorker,Ci::InitialPipelineProcessWorker) use so muchmainDB, when it should be usingciDB ? - What is
FlushCounterIncrementsWorker, does it have to run so often, at peak ?
Edited by Thong Kuah
