1drop procedure if exists check_instrument; 2create procedure check_instrument(in instr_name varchar(128)) 3begin 4declare count_expected integer; 5declare count_actual integer; 6declare is_wait integer; 7declare is_stage integer; 8declare is_statement integer; 9declare is_wait_table integer; 10declare is_stage_table integer; 11declare is_statement_table integer; 12declare pfs_table_name varchar(64); 13declare msg varchar(512); 14declare msg_detail varchar(512); 15declare cmd_1 varchar(512); 16declare cmd_2 varchar(512); 17declare done integer default 0; 18declare debug integer default 0; 19declare pfs_cursor CURSOR FOR 20select table_name from information_schema.tables 21where table_schema= 'performance_schema' 22 and table_name like "events_%_by_event_name%"; 23declare continue handler for sqlstate '02000' 24 set done = 1; 25select (instr_name like "wait/%") or (instr_name like "idle/%") into is_wait; 26select (instr_name like "stage/%") into is_stage; 27select (instr_name like "statement/%") into is_statement; 28select instr_name, is_wait, is_stage, is_statement; 29select count(name) 30from performance_schema.setup_instruments 31where (name like (concat(instr_name, "%"))) 32and (not name like "%/abstract/%") 33into count_expected; 34set cmd_1= "select count(*) from (select distinct event_name from performance_schema."; 35set cmd_2= concat(" where event_name like \"", 36 instr_name, 37 "%\") t into @count_actual"); 38open pfs_cursor; 39repeat 40fetch pfs_cursor into pfs_table_name; 41if not done then 42select (pfs_table_name like "%waits%") into is_wait_table; 43select (pfs_table_name like "%stages%") into is_stage_table; 44select (pfs_table_name like "%statements%") into is_statement_table; 45select concat("Checking table ", pfs_table_name, " ...") as status; 46select concat(cmd_1, pfs_table_name, cmd_2) into @cmd; 47if debug = 1 48then 49select @cmd; 50end if; 51prepare stmt from @cmd; 52execute stmt; 53drop prepare stmt; 54set msg_detail= concat("table ", pfs_table_name, 55", instruments ", count_expected, 56", found ", @count_actual); 57if is_wait = 1 and is_wait_table = 1 and @count_actual <> count_expected 58then 59set msg= concat("Missing wait events: ", msg_detail); 60signal sqlstate '05000' set message_text= msg; 61end if; 62if is_wait = 1 and is_wait_table = 0 and @count_actual <> 0 63then 64set msg= concat("Unexpected wait events: ", msg_detail); 65signal sqlstate '05000' set message_text= msg; 66end if; 67if is_stage = 1 and is_stage_table = 1 and @count_actual <> count_expected 68then 69set msg= concat("Missing stage events: ", msg_detail); 70signal sqlstate '05000' set message_text= msg; 71end if; 72if is_stage = 1 and is_stage_table = 0 and @count_actual <> 0 73then 74set msg= concat("Unexpected stage events: ", msg_detail); 75signal sqlstate '05000' set message_text= msg; 76end if; 77if is_statement = 1 and is_statement_table = 1 and @count_actual <> count_expected 78then 79set msg= concat("Missing statement events: ", msg_detail); 80signal sqlstate '05000' set message_text= msg; 81end if; 82if is_statement = 1 and is_statement_table = 0 and @count_actual <> 0 83then 84set msg= concat("Unexpected statement events: ", msg_detail); 85signal sqlstate '05000' set message_text= msg; 86end if; 87end if; 88until done 89end repeat; 90close pfs_cursor; 91-- Dont want to return a 02000 NOT FOUND, there should be a better way 92signal sqlstate '01000' set message_text='Done', mysql_errno=12000; 93end 94$ 95show variables where 96`Variable_name` != "performance_schema_max_statement_classes" and 97`Variable_name` like "performance_schema%"; 98Variable_name Value 99performance_schema ON 100performance_schema_accounts_size 100 101performance_schema_digests_size 200 102performance_schema_events_stages_history_long_size 1000 103performance_schema_events_stages_history_size 10 104performance_schema_events_statements_history_long_size 1000 105performance_schema_events_statements_history_size 10 106performance_schema_events_waits_history_long_size 10000 107performance_schema_events_waits_history_size 10 108performance_schema_hosts_size 100 109performance_schema_max_cond_classes 80 110performance_schema_max_cond_instances 1000 111performance_schema_max_digest_length 1024 112performance_schema_max_file_classes 50 113performance_schema_max_file_handles 32768 114performance_schema_max_file_instances 10000 115performance_schema_max_mutex_classes 200 116performance_schema_max_mutex_instances 5000 117performance_schema_max_rwlock_classes 40 118performance_schema_max_rwlock_instances 5000 119performance_schema_max_socket_classes 10 120performance_schema_max_socket_instances 1000 121performance_schema_max_stage_classes 150 122performance_schema_max_table_handles 1000 123performance_schema_max_table_instances 500 124performance_schema_max_thread_classes 50 125performance_schema_max_thread_instances 200 126performance_schema_session_connect_attrs_size 2048 127performance_schema_setup_actors_size 100 128performance_schema_setup_objects_size 100 129performance_schema_users_size 100 130call check_instrument("wait/synch/mutex/"); 131instr_name is_wait is_stage is_statement 132wait/synch/mutex/ 1 0 0 133status 134Checking table events_stages_summary_by_account_by_event_name ... 135status 136Checking table events_stages_summary_by_host_by_event_name ... 137status 138Checking table events_stages_summary_by_thread_by_event_name ... 139status 140Checking table events_stages_summary_by_user_by_event_name ... 141status 142Checking table events_stages_summary_global_by_event_name ... 143status 144Checking table events_statements_summary_by_account_by_event_name ... 145status 146Checking table events_statements_summary_by_host_by_event_name ... 147status 148Checking table events_statements_summary_by_thread_by_event_name ... 149status 150Checking table events_statements_summary_by_user_by_event_name ... 151status 152Checking table events_statements_summary_global_by_event_name ... 153status 154Checking table events_waits_summary_by_account_by_event_name ... 155status 156Checking table events_waits_summary_by_host_by_event_name ... 157status 158Checking table events_waits_summary_by_thread_by_event_name ... 159status 160Checking table events_waits_summary_by_user_by_event_name ... 161status 162Checking table events_waits_summary_global_by_event_name ... 163Warnings: 164Warning 12000 Done 165call check_instrument("wait/synch/rwlock/"); 166instr_name is_wait is_stage is_statement 167wait/synch/rwlock/ 1 0 0 168status 169Checking table events_stages_summary_by_account_by_event_name ... 170status 171Checking table events_stages_summary_by_host_by_event_name ... 172status 173Checking table events_stages_summary_by_thread_by_event_name ... 174status 175Checking table events_stages_summary_by_user_by_event_name ... 176status 177Checking table events_stages_summary_global_by_event_name ... 178status 179Checking table events_statements_summary_by_account_by_event_name ... 180status 181Checking table events_statements_summary_by_host_by_event_name ... 182status 183Checking table events_statements_summary_by_thread_by_event_name ... 184status 185Checking table events_statements_summary_by_user_by_event_name ... 186status 187Checking table events_statements_summary_global_by_event_name ... 188status 189Checking table events_waits_summary_by_account_by_event_name ... 190status 191Checking table events_waits_summary_by_host_by_event_name ... 192status 193Checking table events_waits_summary_by_thread_by_event_name ... 194status 195Checking table events_waits_summary_by_user_by_event_name ... 196status 197Checking table events_waits_summary_global_by_event_name ... 198Warnings: 199Warning 12000 Done 200call check_instrument("wait/synch/cond/"); 201instr_name is_wait is_stage is_statement 202wait/synch/cond/ 1 0 0 203status 204Checking table events_stages_summary_by_account_by_event_name ... 205status 206Checking table events_stages_summary_by_host_by_event_name ... 207status 208Checking table events_stages_summary_by_thread_by_event_name ... 209status 210Checking table events_stages_summary_by_user_by_event_name ... 211status 212Checking table events_stages_summary_global_by_event_name ... 213status 214Checking table events_statements_summary_by_account_by_event_name ... 215status 216Checking table events_statements_summary_by_host_by_event_name ... 217status 218Checking table events_statements_summary_by_thread_by_event_name ... 219status 220Checking table events_statements_summary_by_user_by_event_name ... 221status 222Checking table events_statements_summary_global_by_event_name ... 223status 224Checking table events_waits_summary_by_account_by_event_name ... 225status 226Checking table events_waits_summary_by_host_by_event_name ... 227status 228Checking table events_waits_summary_by_thread_by_event_name ... 229status 230Checking table events_waits_summary_by_user_by_event_name ... 231status 232Checking table events_waits_summary_global_by_event_name ... 233Warnings: 234Warning 12000 Done 235call check_instrument("wait/synch/"); 236instr_name is_wait is_stage is_statement 237wait/synch/ 1 0 0 238status 239Checking table events_stages_summary_by_account_by_event_name ... 240status 241Checking table events_stages_summary_by_host_by_event_name ... 242status 243Checking table events_stages_summary_by_thread_by_event_name ... 244status 245Checking table events_stages_summary_by_user_by_event_name ... 246status 247Checking table events_stages_summary_global_by_event_name ... 248status 249Checking table events_statements_summary_by_account_by_event_name ... 250status 251Checking table events_statements_summary_by_host_by_event_name ... 252status 253Checking table events_statements_summary_by_thread_by_event_name ... 254status 255Checking table events_statements_summary_by_user_by_event_name ... 256status 257Checking table events_statements_summary_global_by_event_name ... 258status 259Checking table events_waits_summary_by_account_by_event_name ... 260status 261Checking table events_waits_summary_by_host_by_event_name ... 262status 263Checking table events_waits_summary_by_thread_by_event_name ... 264status 265Checking table events_waits_summary_by_user_by_event_name ... 266status 267Checking table events_waits_summary_global_by_event_name ... 268Warnings: 269Warning 12000 Done 270call check_instrument("wait/io/file/"); 271instr_name is_wait is_stage is_statement 272wait/io/file/ 1 0 0 273status 274Checking table events_stages_summary_by_account_by_event_name ... 275status 276Checking table events_stages_summary_by_host_by_event_name ... 277status 278Checking table events_stages_summary_by_thread_by_event_name ... 279status 280Checking table events_stages_summary_by_user_by_event_name ... 281status 282Checking table events_stages_summary_global_by_event_name ... 283status 284Checking table events_statements_summary_by_account_by_event_name ... 285status 286Checking table events_statements_summary_by_host_by_event_name ... 287status 288Checking table events_statements_summary_by_thread_by_event_name ... 289status 290Checking table events_statements_summary_by_user_by_event_name ... 291status 292Checking table events_statements_summary_global_by_event_name ... 293status 294Checking table events_waits_summary_by_account_by_event_name ... 295status 296Checking table events_waits_summary_by_host_by_event_name ... 297status 298Checking table events_waits_summary_by_thread_by_event_name ... 299status 300Checking table events_waits_summary_by_user_by_event_name ... 301status 302Checking table events_waits_summary_global_by_event_name ... 303Warnings: 304Warning 12000 Done 305call check_instrument("wait/io/net/"); 306instr_name is_wait is_stage is_statement 307wait/io/net/ 1 0 0 308status 309Checking table events_stages_summary_by_account_by_event_name ... 310status 311Checking table events_stages_summary_by_host_by_event_name ... 312status 313Checking table events_stages_summary_by_thread_by_event_name ... 314status 315Checking table events_stages_summary_by_user_by_event_name ... 316status 317Checking table events_stages_summary_global_by_event_name ... 318status 319Checking table events_statements_summary_by_account_by_event_name ... 320status 321Checking table events_statements_summary_by_host_by_event_name ... 322status 323Checking table events_statements_summary_by_thread_by_event_name ... 324status 325Checking table events_statements_summary_by_user_by_event_name ... 326status 327Checking table events_statements_summary_global_by_event_name ... 328status 329Checking table events_waits_summary_by_account_by_event_name ... 330status 331Checking table events_waits_summary_by_host_by_event_name ... 332status 333Checking table events_waits_summary_by_thread_by_event_name ... 334status 335Checking table events_waits_summary_by_user_by_event_name ... 336status 337Checking table events_waits_summary_global_by_event_name ... 338Warnings: 339Warning 12000 Done 340call check_instrument("wait/io/table/"); 341instr_name is_wait is_stage is_statement 342wait/io/table/ 1 0 0 343status 344Checking table events_stages_summary_by_account_by_event_name ... 345status 346Checking table events_stages_summary_by_host_by_event_name ... 347status 348Checking table events_stages_summary_by_thread_by_event_name ... 349status 350Checking table events_stages_summary_by_user_by_event_name ... 351status 352Checking table events_stages_summary_global_by_event_name ... 353status 354Checking table events_statements_summary_by_account_by_event_name ... 355status 356Checking table events_statements_summary_by_host_by_event_name ... 357status 358Checking table events_statements_summary_by_thread_by_event_name ... 359status 360Checking table events_statements_summary_by_user_by_event_name ... 361status 362Checking table events_statements_summary_global_by_event_name ... 363status 364Checking table events_waits_summary_by_account_by_event_name ... 365status 366Checking table events_waits_summary_by_host_by_event_name ... 367status 368Checking table events_waits_summary_by_thread_by_event_name ... 369status 370Checking table events_waits_summary_by_user_by_event_name ... 371status 372Checking table events_waits_summary_global_by_event_name ... 373Warnings: 374Warning 12000 Done 375call check_instrument("wait/io/"); 376instr_name is_wait is_stage is_statement 377wait/io/ 1 0 0 378status 379Checking table events_stages_summary_by_account_by_event_name ... 380status 381Checking table events_stages_summary_by_host_by_event_name ... 382status 383Checking table events_stages_summary_by_thread_by_event_name ... 384status 385Checking table events_stages_summary_by_user_by_event_name ... 386status 387Checking table events_stages_summary_global_by_event_name ... 388status 389Checking table events_statements_summary_by_account_by_event_name ... 390status 391Checking table events_statements_summary_by_host_by_event_name ... 392status 393Checking table events_statements_summary_by_thread_by_event_name ... 394status 395Checking table events_statements_summary_by_user_by_event_name ... 396status 397Checking table events_statements_summary_global_by_event_name ... 398status 399Checking table events_waits_summary_by_account_by_event_name ... 400status 401Checking table events_waits_summary_by_host_by_event_name ... 402status 403Checking table events_waits_summary_by_thread_by_event_name ... 404status 405Checking table events_waits_summary_by_user_by_event_name ... 406status 407Checking table events_waits_summary_global_by_event_name ... 408Warnings: 409Warning 12000 Done 410call check_instrument("wait/lock/table/"); 411instr_name is_wait is_stage is_statement 412wait/lock/table/ 1 0 0 413status 414Checking table events_stages_summary_by_account_by_event_name ... 415status 416Checking table events_stages_summary_by_host_by_event_name ... 417status 418Checking table events_stages_summary_by_thread_by_event_name ... 419status 420Checking table events_stages_summary_by_user_by_event_name ... 421status 422Checking table events_stages_summary_global_by_event_name ... 423status 424Checking table events_statements_summary_by_account_by_event_name ... 425status 426Checking table events_statements_summary_by_host_by_event_name ... 427status 428Checking table events_statements_summary_by_thread_by_event_name ... 429status 430Checking table events_statements_summary_by_user_by_event_name ... 431status 432Checking table events_statements_summary_global_by_event_name ... 433status 434Checking table events_waits_summary_by_account_by_event_name ... 435status 436Checking table events_waits_summary_by_host_by_event_name ... 437status 438Checking table events_waits_summary_by_thread_by_event_name ... 439status 440Checking table events_waits_summary_by_user_by_event_name ... 441status 442Checking table events_waits_summary_global_by_event_name ... 443Warnings: 444Warning 12000 Done 445call check_instrument("wait/lock/"); 446instr_name is_wait is_stage is_statement 447wait/lock/ 1 0 0 448status 449Checking table events_stages_summary_by_account_by_event_name ... 450status 451Checking table events_stages_summary_by_host_by_event_name ... 452status 453Checking table events_stages_summary_by_thread_by_event_name ... 454status 455Checking table events_stages_summary_by_user_by_event_name ... 456status 457Checking table events_stages_summary_global_by_event_name ... 458status 459Checking table events_statements_summary_by_account_by_event_name ... 460status 461Checking table events_statements_summary_by_host_by_event_name ... 462status 463Checking table events_statements_summary_by_thread_by_event_name ... 464status 465Checking table events_statements_summary_by_user_by_event_name ... 466status 467Checking table events_statements_summary_global_by_event_name ... 468status 469Checking table events_waits_summary_by_account_by_event_name ... 470status 471Checking table events_waits_summary_by_host_by_event_name ... 472status 473Checking table events_waits_summary_by_thread_by_event_name ... 474status 475Checking table events_waits_summary_by_user_by_event_name ... 476status 477Checking table events_waits_summary_global_by_event_name ... 478Warnings: 479Warning 12000 Done 480call check_instrument("wait/"); 481instr_name is_wait is_stage is_statement 482wait/ 1 0 0 483status 484Checking table events_stages_summary_by_account_by_event_name ... 485status 486Checking table events_stages_summary_by_host_by_event_name ... 487status 488Checking table events_stages_summary_by_thread_by_event_name ... 489status 490Checking table events_stages_summary_by_user_by_event_name ... 491status 492Checking table events_stages_summary_global_by_event_name ... 493status 494Checking table events_statements_summary_by_account_by_event_name ... 495status 496Checking table events_statements_summary_by_host_by_event_name ... 497status 498Checking table events_statements_summary_by_thread_by_event_name ... 499status 500Checking table events_statements_summary_by_user_by_event_name ... 501status 502Checking table events_statements_summary_global_by_event_name ... 503status 504Checking table events_waits_summary_by_account_by_event_name ... 505status 506Checking table events_waits_summary_by_host_by_event_name ... 507status 508Checking table events_waits_summary_by_thread_by_event_name ... 509status 510Checking table events_waits_summary_by_user_by_event_name ... 511status 512Checking table events_waits_summary_global_by_event_name ... 513Warnings: 514Warning 12000 Done 515call check_instrument("stage/"); 516instr_name is_wait is_stage is_statement 517stage/ 0 1 0 518status 519Checking table events_stages_summary_by_account_by_event_name ... 520status 521Checking table events_stages_summary_by_host_by_event_name ... 522status 523Checking table events_stages_summary_by_thread_by_event_name ... 524status 525Checking table events_stages_summary_by_user_by_event_name ... 526status 527Checking table events_stages_summary_global_by_event_name ... 528status 529Checking table events_statements_summary_by_account_by_event_name ... 530status 531Checking table events_statements_summary_by_host_by_event_name ... 532status 533Checking table events_statements_summary_by_thread_by_event_name ... 534status 535Checking table events_statements_summary_by_user_by_event_name ... 536status 537Checking table events_statements_summary_global_by_event_name ... 538status 539Checking table events_waits_summary_by_account_by_event_name ... 540status 541Checking table events_waits_summary_by_host_by_event_name ... 542status 543Checking table events_waits_summary_by_thread_by_event_name ... 544status 545Checking table events_waits_summary_by_user_by_event_name ... 546status 547Checking table events_waits_summary_global_by_event_name ... 548Warnings: 549Warning 12000 Done 550call check_instrument("statement/com/"); 551instr_name is_wait is_stage is_statement 552statement/com/ 0 0 1 553status 554Checking table events_stages_summary_by_account_by_event_name ... 555status 556Checking table events_stages_summary_by_host_by_event_name ... 557status 558Checking table events_stages_summary_by_thread_by_event_name ... 559status 560Checking table events_stages_summary_by_user_by_event_name ... 561status 562Checking table events_stages_summary_global_by_event_name ... 563status 564Checking table events_statements_summary_by_account_by_event_name ... 565status 566Checking table events_statements_summary_by_host_by_event_name ... 567status 568Checking table events_statements_summary_by_thread_by_event_name ... 569status 570Checking table events_statements_summary_by_user_by_event_name ... 571status 572Checking table events_statements_summary_global_by_event_name ... 573status 574Checking table events_waits_summary_by_account_by_event_name ... 575status 576Checking table events_waits_summary_by_host_by_event_name ... 577status 578Checking table events_waits_summary_by_thread_by_event_name ... 579status 580Checking table events_waits_summary_by_user_by_event_name ... 581status 582Checking table events_waits_summary_global_by_event_name ... 583Warnings: 584Warning 12000 Done 585call check_instrument("statement/sql/"); 586instr_name is_wait is_stage is_statement 587statement/sql/ 0 0 1 588status 589Checking table events_stages_summary_by_account_by_event_name ... 590status 591Checking table events_stages_summary_by_host_by_event_name ... 592status 593Checking table events_stages_summary_by_thread_by_event_name ... 594status 595Checking table events_stages_summary_by_user_by_event_name ... 596status 597Checking table events_stages_summary_global_by_event_name ... 598status 599Checking table events_statements_summary_by_account_by_event_name ... 600status 601Checking table events_statements_summary_by_host_by_event_name ... 602status 603Checking table events_statements_summary_by_thread_by_event_name ... 604status 605Checking table events_statements_summary_by_user_by_event_name ... 606status 607Checking table events_statements_summary_global_by_event_name ... 608status 609Checking table events_waits_summary_by_account_by_event_name ... 610status 611Checking table events_waits_summary_by_host_by_event_name ... 612status 613Checking table events_waits_summary_by_thread_by_event_name ... 614status 615Checking table events_waits_summary_by_user_by_event_name ... 616status 617Checking table events_waits_summary_global_by_event_name ... 618Warnings: 619Warning 12000 Done 620call check_instrument("statement/abstract/"); 621instr_name is_wait is_stage is_statement 622statement/abstract/ 0 0 1 623status 624Checking table events_stages_summary_by_account_by_event_name ... 625status 626Checking table events_stages_summary_by_host_by_event_name ... 627status 628Checking table events_stages_summary_by_thread_by_event_name ... 629status 630Checking table events_stages_summary_by_user_by_event_name ... 631status 632Checking table events_stages_summary_global_by_event_name ... 633status 634Checking table events_statements_summary_by_account_by_event_name ... 635status 636Checking table events_statements_summary_by_host_by_event_name ... 637status 638Checking table events_statements_summary_by_thread_by_event_name ... 639status 640Checking table events_statements_summary_by_user_by_event_name ... 641status 642Checking table events_statements_summary_global_by_event_name ... 643status 644Checking table events_waits_summary_by_account_by_event_name ... 645status 646Checking table events_waits_summary_by_host_by_event_name ... 647status 648Checking table events_waits_summary_by_thread_by_event_name ... 649status 650Checking table events_waits_summary_by_user_by_event_name ... 651status 652Checking table events_waits_summary_global_by_event_name ... 653Warnings: 654Warning 12000 Done 655call check_instrument("statement/"); 656instr_name is_wait is_stage is_statement 657statement/ 0 0 1 658status 659Checking table events_stages_summary_by_account_by_event_name ... 660status 661Checking table events_stages_summary_by_host_by_event_name ... 662status 663Checking table events_stages_summary_by_thread_by_event_name ... 664status 665Checking table events_stages_summary_by_user_by_event_name ... 666status 667Checking table events_stages_summary_global_by_event_name ... 668status 669Checking table events_statements_summary_by_account_by_event_name ... 670status 671Checking table events_statements_summary_by_host_by_event_name ... 672status 673Checking table events_statements_summary_by_thread_by_event_name ... 674status 675Checking table events_statements_summary_by_user_by_event_name ... 676status 677Checking table events_statements_summary_global_by_event_name ... 678status 679Checking table events_waits_summary_by_account_by_event_name ... 680status 681Checking table events_waits_summary_by_host_by_event_name ... 682status 683Checking table events_waits_summary_by_thread_by_event_name ... 684status 685Checking table events_waits_summary_by_user_by_event_name ... 686status 687Checking table events_waits_summary_global_by_event_name ... 688Warnings: 689Warning 12000 Done 690call check_instrument("idle/io/socket"); 691instr_name is_wait is_stage is_statement 692idle/io/socket 1 0 0 693status 694Checking table events_stages_summary_by_account_by_event_name ... 695status 696Checking table events_stages_summary_by_host_by_event_name ... 697status 698Checking table events_stages_summary_by_thread_by_event_name ... 699status 700Checking table events_stages_summary_by_user_by_event_name ... 701status 702Checking table events_stages_summary_global_by_event_name ... 703status 704Checking table events_statements_summary_by_account_by_event_name ... 705status 706Checking table events_statements_summary_by_host_by_event_name ... 707status 708Checking table events_statements_summary_by_thread_by_event_name ... 709status 710Checking table events_statements_summary_by_user_by_event_name ... 711status 712Checking table events_statements_summary_global_by_event_name ... 713status 714Checking table events_waits_summary_by_account_by_event_name ... 715status 716Checking table events_waits_summary_by_host_by_event_name ... 717status 718Checking table events_waits_summary_by_thread_by_event_name ... 719status 720Checking table events_waits_summary_by_user_by_event_name ... 721status 722Checking table events_waits_summary_global_by_event_name ... 723Warnings: 724Warning 12000 Done 725call check_instrument("idle/"); 726instr_name is_wait is_stage is_statement 727idle/ 1 0 0 728status 729Checking table events_stages_summary_by_account_by_event_name ... 730status 731Checking table events_stages_summary_by_host_by_event_name ... 732status 733Checking table events_stages_summary_by_thread_by_event_name ... 734status 735Checking table events_stages_summary_by_user_by_event_name ... 736status 737Checking table events_stages_summary_global_by_event_name ... 738status 739Checking table events_statements_summary_by_account_by_event_name ... 740status 741Checking table events_statements_summary_by_host_by_event_name ... 742status 743Checking table events_statements_summary_by_thread_by_event_name ... 744status 745Checking table events_statements_summary_by_user_by_event_name ... 746status 747Checking table events_statements_summary_global_by_event_name ... 748status 749Checking table events_waits_summary_by_account_by_event_name ... 750status 751Checking table events_waits_summary_by_host_by_event_name ... 752status 753Checking table events_waits_summary_by_thread_by_event_name ... 754status 755Checking table events_waits_summary_by_user_by_event_name ... 756status 757Checking table events_waits_summary_global_by_event_name ... 758Warnings: 759Warning 12000 Done 760drop procedure check_instrument; 761