summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/galera/r/galera_performance_schema.result
blob: 8c99669c6aa8fb14a399b5f73201d264a3c0a923 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
connection node_2;
connection node_1;
use performance_schema;
SELECT name
FROM threads
WHERE name LIKE 'thread/sql/wsrep%'
ORDER BY name;
name	thread/sql/wsrep_applier_thread
name	thread/sql/wsrep_rollbacker_thread
use test;
create table t1 (a int not null primary key) engine=innodb;
insert into t1 values (1),(2);
use performance_schema;
select name from mutex_instances where name like 'wait/synch/mutex/sql/LOCK_wsrep%' order by name;
name	wait/synch/mutex/sql/LOCK_wsrep_cluster_config
name	wait/synch/mutex/sql/LOCK_wsrep_config_state
name	wait/synch/mutex/sql/LOCK_wsrep_desync
name	wait/synch/mutex/sql/LOCK_wsrep_donor_monitor
name	wait/synch/mutex/sql/LOCK_wsrep_group_commit
name	wait/synch/mutex/sql/LOCK_wsrep_gtid_wait_upto
name	wait/synch/mutex/sql/LOCK_wsrep_joiner_monitor
name	wait/synch/mutex/sql/LOCK_wsrep_ready
name	wait/synch/mutex/sql/LOCK_wsrep_replaying
name	wait/synch/mutex/sql/LOCK_wsrep_slave_threads
name	wait/synch/mutex/sql/LOCK_wsrep_SR_pool
name	wait/synch/mutex/sql/LOCK_wsrep_SR_store
name	wait/synch/mutex/sql/LOCK_wsrep_sst
name	wait/synch/mutex/sql/LOCK_wsrep_sst_init
select name from cond_instances where name like 'wait/synch/cond/sql/COND_wsrep%' order by name;
name	wait/synch/cond/sql/COND_wsrep_donor_monitor
name	wait/synch/cond/sql/COND_wsrep_joiner_monitor
name	wait/synch/cond/sql/COND_wsrep_ready
name	wait/synch/cond/sql/COND_wsrep_replaying
name	wait/synch/cond/sql/COND_wsrep_sst
name	wait/synch/cond/sql/COND_wsrep_sst_init
name	wait/synch/cond/sql/COND_wsrep_wsrep_slave_threads
connection node_2;
use test;
SET SESSION wsrep_on=OFF;
CREATE TABLE t2 (f1 INTEGER) engine=innodb;
connection node_1;
use test;
CREATE TABLE t2 (f1 INTEGER) engine=innodb;
connection node_2;
SET SESSION wsrep_on=ON;
SELECT COUNT(*) FROM t1;
COUNT(*)	2
use performance_schema;
select count(*)>=1 from file_instances where file_name like '%GRA_%.log';
count(*)>=1	1
CALL mtr.add_suppression("Slave SQL: Error 'Table 't2' already exists' on query");
use test;
drop table t1;
drop table t2;