summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/sysschema/r/pr_ps_setup_show_enabled.result
blob: 261ccb191ed06ed0a0263f7f95f11b37c65b8edd (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
INSERT INTO performance_schema.setup_actors
VALUES ('localhost', 'foo', '%', 'YES', 'YES'),
('localhost', 'bar', '%', 'NO', 'NO');
UPDATE performance_schema.setup_instruments
SET ENABLED = 'NO'
 WHERE NAME NOT LIKE 'memory/performance_schema/%'
       AND NAME NOT LIKE 'stage/innodb/%'
       AND NAME NOT LIKE 'statement/com/%'
       AND NAME <> 'idle';
UPDATE performance_schema.setup_consumers
SET ENABLED = 'NO'
 WHERE NAME LIKE '%\_history\_long';
UPDATE performance_schema.threads
SET INSTRUMENTED = 'NO'
 WHERE NAME LIKE 'thread/innodb/srv\_%'
    OR NAME LIKE '%con\_%'
    OR NAME LIKE '%signal_handler%';
CALL sys.ps_setup_show_enabled(FALSE, FALSE);
performance_schema_enabled
1
enabled_users
'%'@'%'
'foo'@'localhost'
object_type	objects	enabled	timed
EVENT	%.%	YES	YES
FUNCTION	%.%	YES	YES
PROCEDURE	%.%	YES	YES
TABLE	%.%	YES	YES
TRIGGER	%.%	YES	YES
enabled_consumers
events_stages_current
events_stages_history
events_statements_current
events_statements_history
events_transactions_current
events_transactions_history
events_waits_current
events_waits_history
global_instrumentation
statements_digest
thread_instrumentation
CALL sys.ps_setup_show_enabled(TRUE, FALSE);
performance_schema_enabled
1
enabled_users
'%'@'%'
'foo'@'localhost'
object_type	objects	enabled	timed
EVENT	%.%	YES	YES
FUNCTION	%.%	YES	YES
PROCEDURE	%.%	YES	YES
TABLE	%.%	YES	YES
TRIGGER	%.%	YES	YES
enabled_consumers
events_stages_current
events_stages_history
events_statements_current
events_statements_history
events_transactions_current
events_transactions_history
events_waits_current
events_waits_history
global_instrumentation
statements_digest
thread_instrumentation
enabled_instruments	timed
idle	YES
memory/performance_schema/accounts	NO
memory/performance_schema/cond_class	NO
memory/performance_schema/cond_instances	NO
memory/performance_schema/events_stages_history	NO
memory/performance_schema/events_stages_history_long	NO
memory/performance_schema/events_stages_summary_by_account_by_event_name	NO
memory/performance_schema/events_stages_summary_by_host_by_event_name	NO
memory/performance_schema/events_stages_summary_by_thread_by_event_name	NO
memory/performance_schema/events_stages_summary_by_user_by_event_name	NO
memory/performance_schema/events_stages_summary_global_by_event_name	NO
memory/performance_schema/events_statements_current	NO
memory/performance_schema/events_statements_current.sqltext	NO
memory/performance_schema/events_statements_current.tokens	NO
memory/performance_schema/events_statements_history	NO
memory/performance_schema/events_statements_history.sqltext	NO
memory/performance_schema/events_statements_history.tokens	NO
memory/performance_schema/events_statements_history_long	NO
memory/performance_schema/events_statements_history_long.sqltext	NO
memory/performance_schema/events_statements_history_long.tokens	NO
memory/performance_schema/events_statements_summary_by_account_by_event_name	NO
memory/performance_schema/events_statements_summary_by_digest	NO
memory/performance_schema/events_statements_summary_by_digest.tokens	NO
memory/performance_schema/events_statements_summary_by_host_by_event_name	NO
memory/performance_schema/events_statements_summary_by_program	NO
memory/performance_schema/events_statements_summary_by_thread_by_event_name	NO
memory/performance_schema/events_statements_summary_by_user_by_event_name	NO
memory/performance_schema/events_statements_summary_global_by_event_name	NO
memory/performance_schema/events_transactions_history	NO
memory/performance_schema/events_transactions_history_long	NO
memory/performance_schema/events_transactions_summary_by_account_by_event_name	NO
memory/performance_schema/events_transactions_summary_by_host_by_event_name	NO
memory/performance_schema/events_transactions_summary_by_thread_by_event_name	NO
memory/performance_schema/events_transactions_summary_by_user_by_event_name	NO
memory/performance_schema/events_waits_history	NO
memory/performance_schema/events_waits_history_long	NO
memory/performance_schema/events_waits_summary_by_account_by_event_name	NO
memory/performance_schema/events_waits_summary_by_host_by_event_name	NO
memory/performance_schema/events_waits_summary_by_thread_by_event_name	NO
memory/performance_schema/events_waits_summary_by_user_by_event_name	NO
memory/performance_schema/file_class	NO
memory/performance_schema/file_handle	NO
memory/performance_schema/file_instances	NO
memory/performance_schema/hosts	NO
memory/performance_schema/memory_class	NO
memory/performance_schema/memory_summary_by_account_by_event_name	NO
memory/performance_schema/memory_summary_by_host_by_event_name	NO
memory/performance_schema/memory_summary_by_thread_by_event_name	NO
memory/performance_schema/memory_summary_by_user_by_event_name	NO
memory/performance_schema/memory_summary_global_by_event_name	NO
memory/performance_schema/metadata_locks	NO
memory/performance_schema/mutex_class	NO
memory/performance_schema/mutex_instances	NO
memory/performance_schema/prepared_statements_instances	NO
memory/performance_schema/rwlock_class	NO
memory/performance_schema/rwlock_instances	NO
memory/performance_schema/scalable_buffer	NO
memory/performance_schema/session_connect_attrs	NO
memory/performance_schema/setup_actors	NO
memory/performance_schema/setup_objects	NO
memory/performance_schema/socket_class	NO
memory/performance_schema/socket_instances	NO
memory/performance_schema/stage_class	NO
memory/performance_schema/statement_class	NO
memory/performance_schema/table_handles	NO
memory/performance_schema/table_io_waits_summary_by_index_usage	NO
memory/performance_schema/table_lock_waits_summary_by_table	NO
memory/performance_schema/table_shares	NO
memory/performance_schema/threads	NO
memory/performance_schema/thread_class	NO
memory/performance_schema/users	NO
stage/innodb/alter table (end)	YES
stage/innodb/alter table (insert)	YES
stage/innodb/alter table (log apply index)	YES
stage/innodb/alter table (log apply table)	YES
stage/innodb/alter table (merge sort)	YES
stage/innodb/alter table (read PK and internal sort)	YES
stage/innodb/buffer pool load	YES
statement/com/Binlog Dump	YES
statement/com/Bulk_execute	YES
statement/com/Change user	YES
statement/com/Close stmt	YES
statement/com/Connect	YES
statement/com/Connect Out	YES
statement/com/Create DB	YES
statement/com/Daemon	YES
statement/com/Debug	YES
statement/com/Delayed insert	YES
statement/com/Drop DB	YES
statement/com/Error	YES
statement/com/Execute	YES
statement/com/Fetch	YES
statement/com/Field List	YES
statement/com/Init DB	YES
statement/com/Kill	YES
statement/com/Long Data	YES
statement/com/Ping	YES
statement/com/Prepare	YES
statement/com/Processlist	YES
statement/com/Quit	YES
statement/com/Refresh	YES
statement/com/Register Slave	YES
statement/com/Reset connection	YES
statement/com/Reset stmt	YES
statement/com/Set option	YES
statement/com/Shutdown	YES
statement/com/Slave_IO	YES
statement/com/Slave_SQL	YES
statement/com/Slave_worker	YES
statement/com/Sleep	YES
statement/com/Statistics	YES
statement/com/Table Dump	YES
statement/com/Time	YES
statement/com/Unimpl get tid	YES
CALL sys.ps_setup_show_enabled(FALSE, TRUE);
performance_schema_enabled
1
enabled_users
'%'@'%'
'foo'@'localhost'
object_type	objects	enabled	timed
EVENT	%.%	YES	YES
FUNCTION	%.%	YES	YES
PROCEDURE	%.%	YES	YES
TABLE	%.%	YES	YES
TRIGGER	%.%	YES	YES
enabled_consumers
events_stages_current
events_stages_history
events_statements_current
events_statements_history
events_transactions_current
events_transactions_history
events_waits_current
events_waits_history
global_instrumentation
statements_digest
thread_instrumentation
enabled_threads	thread_type
aria/checkpoint_background	BACKGROUND
innodb/page_cleaner_thread	BACKGROUND
mysys/statement_timer	BACKGROUND
root@localhost	FOREGROUND
sql/main	BACKGROUND
sql/manager	BACKGROUND
CALL sys.ps_setup_show_enabled(TRUE, TRUE);
performance_schema_enabled
1
enabled_users
'%'@'%'
'foo'@'localhost'
object_type	objects	enabled	timed
EVENT	%.%	YES	YES
FUNCTION	%.%	YES	YES
PROCEDURE	%.%	YES	YES
TABLE	%.%	YES	YES
TRIGGER	%.%	YES	YES
enabled_consumers
events_stages_current
events_stages_history
events_statements_current
events_statements_history
events_transactions_current
events_transactions_history
events_waits_current
events_waits_history
global_instrumentation
statements_digest
thread_instrumentation
enabled_threads	thread_type
aria/checkpoint_background	BACKGROUND
innodb/page_cleaner_thread	BACKGROUND
mysys/statement_timer	BACKGROUND
root@localhost	FOREGROUND
sql/main	BACKGROUND
sql/manager	BACKGROUND
enabled_instruments	timed
idle	YES
memory/performance_schema/accounts	NO
memory/performance_schema/cond_class	NO
memory/performance_schema/cond_instances	NO
memory/performance_schema/events_stages_history	NO
memory/performance_schema/events_stages_history_long	NO
memory/performance_schema/events_stages_summary_by_account_by_event_name	NO
memory/performance_schema/events_stages_summary_by_host_by_event_name	NO
memory/performance_schema/events_stages_summary_by_thread_by_event_name	NO
memory/performance_schema/events_stages_summary_by_user_by_event_name	NO
memory/performance_schema/events_stages_summary_global_by_event_name	NO
memory/performance_schema/events_statements_current	NO
memory/performance_schema/events_statements_current.sqltext	NO
memory/performance_schema/events_statements_current.tokens	NO
memory/performance_schema/events_statements_history	NO
memory/performance_schema/events_statements_history.sqltext	NO
memory/performance_schema/events_statements_history.tokens	NO
memory/performance_schema/events_statements_history_long	NO
memory/performance_schema/events_statements_history_long.sqltext	NO
memory/performance_schema/events_statements_history_long.tokens	NO
memory/performance_schema/events_statements_summary_by_account_by_event_name	NO
memory/performance_schema/events_statements_summary_by_digest	NO
memory/performance_schema/events_statements_summary_by_digest.tokens	NO
memory/performance_schema/events_statements_summary_by_host_by_event_name	NO
memory/performance_schema/events_statements_summary_by_program	NO
memory/performance_schema/events_statements_summary_by_thread_by_event_name	NO
memory/performance_schema/events_statements_summary_by_user_by_event_name	NO
memory/performance_schema/events_statements_summary_global_by_event_name	NO
memory/performance_schema/events_transactions_history	NO
memory/performance_schema/events_transactions_history_long	NO
memory/performance_schema/events_transactions_summary_by_account_by_event_name	NO
memory/performance_schema/events_transactions_summary_by_host_by_event_name	NO
memory/performance_schema/events_transactions_summary_by_thread_by_event_name	NO
memory/performance_schema/events_transactions_summary_by_user_by_event_name	NO
memory/performance_schema/events_waits_history	NO
memory/performance_schema/events_waits_history_long	NO
memory/performance_schema/events_waits_summary_by_account_by_event_name	NO
memory/performance_schema/events_waits_summary_by_host_by_event_name	NO
memory/performance_schema/events_waits_summary_by_thread_by_event_name	NO
memory/performance_schema/events_waits_summary_by_user_by_event_name	NO
memory/performance_schema/file_class	NO
memory/performance_schema/file_handle	NO
memory/performance_schema/file_instances	NO
memory/performance_schema/hosts	NO
memory/performance_schema/memory_class	NO
memory/performance_schema/memory_summary_by_account_by_event_name	NO
memory/performance_schema/memory_summary_by_host_by_event_name	NO
memory/performance_schema/memory_summary_by_thread_by_event_name	NO
memory/performance_schema/memory_summary_by_user_by_event_name	NO
memory/performance_schema/memory_summary_global_by_event_name	NO
memory/performance_schema/metadata_locks	NO
memory/performance_schema/mutex_class	NO
memory/performance_schema/mutex_instances	NO
memory/performance_schema/prepared_statements_instances	NO
memory/performance_schema/rwlock_class	NO
memory/performance_schema/rwlock_instances	NO
memory/performance_schema/scalable_buffer	NO
memory/performance_schema/session_connect_attrs	NO
memory/performance_schema/setup_actors	NO
memory/performance_schema/setup_objects	NO
memory/performance_schema/socket_class	NO
memory/performance_schema/socket_instances	NO
memory/performance_schema/stage_class	NO
memory/performance_schema/statement_class	NO
memory/performance_schema/table_handles	NO
memory/performance_schema/table_io_waits_summary_by_index_usage	NO
memory/performance_schema/table_lock_waits_summary_by_table	NO
memory/performance_schema/table_shares	NO
memory/performance_schema/threads	NO
memory/performance_schema/thread_class	NO
memory/performance_schema/users	NO
stage/innodb/alter table (end)	YES
stage/innodb/alter table (insert)	YES
stage/innodb/alter table (log apply index)	YES
stage/innodb/alter table (log apply table)	YES
stage/innodb/alter table (merge sort)	YES
stage/innodb/alter table (read PK and internal sort)	YES
stage/innodb/buffer pool load	YES
statement/com/Binlog Dump	YES
statement/com/Bulk_execute	YES
statement/com/Change user	YES
statement/com/Close stmt	YES
statement/com/Connect	YES
statement/com/Connect Out	YES
statement/com/Create DB	YES
statement/com/Daemon	YES
statement/com/Debug	YES
statement/com/Delayed insert	YES
statement/com/Drop DB	YES
statement/com/Error	YES
statement/com/Execute	YES
statement/com/Fetch	YES
statement/com/Field List	YES
statement/com/Init DB	YES
statement/com/Kill	YES
statement/com/Long Data	YES
statement/com/Ping	YES
statement/com/Prepare	YES
statement/com/Processlist	YES
statement/com/Quit	YES
statement/com/Refresh	YES
statement/com/Register Slave	YES
statement/com/Reset connection	YES
statement/com/Reset stmt	YES
statement/com/Set option	YES
statement/com/Shutdown	YES
statement/com/Slave_IO	YES
statement/com/Slave_SQL	YES
statement/com/Slave_worker	YES
statement/com/Sleep	YES
statement/com/Statistics	YES
statement/com/Table Dump	YES
statement/com/Time	YES
statement/com/Unimpl get tid	YES
UPDATE performance_schema.setup_instruments SET enabled = 'YES', timed = 'YES';
TRUNCATE TABLE performance_schema.setup_actors;
INSERT INTO performance_schema.setup_actors VALUES ('%', '%', '%', 'YES', 'YES');
UPDATE performance_schema.setup_consumers SET enabled = 'YES';
UPDATE performance_schema.threads SET instrumented = 'YES';