This repository was archived by the owner on Aug 28, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +12
-8
lines changed
mysql-test/suite/sysschema Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 11# Reset the sys.sys_config table
22
3- # Note, we have to disable the triggers to reset the set_by column back to NULL
3+ # Note, we have to disable the triggers to reset the set_by column back to NULL
44# as the sys.sys_config_update_set_user trigger will overwrite it to the current user
55SET @sys .ignore_sys_config_triggers := true;
66
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ schema_index_statistics
3030schema_object_overview
3131schema_redundant_indexes
3232schema_tables_with_full_table_scans
33+ schema_table_lock_waits
3334schema_table_statistics
3435schema_table_statistics_with_buffer
3536schema_unused_indexes
@@ -81,6 +82,7 @@ x$ps_schema_table_statistics_io
8182x$schema_flattened_keys
8283x$schema_index_statistics
8384x$schema_tables_with_full_table_scans
85+ x$schema_table_lock_waits
8486x$schema_table_statistics
8587x$schema_table_statistics_with_buffer
8688x$session
@@ -116,8 +118,10 @@ ps_is_consumer_enabled FUNCTION
116118ps_is_instrument_default_enabled FUNCTION
117119ps_is_instrument_default_timed FUNCTION
118120ps_is_thread_instrumented FUNCTION
121+ ps_thread_account FUNCTION
119122ps_thread_id FUNCTION
120123ps_thread_stack FUNCTION
124+ ps_thread_trx_info FUNCTION
121125sys_get_config FUNCTION
122126create_synonym_db PROCEDURE
123127diagnostics PROCEDURE
Original file line number Diff line number Diff line change 1- SELECT sys.ps_is_instrument_default_enabled('wait/io/file/sql/binlog ');
2- sys.ps_is_instrument_default_enabled('wait/io/file/sql/binlog ')
1+ SELECT sys.ps_is_instrument_default_enabled('memory/performance_schema/internal_buffers ');
2+ sys.ps_is_instrument_default_enabled('memory/performance_schema/internal_buffers ')
33YES
44SELECT sys.ps_is_instrument_default_enabled('statement/sql/select');
55sys.ps_is_instrument_default_enabled('statement/sql/select')
1010SELECT sys.ps_is_instrument_default_enabled('statement/com/Prepare');
1111sys.ps_is_instrument_default_enabled('statement/com/Prepare')
1212YES
13+ SELECT sys.ps_is_instrument_default_enabled('wait/io/file/sql/binlog');
14+ sys.ps_is_instrument_default_enabled('wait/io/file/sql/binlog')
15+ YES
1316SELECT sys.ps_is_instrument_default_enabled('wait/io/table/sql/handler');
1417sys.ps_is_instrument_default_enabled('wait/io/table/sql/handler')
1518YES
4043SELECT sys.ps_is_instrument_default_enabled('wait/io/socket/sql/server_tcpip_socket');
4144sys.ps_is_instrument_default_enabled('wait/io/socket/sql/server_tcpip_socket')
4245NO
43- SELECT sys.ps_is_instrument_default_enabled('memory/performance_schema/internal_buffers');
44- sys.ps_is_instrument_default_enabled('memory/performance_schema/internal_buffers')
45- NO
4646SELECT sys.ps_is_instrument_default_enabled('wait/lock/metadata/sql/mdl');
4747sys.ps_is_instrument_default_enabled('wait/lock/metadata/sql/mdl')
4848NO
Original file line number Diff line number Diff line change 33# Verify the sys.ps_is_instrument_default_enabled() function perfoms as expected
44
55# Should all be enabled
6- SELECT sys.ps_is_instrument_default_enabled('wait/io/file/sql/binlog ');
6+ SELECT sys.ps_is_instrument_default_enabled('memory/performance_schema/internal_buffers ');
77SELECT sys.ps_is_instrument_default_enabled('statement/sql/select');
88SELECT sys.ps_is_instrument_default_enabled('statement/sp/error');
99SELECT sys.ps_is_instrument_default_enabled('statement/com/Prepare');
10+ SELECT sys.ps_is_instrument_default_enabled('wait/io/file/sql/binlog');
1011SELECT sys.ps_is_instrument_default_enabled('wait/io/table/sql/handler');
1112SELECT sys.ps_is_instrument_default_enabled('wait/lock/table/sql/handler');
1213SELECT sys.ps_is_instrument_default_enabled('idle');
@@ -19,5 +20,4 @@ SELECT sys.ps_is_instrument_default_enabled('wait/synch/cond/sql/MYSQL_BIN_LOG::
1920SELECT sys.ps_is_instrument_default_enabled('stage/sql/end');
2021SELECT sys.ps_is_instrument_default_enabled('transaction');
2122SELECT sys.ps_is_instrument_default_enabled('wait/io/socket/sql/server_tcpip_socket');
22- SELECT sys.ps_is_instrument_default_enabled('memory/performance_schema/internal_buffers');
2323SELECT sys.ps_is_instrument_default_enabled('wait/lock/metadata/sql/mdl');
You can’t perform that action at this time.
0 commit comments