|数据库名称|SQL语句|总执行次数|总执行时间(秒)|最大执行时长|平均执行时间|锁定总时长|最大锁定时长|解析总行数|解析最大行数|返回总行数|返回最大行数|
| - | - | - | - | - | - | - | - | - | - | - | - |
|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|11|1286|155||0|0|13125004|1620586|3238|462|
|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|7|836|161||0|0|8041548|1619710|398|88|
|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|5|618|143||0|0|6159162|1622472|5231|1469|
|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|5|591|126||0|0|5191976|1622470|3697|1469|
|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 ?|3|308|106||0|0|3739233|1436671|10477|5000|
|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|466|273||0|0|17101084|8552366|10|10|
|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|438|438||0|0|1469566|1469566|0|0|
|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|213|213||0|0|3888965|3888965|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|103|103||0|0|3929876|3929876|0|0|
