mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
P_S 5.7.28
This commit is contained in:
@ -1,4 +1,14 @@
|
||||
<<<<<<< HEAD
|
||||
connect con1, localhost, user1, , ;
|
||||
=======
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
Warnings:
|
||||
Warning 1287 Using GRANT for creating new user is deprecated and will be removed in future release. Create new user with CREATE USER statement.
|
||||
Warnings:
|
||||
Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
|
||||
"================== con1 connected =================="
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
select "MARKER_BEGIN" as marker;
|
||||
marker
|
||||
MARKER_BEGIN
|
||||
@ -40,7 +50,7 @@ where sql_text like "%MARKER_END%" and thread_id = @con1_tid);
|
||||
select (@marker_end is not null) as expected;
|
||||
expected
|
||||
1
|
||||
show status like "performance_schema%";
|
||||
show global status like "performance_schema%";
|
||||
Variable_name Value
|
||||
Performance_schema_accounts_lost 0
|
||||
Performance_schema_cond_classes_lost 0
|
||||
@ -50,9 +60,15 @@ Performance_schema_file_classes_lost 0
|
||||
Performance_schema_file_handles_lost 0
|
||||
Performance_schema_file_instances_lost 0
|
||||
Performance_schema_hosts_lost 0
|
||||
Performance_schema_index_stat_lost 0
|
||||
Performance_schema_locker_lost 0
|
||||
Performance_schema_memory_classes_lost 0
|
||||
Performance_schema_metadata_lock_lost 0
|
||||
Performance_schema_mutex_classes_lost 0
|
||||
Performance_schema_mutex_instances_lost 0
|
||||
Performance_schema_nested_statement_lost 0
|
||||
Performance_schema_prepared_statements_lost 0
|
||||
Performance_schema_program_lost 0
|
||||
Performance_schema_rwlock_classes_lost 0
|
||||
Performance_schema_rwlock_instances_lost 0
|
||||
Performance_schema_session_connect_attrs_lost 0
|
||||
@ -62,6 +78,7 @@ Performance_schema_stage_classes_lost 0
|
||||
Performance_schema_statement_classes_lost 0
|
||||
Performance_schema_table_handles_lost 0
|
||||
Performance_schema_table_instances_lost 0
|
||||
Performance_schema_table_lock_stat_lost 0
|
||||
Performance_schema_thread_classes_lost 0
|
||||
Performance_schema_thread_instances_lost 0
|
||||
Performance_schema_users_lost 0
|
||||
@ -107,14 +124,21 @@ and (end_event_id <= @marker_end)
|
||||
) all_events
|
||||
order by relative_event_id asc;
|
||||
relative_event_id relative_end_event_id event_name comment nesting_event_type relative_nesting_event_id
|
||||
<<<<<<< HEAD
|
||||
0 20 statement/sql/select select "MARKER_BEGIN" as marker NULL NULL
|
||||
1 4 stage/sql/Init (stage) STATEMENT 0
|
||||
=======
|
||||
<<<<<<< HEAD
|
||||
0 18 statement/sql/select select "MARKER_BEGIN" as marker NULL NULL
|
||||
1 4 stage/sql/init (stage) STATEMENT 0
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
2 2 wait/io/socket/sql/client_connection recv STAGE 1
|
||||
3 3 wait/synch/mutex/sql/THD::LOCK_thd_data lock STAGE 1
|
||||
4 4 wait/io/file/sql/query_log write STAGE 1
|
||||
5 5 stage/sql/Checking permissions (stage) STATEMENT 0
|
||||
6 6 stage/sql/Opening tables (stage) STATEMENT 0
|
||||
7 7 stage/sql/After opening tables (stage) STATEMENT 0
|
||||
<<<<<<< HEAD
|
||||
8 8 stage/sql/Init (stage) STATEMENT 0
|
||||
9 9 stage/sql/Optimizing (stage) STATEMENT 0
|
||||
10 10 stage/sql/Executing (stage) STATEMENT 0
|
||||
@ -174,6 +198,72 @@ relative_event_id relative_end_event_id event_name comment nesting_event_type re
|
||||
64 64 wait/synch/mutex/sql/THD::LOCK_thd_data lock STAGE 63
|
||||
65 65 idle idle NULL NULL
|
||||
66 85 statement/sql/select select "This is the first part of a multi query" as payload;
|
||||
=======
|
||||
=======
|
||||
0 17 statement/sql/select select "MARKER_BEGIN" as marker NULL NULL
|
||||
1 5 stage/sql/starting (stage) STATEMENT 0
|
||||
2 2 wait/io/socket/sql/client_connection recv STAGE 1
|
||||
3 3 wait/synch/mutex/sql/THD::LOCK_thd_data lock STAGE 1
|
||||
4 4 wait/synch/mutex/sql/THD::LOCK_thd_query lock STAGE 1
|
||||
5 5 wait/io/file/sql/query_log write STAGE 1
|
||||
6 6 stage/sql/checking permissions (stage) STATEMENT 0
|
||||
7 7 stage/sql/Opening tables (stage) STATEMENT 0
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
8 8 stage/sql/init (stage) STATEMENT 0
|
||||
9 9 stage/sql/optimizing (stage) STATEMENT 0
|
||||
10 10 stage/sql/executing (stage) STATEMENT 0
|
||||
11 11 stage/sql/end (stage) STATEMENT 0
|
||||
12 12 stage/sql/query end (stage) STATEMENT 0
|
||||
13 13 stage/sql/closing tables (stage) STATEMENT 0
|
||||
<<<<<<< HEAD
|
||||
14 14 stage/sql/freeing items (stage) STATEMENT 0
|
||||
15 15 wait/io/socket/sql/client_connection send STATEMENT 0
|
||||
16 16 wait/synch/mutex/sql/THD::LOCK_thd_data lock STATEMENT 0
|
||||
17 18 stage/sql/cleaning up (stage) STATEMENT 0
|
||||
18 18 wait/synch/mutex/sql/THD::LOCK_thd_data lock STAGE 17
|
||||
19 19 idle idle NULL NULL
|
||||
20 38 statement/sql/select select "This is simple statement one" as payload NULL NULL
|
||||
21 24 stage/sql/init (stage) STATEMENT 20
|
||||
22 22 wait/io/socket/sql/client_connection recv STAGE 21
|
||||
23 23 wait/synch/mutex/sql/THD::LOCK_thd_data lock STAGE 21
|
||||
24 24 wait/io/file/sql/query_log write STAGE 21
|
||||
25 25 stage/sql/checking permissions (stage) STATEMENT 20
|
||||
26 26 stage/sql/Opening tables (stage) STATEMENT 20
|
||||
27 27 stage/sql/After opening tables (stage) STATEMENT 20
|
||||
28 28 stage/sql/init (stage) STATEMENT 20
|
||||
29 29 stage/sql/optimizing (stage) STATEMENT 20
|
||||
30 30 stage/sql/executing (stage) STATEMENT 20
|
||||
31 31 stage/sql/end (stage) STATEMENT 20
|
||||
32 32 stage/sql/query end (stage) STATEMENT 20
|
||||
33 33 stage/sql/closing tables (stage) STATEMENT 20
|
||||
34 34 stage/sql/freeing items (stage) STATEMENT 20
|
||||
35 35 wait/io/socket/sql/client_connection send STATEMENT 20
|
||||
36 36 wait/synch/mutex/sql/THD::LOCK_thd_data lock STATEMENT 20
|
||||
37 38 stage/sql/cleaning up (stage) STATEMENT 20
|
||||
38 38 wait/synch/mutex/sql/THD::LOCK_thd_data lock STAGE 37
|
||||
39 39 idle idle NULL NULL
|
||||
40 58 statement/sql/select select "This is simple statement two" as payload NULL NULL
|
||||
41 44 stage/sql/init (stage) STATEMENT 40
|
||||
42 42 wait/io/socket/sql/client_connection recv STAGE 41
|
||||
43 43 wait/synch/mutex/sql/THD::LOCK_thd_data lock STAGE 41
|
||||
44 44 wait/io/file/sql/query_log write STAGE 41
|
||||
45 45 stage/sql/checking permissions (stage) STATEMENT 40
|
||||
46 46 stage/sql/Opening tables (stage) STATEMENT 40
|
||||
47 47 stage/sql/After opening tables (stage) STATEMENT 40
|
||||
48 48 stage/sql/init (stage) STATEMENT 40
|
||||
49 49 stage/sql/optimizing (stage) STATEMENT 40
|
||||
50 50 stage/sql/executing (stage) STATEMENT 40
|
||||
51 51 stage/sql/end (stage) STATEMENT 40
|
||||
52 52 stage/sql/query end (stage) STATEMENT 40
|
||||
53 53 stage/sql/closing tables (stage) STATEMENT 40
|
||||
54 54 stage/sql/freeing items (stage) STATEMENT 40
|
||||
55 55 wait/io/socket/sql/client_connection send STATEMENT 40
|
||||
56 56 wait/synch/mutex/sql/THD::LOCK_thd_data lock STATEMENT 40
|
||||
57 58 stage/sql/cleaning up (stage) STATEMENT 40
|
||||
58 58 wait/synch/mutex/sql/THD::LOCK_thd_data lock STAGE 57
|
||||
59 59 idle idle NULL NULL
|
||||
60 76 statement/sql/select select "This is the first part of a multi query" as payload;
|
||||
>>>>>>> 258e16fa2de... WIP 5.7 P_S
|
||||
select "And this is the second part of a multi query" as payload;
|
||||
select "With a third part to make things complete" as payload NULL NULL
|
||||
67 71 stage/sql/Init (stage) STATEMENT 66
|
||||
@ -256,3 +346,120 @@ select "With a third part to make things complete" as payload NULL NULL
|
||||
143 144 stage/sql/Reset for next command (stage) STATEMENT 124
|
||||
144 144 wait/synch/mutex/sql/THD::LOCK_thd_data lock STAGE 143
|
||||
disconnect con1;
|
||||
=======
|
||||
14 15 stage/sql/freeing items (stage) STATEMENT 0
|
||||
15 15 wait/io/socket/sql/client_connection send STAGE 14
|
||||
16 17 stage/sql/cleaning up (stage) STATEMENT 0
|
||||
17 17 wait/synch/mutex/sql/THD::LOCK_thd_query lock STAGE 16
|
||||
18 18 idle idle NULL NULL
|
||||
19 36 statement/sql/select select "This is simple statement one" as payload NULL NULL
|
||||
20 24 stage/sql/starting (stage) STATEMENT 19
|
||||
21 21 wait/io/socket/sql/client_connection recv STAGE 20
|
||||
22 22 wait/synch/mutex/sql/THD::LOCK_thd_data lock STAGE 20
|
||||
23 23 wait/synch/mutex/sql/THD::LOCK_thd_query lock STAGE 20
|
||||
24 24 wait/io/file/sql/query_log write STAGE 20
|
||||
25 25 stage/sql/checking permissions (stage) STATEMENT 19
|
||||
26 26 stage/sql/Opening tables (stage) STATEMENT 19
|
||||
27 27 stage/sql/init (stage) STATEMENT 19
|
||||
28 28 stage/sql/optimizing (stage) STATEMENT 19
|
||||
29 29 stage/sql/executing (stage) STATEMENT 19
|
||||
30 30 stage/sql/end (stage) STATEMENT 19
|
||||
31 31 stage/sql/query end (stage) STATEMENT 19
|
||||
32 32 stage/sql/closing tables (stage) STATEMENT 19
|
||||
33 34 stage/sql/freeing items (stage) STATEMENT 19
|
||||
34 34 wait/io/socket/sql/client_connection send STAGE 33
|
||||
35 36 stage/sql/cleaning up (stage) STATEMENT 19
|
||||
36 36 wait/synch/mutex/sql/THD::LOCK_thd_query lock STAGE 35
|
||||
37 37 idle idle NULL NULL
|
||||
38 55 statement/sql/select select "This is simple statement two" as payload NULL NULL
|
||||
39 43 stage/sql/starting (stage) STATEMENT 38
|
||||
40 40 wait/io/socket/sql/client_connection recv STAGE 39
|
||||
41 41 wait/synch/mutex/sql/THD::LOCK_thd_data lock STAGE 39
|
||||
42 42 wait/synch/mutex/sql/THD::LOCK_thd_query lock STAGE 39
|
||||
43 43 wait/io/file/sql/query_log write STAGE 39
|
||||
44 44 stage/sql/checking permissions (stage) STATEMENT 38
|
||||
45 45 stage/sql/Opening tables (stage) STATEMENT 38
|
||||
46 46 stage/sql/init (stage) STATEMENT 38
|
||||
47 47 stage/sql/optimizing (stage) STATEMENT 38
|
||||
48 48 stage/sql/executing (stage) STATEMENT 38
|
||||
49 49 stage/sql/end (stage) STATEMENT 38
|
||||
50 50 stage/sql/query end (stage) STATEMENT 38
|
||||
51 51 stage/sql/closing tables (stage) STATEMENT 38
|
||||
52 53 stage/sql/freeing items (stage) STATEMENT 38
|
||||
53 53 wait/io/socket/sql/client_connection send STAGE 52
|
||||
54 55 stage/sql/cleaning up (stage) STATEMENT 38
|
||||
55 55 wait/synch/mutex/sql/THD::LOCK_thd_query lock STAGE 54
|
||||
56 56 idle idle NULL NULL
|
||||
57 73 statement/sql/select select "This is the first part of a multi query" as payload;
|
||||
select "And this is the second part of a multi query" as payload;
|
||||
select "With a third part to make things complete" as payload NULL NULL
|
||||
58 63 stage/sql/starting (stage) STATEMENT 57
|
||||
59 59 wait/io/socket/sql/client_connection recv STAGE 58
|
||||
60 60 wait/synch/mutex/sql/THD::LOCK_thd_data lock STAGE 58
|
||||
61 61 wait/synch/mutex/sql/THD::LOCK_thd_query lock STAGE 58
|
||||
62 62 wait/io/file/sql/query_log write STAGE 58
|
||||
63 63 wait/synch/mutex/sql/THD::LOCK_thd_query lock STAGE 58
|
||||
64 64 stage/sql/checking permissions (stage) STATEMENT 57
|
||||
65 65 stage/sql/Opening tables (stage) STATEMENT 57
|
||||
66 66 stage/sql/init (stage) STATEMENT 57
|
||||
67 67 stage/sql/optimizing (stage) STATEMENT 57
|
||||
68 68 stage/sql/executing (stage) STATEMENT 57
|
||||
69 69 stage/sql/end (stage) STATEMENT 57
|
||||
70 70 stage/sql/query end (stage) STATEMENT 57
|
||||
71 71 stage/sql/closing tables (stage) STATEMENT 57
|
||||
72 73 stage/sql/freeing items (stage) STATEMENT 57
|
||||
73 73 wait/io/socket/sql/client_connection send STAGE 72
|
||||
74 89 statement/sql/select select "And this is the second part of a multi query" as payload;
|
||||
select "With a third part to make things complete" as payload NULL NULL
|
||||
75 79 stage/sql/starting (stage) STATEMENT 74
|
||||
76 76 wait/synch/mutex/sql/THD::LOCK_thd_query lock STAGE 75
|
||||
77 77 wait/synch/mutex/sql/THD::LOCK_thd_data lock STAGE 75
|
||||
78 78 wait/io/file/sql/query_log write STAGE 75
|
||||
79 79 wait/synch/mutex/sql/THD::LOCK_thd_query lock STAGE 75
|
||||
80 80 stage/sql/checking permissions (stage) STATEMENT 74
|
||||
81 81 stage/sql/Opening tables (stage) STATEMENT 74
|
||||
82 82 stage/sql/init (stage) STATEMENT 74
|
||||
83 83 stage/sql/optimizing (stage) STATEMENT 74
|
||||
84 84 stage/sql/executing (stage) STATEMENT 74
|
||||
85 85 stage/sql/end (stage) STATEMENT 74
|
||||
86 86 stage/sql/query end (stage) STATEMENT 74
|
||||
87 87 stage/sql/closing tables (stage) STATEMENT 74
|
||||
88 89 stage/sql/freeing items (stage) STATEMENT 74
|
||||
89 89 wait/io/socket/sql/client_connection send STAGE 88
|
||||
90 106 statement/sql/select select "With a third part to make things complete" as payload NULL NULL
|
||||
91 94 stage/sql/starting (stage) STATEMENT 90
|
||||
92 92 wait/synch/mutex/sql/THD::LOCK_thd_query lock STAGE 91
|
||||
93 93 wait/synch/mutex/sql/THD::LOCK_thd_data lock STAGE 91
|
||||
94 94 wait/io/file/sql/query_log write STAGE 91
|
||||
95 95 stage/sql/checking permissions (stage) STATEMENT 90
|
||||
96 96 stage/sql/Opening tables (stage) STATEMENT 90
|
||||
97 97 stage/sql/init (stage) STATEMENT 90
|
||||
98 98 stage/sql/optimizing (stage) STATEMENT 90
|
||||
99 99 stage/sql/executing (stage) STATEMENT 90
|
||||
100 100 stage/sql/end (stage) STATEMENT 90
|
||||
101 101 stage/sql/query end (stage) STATEMENT 90
|
||||
102 102 stage/sql/closing tables (stage) STATEMENT 90
|
||||
103 104 stage/sql/freeing items (stage) STATEMENT 90
|
||||
104 104 wait/io/socket/sql/client_connection send STAGE 103
|
||||
105 106 stage/sql/cleaning up (stage) STATEMENT 90
|
||||
106 106 wait/synch/mutex/sql/THD::LOCK_thd_query lock STAGE 105
|
||||
107 107 idle idle NULL NULL
|
||||
108 125 statement/sql/select select "MARKER_END" as marker NULL NULL
|
||||
109 113 stage/sql/starting (stage) STATEMENT 108
|
||||
110 110 wait/io/socket/sql/client_connection recv STAGE 109
|
||||
111 111 wait/synch/mutex/sql/THD::LOCK_thd_data lock STAGE 109
|
||||
112 112 wait/synch/mutex/sql/THD::LOCK_thd_query lock STAGE 109
|
||||
113 113 wait/io/file/sql/query_log write STAGE 109
|
||||
114 114 stage/sql/checking permissions (stage) STATEMENT 108
|
||||
115 115 stage/sql/Opening tables (stage) STATEMENT 108
|
||||
116 116 stage/sql/init (stage) STATEMENT 108
|
||||
117 117 stage/sql/optimizing (stage) STATEMENT 108
|
||||
118 118 stage/sql/executing (stage) STATEMENT 108
|
||||
119 119 stage/sql/end (stage) STATEMENT 108
|
||||
120 120 stage/sql/query end (stage) STATEMENT 108
|
||||
121 121 stage/sql/closing tables (stage) STATEMENT 108
|
||||
122 123 stage/sql/freeing items (stage) STATEMENT 108
|
||||
123 123 wait/io/socket/sql/client_connection send STAGE 122
|
||||
124 125 stage/sql/cleaning up (stage) STATEMENT 108
|
||||
125 125 wait/synch/mutex/sql/THD::LOCK_thd_query lock STAGE 124
|
||||
>>>>>>> merge-perfschema-5.7
|
||||
|
Reference in New Issue
Block a user