move painful grade summary query to slave
move painful grade summary query to slave

Change-Id: Ibe43dbac2639454c17109201d728f05c42727065
Reviewed-on: https://gerrit.instructure.com/15950
Reviewed-by: Brian Palmer <3cb4e1df5ec4da2c7c4af7c52cec8cf340a55a10@instructure.com>
QA-Review: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>
Tested-by: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>

greyhwndz/canvas-lms,arrivu/hiring-site,skmezanul/canvas-lms,tgroshon/canvas-lms,grahamb/canvas-lms,HotChalk/canvas-lms,SwinburneOnline/canvas-lms,dgynn/canvas-lms,shidao-fm/canvas-lms,antoniuslin/canvas-lms,juoni/canvas-lms,efrj/canvas-lms,arrivu/hoodemo,nditech/red-innovadores-lms,wrdsb/canvas-lms,merichar/canvas-lms,instructure/canvas-lms,SwinburneOnline/canvas-lms,roxolan/canvas-lms,gbleydon/canvas-lms,tgroshon/canvas-lms,leftplusrightllc/canvas-lms,sli7246/canvas_branch,instructure/canvas-lms,arrivu/hiring-site,ShreniiNepal/shrenii_lmp,instructure/canvas-lms,arrivu/qibla-ecampus,sfu/canvas-lms,Unow/ins,wimemx/Canvas,matematikk-mooc/canvas-lms,narigone/canvas,ShreniiNepal/shrenii_lmp,va7map/canvas-lms,sfu/canvas-lms,Jyaasa/canvas-lms,HotChalk/canvas-lms,gbleydon/canvas-lms,Unow/canvas-lms,juoni/canvas-lms,Unow/canvas-lms,va7map/canvas-lms,sfu/canvas-lms,antoniuslin/canvas-lms,arrivu/qibla-ecampus,eCNAP/CANVAS,wimemx/Canvas,fronteerio/canvas-lms,ShreniiNepal/shrenii_lmp,rup/Tarrax,ShreniiNepal/shrenii_lmp,arrivu/jigsaw-lms,grahamb/canvas-lms,narigone/canvas,redconfetti/canvas-lms,gbleydon/canvas-lms,utkarshx/canvas-lms,loganrun/pincan,Rvor/canvas-lms,instructure/canvas-lms,arrivu/arrivu-lms,va7map/canvas-lms,grahamb/canvas-lms,efrj/canvas-lms,utkarshx/canvas-lms,venturehive/canvas-lms,samuels410/greatlakes-lms,eCNAP/CANVAS,AndranikMarkosyan/lms,samuels410/greatlakes-lms,tgroshon/canvas-lms,matematikk-mooc/canvas-lms,antoniuslin/canvas-lms,sdeleon28/canvas-lms,sfu/canvas-lms,roxolan/canvas-lms,arrivu/hoodemo,greyhwndz/canvas-lms,rup/Tarrax,arrivu/jigsaw-lms,sfu/canvas-lms,kyroskoh/canvas-lms,instructure/canvas-lms,Unow/ins,samuels410/greatlakes-lms,AndranikMarkosyan/lms,nditech/red-innovadores-lms,wye0220/shindig-canvas,landonwilkins/canvas-lms,skmezanul/canvas-lms,utkarshx/canvas-lms,jay3126/canvas-lms,redconfetti/canvas-lms,Jyaasa/canvas-lms,rup/Tarrax,narigone/canvas,sli7246/canvas_branch,efrj/canvas-lms,kyroskoh/canvas-lms,Jyaasa/canvas-lms,wrdsb/canvas-lms,greyhwndz/canvas-lms,leftplusrightllc/canvas-lms,antoniuslin/canvas-lms,wye0220/shindig-canvas,wrdsb/canvas-lms,kyroskoh/canvas-lms,jay3126/canvas-lms,instructure/canvas-lms,SwinburneOnline/canvas-lms,landonwilkins/canvas-lms,usmschuck/canvas,arrivu/hiring-site,grahamb/canvas-lms,greyhwndz/canvas-lms,Rvor/canvas-lms,redconfetti/canvas-lms,eCNAP/CANVAS,dgynn/canvas-lms,djbender/canvas-lms,parbros/red-innovadores-lms,sfu/canvas-lms,jay3126/canvas-lms,sdeleon28/canvas-lms,wrdsb/canvas-lms,HotChalk/canvas-lms,SwinburneOnline/canvas-lms,fronteerio/canvas-lms,landonwilkins/canvas-lms,djbender/canvas-lms,djbender/canvas-lms,landonwilkins/canvas-lms,dgynn/canvas-lms,utkarshx/canvas-lms,AndranikMarkosyan/lms,efrj/canvas-lms,snehakachroo1/LSI_replica,juoni/canvas-lms,fronteerio/canvas-lms,va7map/canvas-lms,HotChalk/canvas-lms,jay3126/canvas-lms,skmezanul/canvas-lms,nditech/red-innovadores-lms,merichar/canvas-lms,roxolan/canvas-lms,sfu/canvas-lms,leftplusrightllc/canvas-lms,arrivu/arrivu-lms,AndranikMarkosyan/lms,snehakachroo1/LSI_replica,whalejasmine/canvas-lms,Unow/ins,loganrun/pincan,venturehive/canvas-lms,sdeleon28/canvas-lms,Rvor/canvas-lms,usmschuck/canvas,usmschuck/canvas,dgynn/canvas-lms,merichar/canvas-lms,nditech/red-innovadores-lms,grahamb/canvas-lms,whalejasmine/canvas-lms,arrivu/arrivu-lms,eCNAP/CANVAS,shidao-fm/canvas-lms,arrivu/jigsaw-lms,sdeleon28/canvas-lms,parbros/red-innovadores-lms,Unow/canvas-lms,Rvor/canvas-lms,shidao-fm/canvas-lms,redconfetti/canvas-lms,shidao-fm/canvas-lms,samuels410/greatlakes-lms,wimemx/Canvas,fronteerio/canvas-lms,leftplusrightllc/canvas-lms,kyroskoh/canvas-lms,matematikk-mooc/canvas-lms,whalejasmine/canvas-lms,narigone/canvas,juoni/canvas-lms,djbender/canvas-lms,arrivu/qibla-ecampus,arrivu/hoodemo,snehakachroo1/LSI_replica,loganrun/pincan,whalejasmine/canvas-lms,instructure/canvas-lms,tgroshon/canvas-lms,parbros/red-innovadores-lms,usmschuck/canvas,venturehive/canvas-lms,matematikk-mooc/canvas-lms,sli7246/canvas_branch,venturehive/canvas-lms,skmezanul/canvas-lms,wye0220/shindig-canvas,Jyaasa/canvas-lms,roxolan/canvas-lms,snehakachroo1/LSI_replica