id,select_type,table,type,possible_keys,key,key_len,ref,rows,Extra
1,PRIMARY,pctx,const,PRIMARY,PRIMARY,8,const,1,
1,PRIMARY,rc,ref,"mdl_rolecapa_rolconcap_uix,mdl_rolecapa_rol_ix,mdl_rolecapa_con_ix",mdl_rolecapa_rolconcap_uix,8,const,89,
1,PRIMARY,ctx,eq_ref,"PRIMARY,mdl_cont_conins_uix",PRIMARY,8,moodle.rc.contextid,1,"Using where"
1,PRIMARY,bi,eq_ref,PRIMARY,PRIMARY,8,moodle.ctx.instanceid,1,"Using where"
1,PRIMARY,bpctx,eq_ref,PRIMARY,PRIMARY,8,moodle.bi.parentcontextid,1,"Using where"
2,UNION,pctx,range,PRIMARY,PRIMARY,8,NULL,175,"Using where"
2,UNION,rc,ALL,"mdl_rolecapa_rolconcap_uix,mdl_rolecapa_rol_ix,mdl_rolecapa_con_ix",NULL,NULL,NULL,33821,"Using where"
2,UNION,ctx,eq_ref,"PRIMARY,mdl_cont_conins_uix",PRIMARY,8,moodle.rc.contextid,1,"Using where"
2,UNION,bi,eq_ref,PRIMARY,PRIMARY,8,moodle.ctx.instanceid,1,"Using where"
2,UNION,bpctx,eq_ref,PRIMARY,PRIMARY,8,moodle.bi.parentcontextid,1,"Using where"
3,UNION,pctx,range,PRIMARY,PRIMARY,8,NULL,2,"Using where"
3,UNION,rc,ref,"mdl_rolecapa_rolconcap_uix,mdl_rolecapa_rol_ix,mdl_rolecapa_con_ix",mdl_rolecapa_rolconcap_uix,8,const,493,
3,UNION,ctx,eq_ref,"PRIMARY,mdl_cont_conins_uix",PRIMARY,8,moodle.rc.contextid,1,"Using where"
3,UNION,bi,eq_ref,PRIMARY,PRIMARY,8,moodle.ctx.instanceid,1,"Using where"
3,UNION,bpctx,eq_ref,PRIMARY,PRIMARY,8,moodle.bi.parentcontextid,1,"Using where"
4,UNION,rc,ref,"mdl_rolecapa_rolconcap_uix,mdl_rolecapa_rol_ix,mdl_rolecapa_con_ix",mdl_rolecapa_rolconcap_uix,8,const,487,
4,UNION,ctx,eq_ref,"PRIMARY,mdl_cont_conins_uix",PRIMARY,8,moodle.rc.contextid,1,
4,UNION,bi,eq_ref,PRIMARY,PRIMARY,8,moodle.ctx.instanceid,1,"Using where"
4,UNION,bpctx,eq_ref,PRIMARY,PRIMARY,8,moodle.bi.parentcontextid,1,"Using where"
4,UNION,pctx,range,PRIMARY,PRIMARY,8,NULL,18,"Using where"
5,UNION,rc,ref,"mdl_rolecapa_rolconcap_uix,mdl_rolecapa_rol_ix,mdl_rolecapa_con_ix",mdl_rolecapa_rolconcap_uix,8,const,191,
5,UNION,ctx,eq_ref,"PRIMARY,mdl_cont_conins_uix",PRIMARY,8,moodle.rc.contextid,1,
5,UNION,bi,eq_ref,PRIMARY,PRIMARY,8,moodle.ctx.instanceid,1,"Using where"
5,UNION,bpctx,eq_ref,PRIMARY,PRIMARY,8,moodle.bi.parentcontextid,1,"Using where"
5,UNION,pctx,range,PRIMARY,PRIMARY,8,NULL,18,"Using where"
6,UNION,pctx,range,PRIMARY,PRIMARY,8,NULL,3,"Using where"
6,UNION,rc,ref,"mdl_rolecapa_rolconcap_uix,mdl_rolecapa_rol_ix,mdl_rolecapa_con_ix",mdl_rolecapa_rolconcap_uix,8,const,492,
6,UNION,ctx,eq_ref,"PRIMARY,mdl_cont_conins_uix",PRIMARY,8,moodle.rc.contextid,1,"Using where"
6,UNION,bi,eq_ref,PRIMARY,PRIMARY,8,moodle.ctx.instanceid,1,"Using where"
6,UNION,bpctx,eq_ref,PRIMARY,PRIMARY,8,moodle.bi.parentcontextid,1,"Using where"
7,UNION,pctx,range,PRIMARY,PRIMARY,8,NULL,2,"Using where"
7,UNION,rc,ref,"mdl_rolecapa_rolconcap_uix,mdl_rolecapa_rol_ix,mdl_rolecapa_con_ix",mdl_rolecapa_rolconcap_uix,8,const,498,
7,UNION,ctx,eq_ref,"PRIMARY,mdl_cont_conins_uix",PRIMARY,8,moodle.rc.contextid,1,"Using where"
7,UNION,bi,eq_ref,PRIMARY,PRIMARY,8,moodle.ctx.instanceid,1,"Using where"
7,UNION,bpctx,eq_ref,PRIMARY,PRIMARY,8,moodle.bi.parentcontextid,1,"Using where"
NULL,"UNION RESULT","<union1,2,3,4,5,6,7>",ALL,NULL,NULL,NULL,NULL,NULL,"Using filesort"
