|数据库名称|SQL语句|总执行次数|总执行时间(秒)|最大执行时长|平均执行时间|锁定总时长|最大锁定时长|解析总行数|解析最大行数|返回总行数|返回最大行数|
| - | - | - | - | - | - | - | - | - | - | - | - |
|statistic|SELECT mb.tenant_id,mb.tenant_app_id,ifnull(mt.shop_id,?)shop_id,ifnull(mt.employee_user_id,?)user_id,count(*)service_amount,sum(if(mb.external_user_id IS NOT ?,?,?))corp_amount,sum(ifnull(mt.member_image_flag,?))image_amount FROM statistic.member_? mb INNER JOIN statistic.member_extra_? mt ON mb.tenant_id=mt.tenant_id AND mb.id=mt.id WHERE mb.tenant_id=? AND mb.tenant_app_id=? AND mb.create_time<=? AND mb.register_flag=? GROUP BY mb.tenant_id,mb.tenant_app_id,mt.shop_id,mt.employee_user_id|4|575|216||0|0|5230248|1631302|4698|1474|
|tag_service|SELECT t?.id,t?.tenant_id,t?.tenant_app_id,t?.member_user_id AS member_id,t?.match_label,t?.match_label?,t?.match_feature_label FROM statistic.member_? t? JOIN tag_service.member_label_match_? t? ON t?.tenant_app_id=t?.tenant_app_id AND t?.user_id=t?.user_id WHERE t?.tenant_id=? AND t?.tenant_app_id=? AND t?.update_time>=? AND t?.member_user_id IS NOT ? ORDER BY t?.id LIMIT ? OFFSET ?|4|525|158||0|0|6951382|2442448|7713|4194|
|statistic|SELECT mb.tenant_id,mb.tenant_app_id,ifnull(mt.shop_id,?)shop_id,ifnull(mt.grade_erp_id,?)grade_erp_id,count(*)amount FROM member_? mb INNER JOIN member_extra_? mt ON mb.tenant_id=mt.tenant_id AND mb.id=mt.id WHERE mb.tenant_id=? AND mb.tenant_app_id=? AND mb.create_time<=? AND mb.register_flag=? GROUP BY mb.tenant_id,mb.tenant_app_id,mt.shop_id,mt.grade_erp_id|3|395|148||0|0|4240836|1629276|1028|461|
|statistic|SELECT mb.tenant_id,mb.tenant_app_id,ifnull(mt.shop_id,?)shop_id,sum(if(mb.subscribe_flag=?,?,?))cancel_amount,sum(if(mb.subscribe_flag=?,?,?))subscribe_amount,sum(if(mb.bind_flag=?,?,?))bind_amount,sum(if(mb.full_flag=?,?,?))full_amount FROM member_? mb INNER JOIN member_extra_? mt ON mb.tenant_id=mt.tenant_id AND mb.id=mt.id WHERE mb.tenant_id=? AND mb.tenant_app_id=? AND mb.create_time<=? AND mb.register_flag=? GROUP BY mb.tenant_id,mb.tenant_app_id,mt.shop_id|2|313|191||0|0|2610710|1628530|142|88|
|statistic|SELECT id,tenant_app_id,start_time,statistic_date,busi_type,type,status,create_time,update_time FROM timer_execute_log WHERE (status=?)|2|374|252||0|0|17325975|8664876|4|4|
|statistic|SELECT mb.tenant_id,mb.tenant_app_id,ifnull(mt.shop_id,?)shop_id,ifnull(mt.employee_user_id,?)employee_user_id,count(*)amount FROM member_? mb INNER JOIN member_extra_? mt ON mb.tenant_id=mt.tenant_id AND mb.id=mt.id WHERE mb.tenant_id=? AND mb.tenant_app_id=? AND mb.create_time<=? AND mb.register_flag=? GROUP BY mb.tenant_id,mb.tenant_app_id,mt.shop_id,mt.employee_user_id|2|277|162||0|0|2615124|1631302|2349|1474|
|v4_statistic|DELETE FROM bi_member_sales WHERE tenant_id=? AND tenant_app_id=? AND busi_date=? AND statistic_version=? AND tenant_id=? AND tenant_app_id=?|1|175|175||0|0|1787310|1787310|0|0|
|statistic|SELECT tenant_id,tenant_app_id,ifnull(shop_id,?)shop_id,sum(if(tenant_app_open_id IS ? AND external_user_id IS ?,?,?))normal_amount,sum(if(tenant_app_open_id IS NOT ? AND external_user_id IS ?,?,?))app_amount,sum(if(external_user_id IS NOT ?,?,?))corp_amount FROM member_? WHERE tenant_id=? AND tenant_app_id=? AND create_time<=? AND register_flag=? GROUP BY tenant_id,tenant_app_id,shop_id|1|124|124||0|0|814177|814177|89|89|
|statistic|SELECT mb.tenant_id,mb.tenant_app_id,ifnull(mb.shop_id,?)shop_id,ifnull(mb.source_type,?)source_type,count(*)amount FROM member_? mb WHERE mb.tenant_id=? AND mb.tenant_app_id=? AND mb.register_flag=? AND mb.create_time<=? GROUP BY mb.tenant_id,mb.tenant_app_id,mb.shop_id,mb.source_type|1|111|111||0|0|814869|814869|346|346|
|statistic|DELETE je FROM statistic.BATCH_JOB_EXECUTION_PARAMS je JOIN statistic.BATCH_JOB_EXECUTION e ON je.job_execution_id=e.job_execution_id WHERE e.job_execution_id<=?|1|249|249||0|0|3899485|3899485|0|0|
|statistic|DELETE s FROM statistic.BATCH_STEP_EXECUTION s JOIN statistic.BATCH_JOB_EXECUTION e ON s.job_execution_id=e.job_execution_id WHERE s.step_execution_id<=?|1|105|105||0|0|3962712|3962712|0|0|
