Skip to content
Permalink
Browse files
sporadic failures of perfschema.statement_program_concurrency
wait until all three concurrent statements are truly completely
finished before quering P_S.

In particular "Logging slow query" stage happens after sending the
OK packet but before the statement appears in events_statements_history
  • Loading branch information
vuvova committed Dec 24, 2022
1 parent 5e3c948 commit fce80b6
Showing 1 changed file with 3 additions and 1 deletion.
@@ -91,7 +91,9 @@ connection con3;
--reap;

connection default;
--source include/wait_until_connected_again.inc

--let $wait_condition=select count(*)=3 from information_schema.processlist where command='sleep';
--source include/wait_condition.inc

SELECT OBJECT_TYPE, OBJECT_SCHEMA, OBJECT_NAME, COUNT_STAR, COUNT_STATEMENTS
FROM performance_schema.events_statements_summary_by_program

0 comments on commit fce80b6

Please sign in to comment.