Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT
- EVENT_ID,
- TRUNCATE(TIMER_WAIT / 1000000000000, 6) AS Duration,
- SQL_TEXT
- FROM performance_schema.events_statements_history_long
- WHERE SQL_TEXT LIKE '%UNIQUE_THING%';
- SELECT
- sum(TRUNCATE(TIMER_WAIT / 1000000000000, 6)) AS total
- FROM performance_schema.events_stages_history_long
- WHERE NESTING_EVENT_ID = 13348585;
- SELECT sum(TRUNCATE(TIMER_WAIT / 1000000000000, 6)) AS total
- FROM performance_schema.events_waits_history_long
- WHERE NESTING_EVENT_ID = 13348585;
Add Comment
Please, Sign In to add comment