You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
YZWL/IDEA/sys/x$ps_digest_avg_latency_dis...

7 lines
404 B

create definer = `mysql.sys`@localhost view sys.x$ps_digest_avg_latency_distribution as
select count(0) AS `cnt`,
round((`performance_schema`.`events_statements_summary_by_digest`.`AVG_TIMER_WAIT` / 1000000), 0) AS `avg_us`
from `performance_schema`.`events_statements_summary_by_digest`
group by `avg_us`;