Remove `ci_builds` table from the big queuing query
Description
Once we denormalize protected
and introduce ci_instance_running_builds
table, we should be able to completely remove ci_builds
table from the big queuing query.
This should hopefully improve performance and reduce the risk of contention and sudden performance degradations.
/cc @darbyfrey
Edited by Grzegorz Bizon