mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
5.6.26
This commit is contained in:
@@ -16,12 +16,12 @@ NULL NULL NULL 1 2 3 NULL NULL
|
||||
SELECT SCHEMA_NAME, DIGEST_TEXT, COUNT_STAR
|
||||
FROM performance_schema.events_statements_summary_by_digest;
|
||||
SCHEMA_NAME DIGEST_TEXT COUNT_STAR
|
||||
test TRUNCATE TABLE performance_schema . events_statements_summary_by_digest 1
|
||||
test TRUNCATE TABLE `performance_schema` . `events_statements_summary_by_digest` 1
|
||||
test SELECT ? 1
|
||||
test SELECT ? FROM DUAL 1
|
||||
test SELECT ?, ... 2
|
||||
test SELECT ? IS NULL 1
|
||||
test SELECT ? IS NOT NULL 1
|
||||
test SELECT ? IS NULL , ? IS NULL , ? IS NOT NULL , ? IS NOT NULL 1
|
||||
test CREATE TABLE foo ( a INTEGER DEFAULT ? , b INTEGER NOT NULL DEFAULT ? , c INTEGER NOT NULL ) 1
|
||||
test DROP TABLE foo 1
|
||||
test CREATE TABLE `foo` ( `a` INTEGER DEFAULT ? , `b` INTEGER NOT NULL DEFAULT ? , `c` INTEGER NOT NULL ) 1
|
||||
test DROP TABLE `foo` 1
|
||||
|
@@ -113,7 +113,7 @@ SELECT SCHEMA_NAME, DIGEST, DIGEST_TEXT, COUNT_STAR, SUM_ROWS_AFFECTED, SUM_WARN
|
||||
SUM_ERRORS FROM performance_schema.events_statements_summary_by_digest;
|
||||
SCHEMA_NAME DIGEST DIGEST_TEXT COUNT_STAR SUM_ROWS_AFFECTED SUM_WARNINGS SUM_ERRORS
|
||||
NULL NULL NULL 55 32 1 2
|
||||
statements_digest e4a84a547a18a89f4708509a720def58 TRUNCATE TABLE performance_schema . events_statements_summary_by_digest 1 0 0 0
|
||||
statements_digest 01cfd3c48ebe150803a02f0b32ab4f7b TRUNCATE TABLE `performance_schema` . `events_statements_summary_by_digest` 1 0 0 0
|
||||
SHOW VARIABLES LIKE "performance_schema_digests_size";
|
||||
Variable_name Value
|
||||
performance_schema_digests_size 2
|
||||
|
@@ -20,11 +20,13 @@ lock tables performance_schema.setup_instruments write;
|
||||
connection default;
|
||||
select event_name,
|
||||
left(source, locate(":", source)) as short_source,
|
||||
timer_end, timer_wait, operation
|
||||
if(timer_end IS NULL, NULL, "SET") as timer_end,
|
||||
if(timer_wait IS NULL, NULL, "SET") as timer_wait,
|
||||
operation
|
||||
from performance_schema.events_waits_current
|
||||
where event_name like "wait/synch/cond/sql/MDL_context::COND_wait_status";
|
||||
event_name short_source timer_end timer_wait operation
|
||||
wait/synch/cond/sql/MDL_context::COND_wait_status mdl.cc: NULL NULL timed_wait
|
||||
wait/synch/cond/sql/MDL_context::COND_wait_status mdl.cc: SET SET timed_wait
|
||||
unlock tables;
|
||||
update performance_schema.setup_instruments set enabled='NO';
|
||||
update performance_schema.setup_instruments set enabled='YES';
|
||||
|
@@ -108,6 +108,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -38,6 +38,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -40,7 +40,7 @@ select digest, digest_text, count_star
|
||||
from performance_schema.events_statements_summary_by_digest
|
||||
where digest_text like "%in_%_digest%";
|
||||
digest digest_text count_star
|
||||
8d588d616712c7d8dfabf22ce262662b SELECT ? AS in_master_digest 1
|
||||
83fd516ccb1407eac535df09e5dd1e50 SELECT ? AS `in_master_digest` 1
|
||||
insert into test.marker values (2);
|
||||
**** On Slave ****
|
||||
select * from test.marker;
|
||||
@@ -67,7 +67,7 @@ select digest, digest_text, count_star
|
||||
from performance_schema.events_statements_summary_by_digest
|
||||
where digest_text like "%in_%_digest%";
|
||||
digest digest_text count_star
|
||||
02e25175edc3b2834b9b41d58f5a8a6a SELECT ? AS in_slave_digest 1
|
||||
073b595f4ca8178745392f361ef8a531 SELECT ? AS `in_slave_digest` 1
|
||||
**** On Master ****
|
||||
delete from performance_schema.setup_objects
|
||||
where object_schema='master';
|
||||
|
@@ -101,20 +101,20 @@ drop database marker2_db;
|
||||
select thread_id, event_id, rpad(event_name, 28, ' ') event_name, rpad(current_schema, 10, ' ') current_schema, rpad(digest_text, 72, ' ') digest_text, sql_text from performance_schema.events_statements_history_long
|
||||
where sql_text like '%marker%' order by event_id;
|
||||
thread_id event_id event_name current_schema digest_text sql_text
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_db test CREATE SCHEMA marker1_db create database marker1_db
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_db test CREATE SCHEMA marker2_db create database marker2_db
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_table test CREATE TABLE marker1_db . table1 ( s1 INTEGER ) ENGINE = innodb create table marker1_db.table1 (s1 int) engine=innodb
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_table test CREATE TABLE marker2_db . table1 ( s1 INTEGER ) ENGINE = innodb create table marker2_db.table1 (s1 int) engine=innodb
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_table test CREATE TABLE marker2_db . table2 ( s1 INTEGER ) ENGINE = innodb create table marker2_db.table2 (s1 int) engine=innodb
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO marker1_db . table1 VALUES (?) /* , ... */ insert into marker1_db.table1 values (1), (2), (3)
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO marker2_db . table1 VALUES (?) /* , ... */ insert into marker2_db.table1 values (1), (2), (3)
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/alter_table test ALTER TABLE marker1_db . table1 ADD COLUMN ( s2 VARCHARACTER (?) ) alter table marker1_db.table1 add column (s2 varchar(32))
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO marker1_db . table1 VALUES (...) /* , ... */ insert into marker1_db.table1 values (4, 'four'), (5, 'five'), (6, 'six')
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/update test UPDATE marker1_db . table1 SET s1 = s1 + ? update marker1_db.table1 set s1 = s1 + 1
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO marker1_db . table1 VALUES (...) /* , ... */ insert into marker1_db.table1 values (7, 'seven'), (8, 'eight'), (9, 'nine')
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/delete test DELETE FROM marker1_db . table1 WHERE s1 > ? delete from marker1_db.table1 where s1 > 4
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/drop_table test DROP TABLE marker2_db . table1 drop table marker2_db.table1
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/drop_db test DROP SCHEMA marker2_db drop database marker2_db
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_db test CREATE SCHEMA `marker1_db` create database marker1_db
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_db test CREATE SCHEMA `marker2_db` create database marker2_db
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_table test CREATE TABLE `marker1_db` . `table1` ( `s1` INTEGER ) ENGINE = `innodb` create table marker1_db.table1 (s1 int) engine=innodb
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_table test CREATE TABLE `marker2_db` . `table1` ( `s1` INTEGER ) ENGINE = `innodb` create table marker2_db.table1 (s1 int) engine=innodb
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_table test CREATE TABLE `marker2_db` . `table2` ( `s1` INTEGER ) ENGINE = `innodb` create table marker2_db.table2 (s1 int) engine=innodb
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO `marker1_db` . `table1` VALUES (?) /* , ... */ insert into marker1_db.table1 values (1), (2), (3)
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO `marker2_db` . `table1` VALUES (?) /* , ... */ insert into marker2_db.table1 values (1), (2), (3)
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/alter_table test ALTER TABLE `marker1_db` . `table1` ADD COLUMN ( `s2` VARCHARACTER (?) ) alter table marker1_db.table1 add column (s2 varchar(32))
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO `marker1_db` . `table1` VALUES (...) /* , ... */ insert into marker1_db.table1 values (4, 'four'), (5, 'five'), (6, 'six')
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/update test UPDATE `marker1_db` . `table1` SET `s1` = `s1` + ? update marker1_db.table1 set s1 = s1 + 1
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO `marker1_db` . `table1` VALUES (...) /* , ... */ insert into marker1_db.table1 values (7, 'seven'), (8, 'eight'), (9, 'nine')
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/delete test DELETE FROM `marker1_db` . `table1` WHERE `s1` > ? delete from marker1_db.table1 where s1 > 4
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/drop_table test DROP TABLE `marker2_db` . `table1` drop table marker2_db.table1
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/drop_db test DROP SCHEMA `marker2_db` drop database marker2_db
|
||||
|
||||
#
|
||||
# STEP 4 - REPLICATE STATEMENT EVENTS ON MASTER TO SLAVE
|
||||
@@ -141,39 +141,39 @@ where (thread_id=@my_thread_id and digest_text like '%marker%'));
|
||||
|
||||
select thread_id, event_id, rpad(event_name, 28, ' ') event_name, rpad(current_schema, 10, ' ') current_schema, rpad(digest_text, 72, ' ') digest_text, sql_text from master_events_statements_history_long order by event_id;
|
||||
thread_id event_id event_name current_schema digest_text sql_text
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_db test CREATE SCHEMA marker1_db create database marker1_db
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_db test CREATE SCHEMA marker2_db create database marker2_db
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_table test CREATE TABLE marker1_db . table1 ( s1 INTEGER ) ENGINE = innodb create table marker1_db.table1 (s1 int) engine=innodb
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_table test CREATE TABLE marker2_db . table1 ( s1 INTEGER ) ENGINE = innodb create table marker2_db.table1 (s1 int) engine=innodb
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_table test CREATE TABLE marker2_db . table2 ( s1 INTEGER ) ENGINE = innodb create table marker2_db.table2 (s1 int) engine=innodb
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO marker1_db . table1 VALUES (?) /* , ... */ insert into marker1_db.table1 values (1), (2), (3)
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO marker2_db . table1 VALUES (?) /* , ... */ insert into marker2_db.table1 values (1), (2), (3)
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/alter_table test ALTER TABLE marker1_db . table1 ADD COLUMN ( s2 VARCHARACTER (?) ) alter table marker1_db.table1 add column (s2 varchar(32))
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO marker1_db . table1 VALUES (...) /* , ... */ insert into marker1_db.table1 values (4, 'four'), (5, 'five'), (6, 'six')
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/update test UPDATE marker1_db . table1 SET s1 = s1 + ? update marker1_db.table1 set s1 = s1 + 1
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO marker1_db . table1 VALUES (...) /* , ... */ insert into marker1_db.table1 values (7, 'seven'), (8, 'eight'), (9, 'nine')
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/delete test DELETE FROM marker1_db . table1 WHERE s1 > ? delete from marker1_db.table1 where s1 > 4
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/drop_table test DROP TABLE marker2_db . table1 drop table marker2_db.table1
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/drop_db test DROP SCHEMA marker2_db drop database marker2_db
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_db test CREATE SCHEMA `marker1_db` create database marker1_db
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_db test CREATE SCHEMA `marker2_db` create database marker2_db
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_table test CREATE TABLE `marker1_db` . `table1` ( `s1` INTEGER ) ENGINE = `innodb` create table marker1_db.table1 (s1 int) engine=innodb
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_table test CREATE TABLE `marker2_db` . `table1` ( `s1` INTEGER ) ENGINE = `innodb` create table marker2_db.table1 (s1 int) engine=innodb
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_table test CREATE TABLE `marker2_db` . `table2` ( `s1` INTEGER ) ENGINE = `innodb` create table marker2_db.table2 (s1 int) engine=innodb
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO `marker1_db` . `table1` VALUES (?) /* , ... */ insert into marker1_db.table1 values (1), (2), (3)
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO `marker2_db` . `table1` VALUES (?) /* , ... */ insert into marker2_db.table1 values (1), (2), (3)
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/alter_table test ALTER TABLE `marker1_db` . `table1` ADD COLUMN ( `s2` VARCHARACTER (?) ) alter table marker1_db.table1 add column (s2 varchar(32))
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO `marker1_db` . `table1` VALUES (...) /* , ... */ insert into marker1_db.table1 values (4, 'four'), (5, 'five'), (6, 'six')
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/update test UPDATE `marker1_db` . `table1` SET `s1` = `s1` + ? update marker1_db.table1 set s1 = s1 + 1
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO `marker1_db` . `table1` VALUES (...) /* , ... */ insert into marker1_db.table1 values (7, 'seven'), (8, 'eight'), (9, 'nine')
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/delete test DELETE FROM `marker1_db` . `table1` WHERE `s1` > ? delete from marker1_db.table1 where s1 > 4
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/drop_table test DROP TABLE `marker2_db` . `table1` drop table marker2_db.table1
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/drop_db test DROP SCHEMA `marker2_db` drop database marker2_db
|
||||
|
||||
*** List statement events on slave
|
||||
|
||||
select thread_id, event_id, rpad(event_name, 28, ' ') event_name, rpad(current_schema, 10, ' ') current_schema, rpad(digest_text, 72, ' ') digest_text, sql_text from performance_schema.events_statements_history_long
|
||||
where thread_id = @slave_thread_id and sql_text like '%marker%' order by event_id;
|
||||
thread_id event_id event_name current_schema digest_text sql_text
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_db marker1_db CREATE SCHEMA marker1_db create database marker1_db
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_db marker2_db CREATE SCHEMA marker2_db create database marker2_db
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_table test CREATE TABLE marker1_db . table1 ( s1 INTEGER ) ENGINE = innodb create table marker1_db.table1 (s1 int) engine=innodb
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_table test CREATE TABLE marker2_db . table1 ( s1 INTEGER ) ENGINE = innodb create table marker2_db.table1 (s1 int) engine=innodb
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_table test CREATE TABLE marker2_db . table2 ( s1 INTEGER ) ENGINE = innodb create table marker2_db.table2 (s1 int) engine=innodb
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO marker1_db . table1 VALUES (?) /* , ... */ insert into marker1_db.table1 values (1), (2), (3)
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO marker2_db . table1 VALUES (?) /* , ... */ insert into marker2_db.table1 values (1), (2), (3)
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/alter_table test ALTER TABLE marker1_db . table1 ADD COLUMN ( s2 VARCHARACTER (?) ) alter table marker1_db.table1 add column (s2 varchar(32))
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO marker1_db . table1 VALUES (...) /* , ... */ insert into marker1_db.table1 values (4, 'four'), (5, 'five'), (6, 'six')
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/update test UPDATE marker1_db . table1 SET s1 = s1 + ? update marker1_db.table1 set s1 = s1 + 1
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/delete test DELETE FROM marker1_db . table1 WHERE s1 > ? delete from marker1_db.table1 where s1 > 4
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_db marker1_db CREATE SCHEMA `marker1_db` create database marker1_db
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_db marker2_db CREATE SCHEMA `marker2_db` create database marker2_db
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_table test CREATE TABLE `marker1_db` . `table1` ( `s1` INTEGER ) ENGINE = `innodb` create table marker1_db.table1 (s1 int) engine=innodb
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_table test CREATE TABLE `marker2_db` . `table1` ( `s1` INTEGER ) ENGINE = `innodb` create table marker2_db.table1 (s1 int) engine=innodb
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/create_table test CREATE TABLE `marker2_db` . `table2` ( `s1` INTEGER ) ENGINE = `innodb` create table marker2_db.table2 (s1 int) engine=innodb
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO `marker1_db` . `table1` VALUES (?) /* , ... */ insert into marker1_db.table1 values (1), (2), (3)
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO `marker2_db` . `table1` VALUES (?) /* , ... */ insert into marker2_db.table1 values (1), (2), (3)
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/alter_table test ALTER TABLE `marker1_db` . `table1` ADD COLUMN ( `s2` VARCHARACTER (?) ) alter table marker1_db.table1 add column (s2 varchar(32))
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/insert test INSERT INTO `marker1_db` . `table1` VALUES (...) /* , ... */ insert into marker1_db.table1 values (4, 'four'), (5, 'five'), (6, 'six')
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/update test UPDATE `marker1_db` . `table1` SET `s1` = `s1` + ? update marker1_db.table1 set s1 = s1 + 1
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/delete test DELETE FROM `marker1_db` . `table1` WHERE `s1` > ? delete from marker1_db.table1 where s1 > 4
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/drop_table test DROP TABLE `marker2_db` . `table1` DROP TABLE `marker2_db`.`table1` /* generated by server */
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/drop_db marker2_db DROP SCHEMA marker2_db drop database marker2_db
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/drop_db marker2_db DROP SCHEMA `marker2_db` drop database marker2_db
|
||||
|
||||
*** Compare master and slave events
|
||||
|
||||
@@ -193,7 +193,6 @@ where t1.thread_id = @slave_thread_id and
|
||||
sql_text like '%marker%' and
|
||||
not exists (select * from master_events_statements_history_long t2 where t2.digest = t1.digest);
|
||||
thread_id event_id event_name digest digest_text sql_text
|
||||
[THREAD_ID] [EVENT_ID] statement/sql/drop_table [DIGEST] DROP TABLE `marker2_db` . `table1` DROP TABLE `marker2_db`.`table1` /* generated by server */
|
||||
|
||||
#
|
||||
# STEP 6 - DISABLE REPLICATED STATEMENT EVENTS ON SLAVE
|
||||
|
@@ -23,6 +23,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 3504
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 7693
|
||||
|
@@ -23,6 +23,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 10900
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 23385
|
||||
|
@@ -23,6 +23,7 @@ performance_schema_events_waits_history_size 5
|
||||
performance_schema_hosts_size 20
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 612
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 1556
|
||||
|
@@ -23,6 +23,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1079
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 1754
|
||||
|
@@ -14,6 +14,7 @@ performance_schema_events_waits_history_size -1
|
||||
performance_schema_hosts_size -1
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances -1
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances -1
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 0
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 0
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 0
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 0
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 0
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 0
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 0
|
||||
performance_schema_hosts_size 0
|
||||
performance_schema_max_cond_classes 0
|
||||
performance_schema_max_cond_instances 0
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 0
|
||||
performance_schema_max_file_handles 0
|
||||
performance_schema_max_file_instances 0
|
||||
@@ -119,6 +120,7 @@ performance_schema_events_waits_history_size 0
|
||||
performance_schema_hosts_size 0
|
||||
performance_schema_max_cond_classes 0
|
||||
performance_schema_max_cond_instances 0
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 0
|
||||
performance_schema_max_file_handles 0
|
||||
performance_schema_max_file_instances 0
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -85,6 +85,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -112,42 +112,41 @@ DROP TRIGGER trg;
|
||||
SELECT SCHEMA_NAME, DIGEST, DIGEST_TEXT, COUNT_STAR, SUM_ROWS_AFFECTED, SUM_WARNINGS,
|
||||
SUM_ERRORS FROM performance_schema.events_statements_summary_by_digest;
|
||||
SCHEMA_NAME DIGEST DIGEST_TEXT COUNT_STAR SUM_ROWS_AFFECTED SUM_WARNINGS SUM_ERRORS
|
||||
statements_digest e4a84a547a18a89f4708509a720def58 TRUNCATE TABLE performance_schema . events_statements_summary_by_digest 1 0 0 0
|
||||
statements_digest ab105aea9c15b3842ad161d18349f9c4 SELECT ? FROM t1 1 0 0 0
|
||||
statements_digest 835083efbaa5d8c29d01d558abb8216b SELECT ? FROM `t1` 1 0 0 0
|
||||
statements_digest 6ff375c6f4b283de91711a78bd91b953 SELECT ?, ... FROM t1 2 0 0 0
|
||||
statements_digest 4879fbad051c94ff76e6ad29effa4903 SELECT ? FROM t2 1 0 0 0
|
||||
statements_digest b1ea4bca7c91ebd647b6b81e80a2ef94 SELECT ?, ... FROM t2 2 0 0 0
|
||||
statements_digest 14d463345df747d42a036019a5988a9b INSERT INTO t1 VALUES (?) 2 2 0 0
|
||||
statements_digest ff2d8aa1fd516f5e25b0faf7b1c80b04 INSERT INTO t2 VALUES (?) 1 1 0 0
|
||||
statements_digest 430116339c3a5bf0a1aa9a96e9cfd354 INSERT INTO t3 VALUES (...) 4 4 0 0
|
||||
statements_digest 01467137a1045e85119538ea248d52dd INSERT INTO t4 VALUES (...) 1 1 0 0
|
||||
statements_digest b201a20a2a534d2789750270b7f90fab INSERT INTO t5 VALUES (...) 1 1 0 0
|
||||
statements_digest b1a5f24770580f243ad6704590165d90 INSERT INTO t1 VALUES (?) /* , ... */ 2 7 0 0
|
||||
statements_digest bbbf619ec8ca4ec4a4da28a71eb12a2f INSERT INTO t3 VALUES (...) /* , ... */ 1 3 0 0
|
||||
statements_digest de7bdb298875f4ef826383e3fce53ef9 INSERT INTO t5 VALUES (...) /* , ... */ 1 3 0 0
|
||||
statements_digest cd4a3e419e2eaed79f66a705ff002910 INSERT INTO t6 VALUES (...) 5 5 0 0
|
||||
statements_digest 01cfd3c48ebe150803a02f0b32ab4f7b TRUNCATE TABLE `performance_schema` . `events_statements_summary_by_digest` 1 0 0 0
|
||||
statements_digest 4a958a8b2138b7ae3b65a0edde877dca SELECT ? FROM `t1` 2 0 0 0
|
||||
statements_digest 1f346cc75586f18fdded6e2f518e7d25 SELECT ?, ... FROM `t1` 2 0 0 0
|
||||
statements_digest 9ed289e97245aee8872bd79573ff71dc SELECT ? FROM `t2` 1 0 0 0
|
||||
statements_digest ec5d6ae42b4292cce44168c701fde301 SELECT ?, ... FROM `t2` 2 0 0 0
|
||||
statements_digest c689b670f102bc028f36273ed00244de INSERT INTO `t1` VALUES (?) 2 2 0 0
|
||||
statements_digest baf2d67435fc5a66f517bd655c9154a3 INSERT INTO `t2` VALUES (?) 1 1 0 0
|
||||
statements_digest cba557f7a643fac3a34563f74c57f040 INSERT INTO `t3` VALUES (...) 4 4 0 0
|
||||
statements_digest 26f967699697844ef6757a283c0432e0 INSERT INTO `t4` VALUES (...) 1 1 0 0
|
||||
statements_digest 1565e5ec0755d0d212e84567fdb86500 INSERT INTO `t5` VALUES (...) 1 1 0 0
|
||||
statements_digest 931de69cfc4123c9f5ebeb8da2e6fb0e INSERT INTO `t1` VALUES (?) /* , ... */ 2 7 0 0
|
||||
statements_digest 81d8a0e0212bb8e02ad8f5e84d8c819a INSERT INTO `t3` VALUES (...) /* , ... */ 1 3 0 0
|
||||
statements_digest 793ba1cc016c6e3c45c63023531955ad INSERT INTO `t5` VALUES (...) /* , ... */ 1 3 0 0
|
||||
statements_digest d44b7d3c3f03b5b9605c9cffb537b083 INSERT INTO `t6` VALUES (...) 5 5 0 0
|
||||
statements_digest f2d57cea9e78e7b37c4509c0564dd1cc SELECT ? + ? 3 0 0 0
|
||||
statements_digest 02396199eed2345830efcf00e51107ee SELECT ? 1 0 0 0
|
||||
statements_digest 7c5b403e11cb8fa41954f8b81d47fb44 CREATE SCHEMA statements_digest_temp 2 2 0 0
|
||||
statements_digest d5c2a9eedc964698407667a633301e69 DROP SCHEMA statements_digest_temp 2 0 0 0
|
||||
statements_digest add5619cd2761d01c66b68b50a4c0476 SELECT ? FROM no_such_table 1 0 0 1
|
||||
statements_digest f59e7a7dbcdc342b7ea72ae24e5ef081 CREATE TABLE dup_table ( c CHARACTER (?) ) 2 0 0 1
|
||||
statements_digest b42311b2b180ba680ebb286f671982f1 DROP TABLE dup_table 1 0 0 0
|
||||
statements_digest 8af43d157243ebdc9dcb1a9502acdd24 INSERT INTO t11 VALUES (?) 1 1 1 0
|
||||
statements_digest d02f821e8ce0a27519c833324368696d CREATE SCHEMA `statements_digest_temp` 2 2 0 0
|
||||
statements_digest 5ea9da83763ff4b01e34c408d865568f DROP SCHEMA `statements_digest_temp` 2 0 0 0
|
||||
statements_digest ac9dfca3fe35b0d4c43a6bf62a3489b5 SELECT ? FROM `no_such_table` 1 0 0 1
|
||||
statements_digest 9fd65056536a8d74ea107b68849cfd27 CREATE TABLE `dup_table` ( `c` CHARACTER (?) ) 2 0 0 1
|
||||
statements_digest f259e984954d6d77a9f94230726e1c0f DROP TABLE `dup_table` 1 0 0 0
|
||||
statements_digest 17c0f9e5abf747e425ae24b66d44cf01 INSERT INTO `t11` VALUES (?) 1 1 1 0
|
||||
statements_digest cee5b131782212e0ba1cd76ba28485c4 SHOW WARNINGS 1 0 0 0
|
||||
statements_digest 438623439c3a1702203d6190795127ad PREPARE stmt FROM ? 1 0 0 0
|
||||
statements_digest e53b71815168ad954fd921a6ae1860c9 EXECUTE stmt 2 0 0 0
|
||||
statements_digest 3bccf5096186ceaf50c11c3deb4e21cf DEALLOCATE PREPARE stmt 1 0 0 0
|
||||
statements_digest e20f8d5cb15105439af39592b79c0edd CREATE PROCEDURE p1 ( ) BEGIN SELECT * FROM t12 ; END 1 0 0 0
|
||||
statements_digest 10298a45c9f7114e4985de53ca99bda7 CALL p1 ( ) 2 0 0 0
|
||||
statements_digest efc046c5d04acb8afa61326f759ad380 DROP PROCEDURE p1 1 0 0 0
|
||||
statements_digest 8eaf9e776b79f24f2b8fae8efb92d8a4 CREATE FUNCTION `func` ( a INTEGER , b INTEGER ) RETURNS INTEGER (?) RETURN a + b 1 0 0 0
|
||||
statements_digest b364c71d8c904eb9e95df4d0ca258c00 SELECT func (...) 2 0 0 0
|
||||
statements_digest 88e7ac9784e4561d12fadccde6ea704a DROP FUNCTION func 1 0 0 0
|
||||
statements_digest 15deeaae5594a691cf21abd4439ee5e6 CREATE TRIGGER trg BEFORE INSERT ON t12 FOR EACH ROW SET @? := ? 1 0 0 0
|
||||
statements_digest 074e38814943a6dce874784d21fea89d INSERT INTO t12 VALUES (?) 2 2 0 0
|
||||
statements_digest 2b5b02ba54b27638d5d8dbe917ff432d DROP TRIGGER trg 1 0 0 0
|
||||
statements_digest 44d441f36c0487f8b32b6cb1e37f7c3f PREPARE `stmt` FROM ? 1 0 0 0
|
||||
statements_digest 73bf0dc38bbbc571613bdb78e85ddb18 EXECUTE `stmt` 2 0 0 0
|
||||
statements_digest 8a87274dfc2961861326c1591f0df4bc DEALLOCATE PREPARE `stmt` 1 0 0 0
|
||||
statements_digest 639ff9b1728335f463d2ed4134c7ec26 CREATE PROCEDURE `p1` ( ) BEGIN SELECT * FROM `t12` ; END 1 0 0 0
|
||||
statements_digest 627bb08bd333aa83cb4bbad88ab6e6b8 CALL `p1` ( ) 2 0 0 0
|
||||
statements_digest 949464b6c55462d9d7ad3f0a7608db10 DROP PROCEDURE `p1` 1 0 0 0
|
||||
statements_digest bfc5c562a60a60857a026a17434e77bb CREATE FUNCTION `func` ( `a` INTEGER , `b` INTEGER ) RETURNS INTEGER (?) RETURN `a` + `b` 1 0 0 0
|
||||
statements_digest cf6fe4a8895dabaf9c30615b49bce6db SELECT `func` (...) 2 0 0 0
|
||||
statements_digest 4b2d4d67e2faa0b938156e60e1f2023b DROP FUNCTION `func` 1 0 0 0
|
||||
statements_digest b859e51c90bdd984a1226ecf25fd80de CREATE TRIGGER `trg` BEFORE INSERT ON `t12` FOR EACH ROW SET @? := ? 1 0 0 0
|
||||
statements_digest cb2f065274b3e03693cb7d5396d4d978 INSERT INTO `t12` VALUES (?) 2 2 0 0
|
||||
statements_digest 903b51b5db2d5393542a7fc2614049fd DROP TRIGGER `trg` 1 0 0 0
|
||||
####################################
|
||||
# CLEANUP
|
||||
####################################
|
||||
|
@@ -125,42 +125,41 @@ DROP TRIGGER trg;
|
||||
####################################
|
||||
SELECT schema_name, digest, digest_text, count_star FROM performance_schema.events_statements_summary_by_digest;
|
||||
schema_name digest digest_text count_star
|
||||
statements_digest e4a84a547a18a89f4708509a720def58 TRUNCATE TABLE performance_schema . events_statements_summary_by_digest 1
|
||||
statements_digest ab105aea9c15b3842ad161d18349f9c4 SELECT ? FROM t1 1
|
||||
statements_digest 835083efbaa5d8c29d01d558abb8216b SELECT ? FROM `t1` 1
|
||||
statements_digest 6ff375c6f4b283de91711a78bd91b953 SELECT ?, ... FROM t1 2
|
||||
statements_digest 4879fbad051c94ff76e6ad29effa4903 SELECT ? FROM t2 1
|
||||
statements_digest b1ea4bca7c91ebd647b6b81e80a2ef94 SELECT ?, ... FROM t2 2
|
||||
statements_digest 14d463345df747d42a036019a5988a9b INSERT INTO t1 VALUES (?) 2
|
||||
statements_digest ff2d8aa1fd516f5e25b0faf7b1c80b04 INSERT INTO t2 VALUES (?) 1
|
||||
statements_digest 430116339c3a5bf0a1aa9a96e9cfd354 INSERT INTO t3 VALUES (...) 4
|
||||
statements_digest 01467137a1045e85119538ea248d52dd INSERT INTO t4 VALUES (...) 1
|
||||
statements_digest b201a20a2a534d2789750270b7f90fab INSERT INTO t5 VALUES (...) 1
|
||||
statements_digest b1a5f24770580f243ad6704590165d90 INSERT INTO t1 VALUES (?) /* , ... */ 2
|
||||
statements_digest bbbf619ec8ca4ec4a4da28a71eb12a2f INSERT INTO t3 VALUES (...) /* , ... */ 1
|
||||
statements_digest de7bdb298875f4ef826383e3fce53ef9 INSERT INTO t5 VALUES (...) /* , ... */ 1
|
||||
statements_digest cd4a3e419e2eaed79f66a705ff002910 INSERT INTO t6 VALUES (...) 5
|
||||
statements_digest 01cfd3c48ebe150803a02f0b32ab4f7b TRUNCATE TABLE `performance_schema` . `events_statements_summary_by_digest` 1
|
||||
statements_digest 4a958a8b2138b7ae3b65a0edde877dca SELECT ? FROM `t1` 2
|
||||
statements_digest 1f346cc75586f18fdded6e2f518e7d25 SELECT ?, ... FROM `t1` 2
|
||||
statements_digest 9ed289e97245aee8872bd79573ff71dc SELECT ? FROM `t2` 1
|
||||
statements_digest ec5d6ae42b4292cce44168c701fde301 SELECT ?, ... FROM `t2` 2
|
||||
statements_digest c689b670f102bc028f36273ed00244de INSERT INTO `t1` VALUES (?) 2
|
||||
statements_digest baf2d67435fc5a66f517bd655c9154a3 INSERT INTO `t2` VALUES (?) 1
|
||||
statements_digest cba557f7a643fac3a34563f74c57f040 INSERT INTO `t3` VALUES (...) 4
|
||||
statements_digest 26f967699697844ef6757a283c0432e0 INSERT INTO `t4` VALUES (...) 1
|
||||
statements_digest 1565e5ec0755d0d212e84567fdb86500 INSERT INTO `t5` VALUES (...) 1
|
||||
statements_digest 931de69cfc4123c9f5ebeb8da2e6fb0e INSERT INTO `t1` VALUES (?) /* , ... */ 2
|
||||
statements_digest 81d8a0e0212bb8e02ad8f5e84d8c819a INSERT INTO `t3` VALUES (...) /* , ... */ 1
|
||||
statements_digest 793ba1cc016c6e3c45c63023531955ad INSERT INTO `t5` VALUES (...) /* , ... */ 1
|
||||
statements_digest d44b7d3c3f03b5b9605c9cffb537b083 INSERT INTO `t6` VALUES (...) 5
|
||||
statements_digest f2d57cea9e78e7b37c4509c0564dd1cc SELECT ? + ? 3
|
||||
statements_digest 02396199eed2345830efcf00e51107ee SELECT ? 1
|
||||
statements_digest 7c5b403e11cb8fa41954f8b81d47fb44 CREATE SCHEMA statements_digest_temp 2
|
||||
statements_digest d5c2a9eedc964698407667a633301e69 DROP SCHEMA statements_digest_temp 2
|
||||
statements_digest add5619cd2761d01c66b68b50a4c0476 SELECT ? FROM no_such_table 1
|
||||
statements_digest f59e7a7dbcdc342b7ea72ae24e5ef081 CREATE TABLE dup_table ( c CHARACTER (?) ) 2
|
||||
statements_digest b42311b2b180ba680ebb286f671982f1 DROP TABLE dup_table 1
|
||||
statements_digest 8af43d157243ebdc9dcb1a9502acdd24 INSERT INTO t11 VALUES (?) 1
|
||||
statements_digest d02f821e8ce0a27519c833324368696d CREATE SCHEMA `statements_digest_temp` 2
|
||||
statements_digest 5ea9da83763ff4b01e34c408d865568f DROP SCHEMA `statements_digest_temp` 2
|
||||
statements_digest ac9dfca3fe35b0d4c43a6bf62a3489b5 SELECT ? FROM `no_such_table` 1
|
||||
statements_digest 9fd65056536a8d74ea107b68849cfd27 CREATE TABLE `dup_table` ( `c` CHARACTER (?) ) 2
|
||||
statements_digest f259e984954d6d77a9f94230726e1c0f DROP TABLE `dup_table` 1
|
||||
statements_digest 17c0f9e5abf747e425ae24b66d44cf01 INSERT INTO `t11` VALUES (?) 1
|
||||
statements_digest cee5b131782212e0ba1cd76ba28485c4 SHOW WARNINGS 1
|
||||
statements_digest 438623439c3a1702203d6190795127ad PREPARE stmt FROM ? 1
|
||||
statements_digest e53b71815168ad954fd921a6ae1860c9 EXECUTE stmt 2
|
||||
statements_digest 3bccf5096186ceaf50c11c3deb4e21cf DEALLOCATE PREPARE stmt 1
|
||||
statements_digest e20f8d5cb15105439af39592b79c0edd CREATE PROCEDURE p1 ( ) BEGIN SELECT * FROM t12 ; END 1
|
||||
statements_digest 10298a45c9f7114e4985de53ca99bda7 CALL p1 ( ) 2
|
||||
statements_digest efc046c5d04acb8afa61326f759ad380 DROP PROCEDURE p1 1
|
||||
statements_digest 8eaf9e776b79f24f2b8fae8efb92d8a4 CREATE FUNCTION `func` ( a INTEGER , b INTEGER ) RETURNS INTEGER (?) RETURN a + b 1
|
||||
statements_digest b364c71d8c904eb9e95df4d0ca258c00 SELECT func (...) 2
|
||||
statements_digest 88e7ac9784e4561d12fadccde6ea704a DROP FUNCTION func 1
|
||||
statements_digest 15deeaae5594a691cf21abd4439ee5e6 CREATE TRIGGER trg BEFORE INSERT ON t12 FOR EACH ROW SET @? := ? 1
|
||||
statements_digest 074e38814943a6dce874784d21fea89d INSERT INTO t12 VALUES (?) 2
|
||||
statements_digest 2b5b02ba54b27638d5d8dbe917ff432d DROP TRIGGER trg 1
|
||||
statements_digest 44d441f36c0487f8b32b6cb1e37f7c3f PREPARE `stmt` FROM ? 1
|
||||
statements_digest 73bf0dc38bbbc571613bdb78e85ddb18 EXECUTE `stmt` 2
|
||||
statements_digest 8a87274dfc2961861326c1591f0df4bc DEALLOCATE PREPARE `stmt` 1
|
||||
statements_digest 639ff9b1728335f463d2ed4134c7ec26 CREATE PROCEDURE `p1` ( ) BEGIN SELECT * FROM `t12` ; END 1
|
||||
statements_digest 627bb08bd333aa83cb4bbad88ab6e6b8 CALL `p1` ( ) 2
|
||||
statements_digest 949464b6c55462d9d7ad3f0a7608db10 DROP PROCEDURE `p1` 1
|
||||
statements_digest bfc5c562a60a60857a026a17434e77bb CREATE FUNCTION `func` ( `a` INTEGER , `b` INTEGER ) RETURNS INTEGER (?) RETURN `a` + `b` 1
|
||||
statements_digest cf6fe4a8895dabaf9c30615b49bce6db SELECT `func` (...) 2
|
||||
statements_digest 4b2d4d67e2faa0b938156e60e1f2023b DROP FUNCTION `func` 1
|
||||
statements_digest b859e51c90bdd984a1226ecf25fd80de CREATE TRIGGER `trg` BEFORE INSERT ON `t12` FOR EACH ROW SET @? := ? 1
|
||||
statements_digest cb2f065274b3e03693cb7d5396d4d978 INSERT INTO `t12` VALUES (?) 2
|
||||
statements_digest 903b51b5db2d5393542a7fc2614049fd DROP TRIGGER `trg` 1
|
||||
SELECT digest, digest_text FROM performance_schema.events_statements_current;
|
||||
digest digest_text
|
||||
####################################
|
||||
|
@@ -8,5 +8,5 @@ SELECT 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1
|
||||
####################################
|
||||
SELECT schema_name, digest, digest_text, count_star FROM events_statements_summary_by_digest;
|
||||
schema_name digest digest_text count_star
|
||||
performance_schema e8d937c7ecf79e105de0f9e364fa5edb TRUNCATE TABLE events_statements_summary_by_digest 1
|
||||
performance_schema d12faab4b919fcc50abb18a009fb6b0b TRUNCATE TABLE `events_statements_summary_by_digest` 1
|
||||
performance_schema 5d9a2f95653d8ca9d9cea3eefff7e361 SELECT ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? + ? 1
|
||||
|
@@ -55,6 +55,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -54,6 +54,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -55,6 +55,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -54,6 +54,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -53,6 +53,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -52,6 +52,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -53,6 +53,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -52,6 +52,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -54,6 +54,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -55,6 +55,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -54,6 +54,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -55,6 +55,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -54,6 +54,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -57,6 +57,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -56,6 +56,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -57,6 +57,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -56,6 +56,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -55,6 +55,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -54,6 +54,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -55,6 +55,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -54,6 +54,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -57,6 +57,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -56,6 +56,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -57,6 +57,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -56,6 +56,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -57,6 +57,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -56,6 +56,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -57,6 +57,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -56,6 +56,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -55,6 +55,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -54,6 +54,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -55,6 +55,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -54,6 +54,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -57,6 +57,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -56,6 +56,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -57,6 +57,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -56,6 +56,7 @@ performance_schema_events_waits_history_size 10
|
||||
performance_schema_hosts_size 100
|
||||
performance_schema_max_cond_classes 80
|
||||
performance_schema_max_cond_instances 1000
|
||||
performance_schema_max_digest_length 1024
|
||||
performance_schema_max_file_classes 50
|
||||
performance_schema_max_file_handles 32768
|
||||
performance_schema_max_file_instances 10000
|
||||
|
@@ -39,9 +39,9 @@ ERROR 42S02: Table 'test.expect_unchanged' doesn't exist
|
||||
SELECT SCHEMA_NAME, DIGEST_TEXT, COUNT_STAR
|
||||
FROM performance_schema.events_statements_summary_by_digest;
|
||||
SCHEMA_NAME DIGEST_TEXT COUNT_STAR
|
||||
test TRUNCATE TABLE performance_schema . events_statements_summary_by_digest 1
|
||||
test SELECT ? FROM expect_unary 5
|
||||
test SELECT ? + ? FROM expect_binary 2
|
||||
test SELECT ? - ? FROM expect_binary 2
|
||||
test INSERT INTO expect_full_reduce VALUES (...) 27
|
||||
test SELECT a - b , a + b , - a , - b , + a , + b FROM expect_unchanged 1
|
||||
test TRUNCATE TABLE `performance_schema` . `events_statements_summary_by_digest` 1
|
||||
test SELECT ? FROM `expect_unary` 5
|
||||
test SELECT ? + ? FROM `expect_binary` 2
|
||||
test SELECT ? - ? FROM `expect_binary` 2
|
||||
test INSERT INTO `expect_full_reduce` VALUES (...) 27
|
||||
test SELECT `a` - `b` , `a` + `b` , - `a` , - `b` , + `a` , + `b` FROM `expect_unchanged` 1
|
||||
|
@@ -56,7 +56,9 @@ let $wait_condition= select 1 from performance_schema.events_waits_current where
|
||||
# Observe the blocked thread in the performance schema :)
|
||||
select event_name,
|
||||
left(source, locate(":", source)) as short_source,
|
||||
timer_end, timer_wait, operation
|
||||
if(timer_end IS NULL, NULL, "SET") as timer_end,
|
||||
if(timer_wait IS NULL, NULL, "SET") as timer_wait,
|
||||
operation
|
||||
from performance_schema.events_waits_current
|
||||
where event_name like "wait/synch/cond/sql/MDL_context::COND_wait_status";
|
||||
|
||||
|
Reference in New Issue
Block a user