Queries on these tables is a lot faster on the slave databases than on the master. Use the slave for a big win.
Also, the following single query can replace the several slow queries being attempted to show the total number of jobs and estimated duration of the various build queues:
Two more points....
Queries on these tables is a lot faster on the slave databases than on the master. Use the slave for a big win.
Also, the following single query can replace the several slow queries being attempted to show the total number of jobs and estimated duration of the various build queues:
http:// paste.ubuntu. com/444495/