[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.189.192.107: ~ $
set global innodb_monitor_disable = All;
select name, status from information_schema.innodb_metrics;
name	status
metadata_table_handles_opened	disabled
metadata_table_handles_closed	disabled
metadata_table_reference_count	disabled
metadata_mem_pool_size	disabled
lock_deadlocks	disabled
lock_timeouts	disabled
lock_rec_lock_waits	disabled
lock_table_lock_waits	disabled
lock_rec_lock_requests	disabled
lock_rec_lock_created	disabled
lock_rec_lock_removed	disabled
lock_rec_locks	disabled
lock_table_lock_created	disabled
lock_table_lock_removed	disabled
lock_table_locks	disabled
lock_row_lock_current_waits	disabled
lock_row_lock_time	disabled
lock_row_lock_time_max	disabled
lock_row_lock_waits	disabled
lock_row_lock_time_avg	disabled
buffer_pool_size	disabled
buffer_pool_reads	disabled
buffer_pool_read_requests	disabled
buffer_pool_write_requests	disabled
buffer_pool_wait_free	disabled
buffer_pool_read_ahead	disabled
buffer_pool_read_ahead_evicted	disabled
buffer_pool_pages_total	disabled
buffer_pool_pages_misc	disabled
buffer_pool_pages_data	disabled
buffer_pool_bytes_data	disabled
buffer_pool_pages_dirty	disabled
buffer_pool_bytes_dirty	disabled
buffer_pool_pages_free	disabled
buffer_pages_created	disabled
buffer_pages_written	disabled
buffer_pages_read	disabled
buffer_data_reads	disabled
buffer_data_written	disabled
buffer_flush_batch_scanned	disabled
buffer_flush_batch_num_scan	disabled
buffer_flush_batch_scanned_per_call	disabled
buffer_flush_batch_rescan	disabled
buffer_flush_batch_total_pages	disabled
buffer_flush_batches	disabled
buffer_flush_batch_pages	disabled
buffer_flush_neighbor_total_pages	disabled
buffer_flush_neighbor	disabled
buffer_flush_neighbor_pages	disabled
buffer_flush_n_to_flush_requested	disabled
buffer_flush_avg_page_rate	disabled
buffer_flush_lsn_avg_rate	disabled
buffer_flush_pct_for_dirty	disabled
buffer_flush_pct_for_lsn	disabled
buffer_flush_sync_waits	disabled
buffer_flush_adaptive_total_pages	disabled
buffer_flush_adaptive	disabled
buffer_flush_adaptive_pages	disabled
buffer_flush_sync_total_pages	disabled
buffer_flush_sync	disabled
buffer_flush_sync_pages	disabled
buffer_flush_background_total_pages	disabled
buffer_flush_background	disabled
buffer_flush_background_pages	disabled
buffer_LRU_batch_scanned	disabled
buffer_LRU_batch_num_scan	disabled
buffer_LRU_batch_scanned_per_call	disabled
buffer_LRU_batch_total_pages	disabled
buffer_LRU_batches	disabled
buffer_LRU_batch_pages	disabled
buffer_LRU_single_flush_scanned	disabled
buffer_LRU_single_flush_num_scan	disabled
buffer_LRU_single_flush_scanned_per_call	disabled
buffer_LRU_single_flush_failure_count	disabled
buffer_LRU_get_free_search	disabled
buffer_LRU_search_scanned	disabled
buffer_LRU_search_num_scan	disabled
buffer_LRU_search_scanned_per_call	disabled
buffer_LRU_unzip_search_scanned	disabled
buffer_LRU_unzip_search_num_scan	disabled
buffer_LRU_unzip_search_scanned_per_call	disabled
buffer_page_read_index_leaf	disabled
buffer_page_read_index_non_leaf	disabled
buffer_page_read_index_ibuf_leaf	disabled
buffer_page_read_index_ibuf_non_leaf	disabled
buffer_page_read_undo_log	disabled
buffer_page_read_index_inode	disabled
buffer_page_read_ibuf_free_list	disabled
buffer_page_read_ibuf_bitmap	disabled
buffer_page_read_system_page	disabled
buffer_page_read_trx_system	disabled
buffer_page_read_fsp_hdr	disabled
buffer_page_read_xdes	disabled
buffer_page_read_blob	disabled
buffer_page_read_zblob	disabled
buffer_page_read_zblob2	disabled
buffer_page_read_other	disabled
buffer_page_written_index_leaf	disabled
buffer_page_written_index_non_leaf	disabled
buffer_page_written_index_ibuf_leaf	disabled
buffer_page_written_index_ibuf_non_leaf	disabled
buffer_page_written_undo_log	disabled
buffer_page_written_index_inode	disabled
buffer_page_written_ibuf_free_list	disabled
buffer_page_written_ibuf_bitmap	disabled
buffer_page_written_system_page	disabled
buffer_page_written_trx_system	disabled
buffer_page_written_fsp_hdr	disabled
buffer_page_written_xdes	disabled
buffer_page_written_blob	disabled
buffer_page_written_zblob	disabled
buffer_page_written_zblob2	disabled
buffer_page_written_other	disabled
os_data_reads	disabled
os_data_writes	disabled
os_data_fsyncs	disabled
os_pending_reads	disabled
os_pending_writes	disabled
os_log_bytes_written	disabled
os_log_fsyncs	disabled
os_log_pending_fsyncs	disabled
os_log_pending_writes	disabled
trx_rw_commits	disabled
trx_ro_commits	disabled
trx_nl_ro_commits	disabled
trx_commits_insert_update	disabled
trx_rollbacks	disabled
trx_rollbacks_savepoint	disabled
trx_rollback_active	disabled
trx_active_transactions	disabled
trx_rseg_history_len	disabled
trx_undo_slots_used	disabled
trx_undo_slots_cached	disabled
trx_rseg_current_size	disabled
purge_del_mark_records	disabled
purge_upd_exist_or_extern_records	disabled
purge_invoked	disabled
purge_undo_log_pages	disabled
purge_dml_delay_usec	disabled
purge_stop_count	disabled
purge_resume_count	disabled
log_checkpoints	disabled
log_lsn_last_flush	disabled
log_lsn_last_checkpoint	disabled
log_lsn_current	disabled
log_lsn_checkpoint_age	disabled
log_lsn_buf_pool_oldest	disabled
log_max_modified_age_async	disabled
log_max_modified_age_sync	disabled
log_pending_log_writes	disabled
log_pending_checkpoint_writes	disabled
log_num_log_io	disabled
log_waits	disabled
log_write_requests	disabled
log_writes	disabled
compress_pages_compressed	disabled
compress_pages_decompressed	disabled
compression_pad_increments	disabled
compression_pad_decrements	disabled
index_page_splits	disabled
index_page_merge_attempts	disabled
index_page_merge_successful	disabled
index_page_reorg_attempts	disabled
index_page_reorg_successful	disabled
index_page_discards	disabled
adaptive_hash_searches	disabled
adaptive_hash_searches_btree	disabled
adaptive_hash_pages_added	disabled
adaptive_hash_pages_removed	disabled
adaptive_hash_rows_added	disabled
adaptive_hash_rows_removed	disabled
adaptive_hash_rows_deleted_no_hash_entry	disabled
adaptive_hash_rows_updated	disabled
file_num_open_files	disabled
ibuf_merges_insert	disabled
ibuf_merges_delete_mark	disabled
ibuf_merges_delete	disabled
ibuf_merges_discard_insert	disabled
ibuf_merges_discard_delete_mark	disabled
ibuf_merges_discard_delete	disabled
ibuf_merges	disabled
ibuf_size	disabled
innodb_master_thread_sleeps	disabled
innodb_activity_count	disabled
innodb_master_active_loops	disabled
innodb_master_idle_loops	disabled
innodb_background_drop_table_usec	disabled
innodb_ibuf_merge_usec	disabled
innodb_log_flush_usec	disabled
innodb_mem_validate_usec	disabled
innodb_master_purge_usec	disabled
innodb_dict_lru_usec	disabled
innodb_checkpoint_usec	disabled
innodb_dblwr_writes	disabled
innodb_dblwr_pages_written	disabled
innodb_page_size	disabled
innodb_rwlock_s_spin_waits	disabled
innodb_rwlock_x_spin_waits	disabled
innodb_rwlock_s_spin_rounds	disabled
innodb_rwlock_x_spin_rounds	disabled
innodb_rwlock_s_os_waits	disabled
innodb_rwlock_x_os_waits	disabled
dml_reads	disabled
dml_inserts	disabled
dml_deletes	disabled
dml_updates	disabled
ddl_background_drop_indexes	disabled
ddl_background_drop_tables	disabled
ddl_online_create_index	disabled
ddl_pending_alter_table	disabled
icp_attempts	disabled
icp_no_match	disabled
icp_out_of_range	disabled
icp_match	disabled
set global innodb_monitor_enable = all;
select name from information_schema.innodb_metrics where status!='enabled';
name
set global innodb_monitor_enable = aaa;
ERROR 42000: Variable 'innodb_monitor_enable' can't be set to the value of 'aaa'
set global innodb_monitor_disable = All;
select name from information_schema.innodb_metrics where status!='disabled';
name
set global innodb_monitor_reset_all = all;
select name from information_schema.innodb_metrics where count!=0;
name
set  global innodb_monitor_enable = "%lock%";
select name from information_schema.innodb_metrics
where status != IF(name like "%lock%", 'enabled', 'disabled');
name
set  global innodb_monitor_disable = "%lock%";
select name, status from information_schema.innodb_metrics
where name like "%lock%";
name	status
lock_deadlocks	disabled
lock_timeouts	disabled
lock_rec_lock_waits	disabled
lock_table_lock_waits	disabled
lock_rec_lock_requests	disabled
lock_rec_lock_created	disabled
lock_rec_lock_removed	disabled
lock_rec_locks	disabled
lock_table_lock_created	disabled
lock_table_lock_removed	disabled
lock_table_locks	disabled
lock_row_lock_current_waits	disabled
lock_row_lock_time	disabled
lock_row_lock_time_max	disabled
lock_row_lock_waits	disabled
lock_row_lock_time_avg	disabled
innodb_rwlock_s_spin_waits	disabled
innodb_rwlock_x_spin_waits	disabled
innodb_rwlock_s_spin_rounds	disabled
innodb_rwlock_x_spin_rounds	disabled
innodb_rwlock_s_os_waits	disabled
innodb_rwlock_x_os_waits	disabled
set global innodb_monitor_enable = "%lock*";
ERROR 42000: Variable 'innodb_monitor_enable' can't be set to the value of '%lock*'
set global innodb_monitor_enable="%%%%%%%%%%%%%%%%%%%%%%%%%%%";
select name from information_schema.innodb_metrics where status!='enabled';
name
set global innodb_monitor_disable="%%%%%";
select name from information_schema.innodb_metrics where status!='disabled';
name
set global innodb_monitor_enable="%";
select name from information_schema.innodb_metrics where status!='enabled';
name
set global innodb_monitor_disable="%_%";
select name from information_schema.innodb_metrics where status!='disabled';
name
set global innodb_monitor_enable="log%%%%";
select name from information_schema.innodb_metrics
where status != IF(name like "log%", 'enabled', 'disabled');
name
set global innodb_monitor_enable="os_%a_fs_ncs";
set global innodb_monitor_enable="os%pending%";
select name, status from information_schema.innodb_metrics
where name like "os%";
name	status
os_data_reads	disabled
os_data_writes	disabled
os_data_fsyncs	enabled
os_pending_reads	enabled
os_pending_writes	enabled
os_log_bytes_written	disabled
os_log_fsyncs	disabled
os_log_pending_fsyncs	enabled
os_log_pending_writes	enabled
set global innodb_monitor_enable="";
ERROR 42000: Variable 'innodb_monitor_enable' can't be set to the value of ''
set global innodb_monitor_enable="_";
ERROR 42000: Variable 'innodb_monitor_enable' can't be set to the value of '_'
set global innodb_monitor_disable = module_metadata;
set global innodb_monitor_reset_all = module_metadata;
set global innodb_monitor_enable = metadata_table_handles_opened;
create table monitor_test(col int) engine = innodb;
select * from monitor_test;
col
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name = "metadata_table_handles_opened";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
metadata_table_handles_opened	1	NULL	1	1	NULL	1	enabled
set global innodb_monitor_reset = metadata_table_handles_opened;
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name = "metadata_table_handles_opened";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
metadata_table_handles_opened	1	NULL	1	NULL	NULL	0	enabled
drop table monitor_test;
create table monitor_test(col int) engine = innodb;
select * from monitor_test;
col
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name = "metadata_table_handles_opened";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
metadata_table_handles_opened	2	NULL	2	1	NULL	1	enabled
set global innodb_monitor_reset_all = metadata_table_handles_opened;
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name = "metadata_table_handles_opened";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
metadata_table_handles_opened	2	NULL	2	1	NULL	1	enabled
set global innodb_monitor_disable = metadata_table_handles_opened;
set global innodb_monitor_reset = metadata_table_handles_opened;
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name = "metadata_table_handles_opened";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
metadata_table_handles_opened	2	NULL	2	NULL	NULL	0	disabled
drop table monitor_test;
create table monitor_test(col int) engine = innodb;
select * from monitor_test;
col
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name = "metadata_table_handles_opened";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
metadata_table_handles_opened	2	NULL	2	NULL	NULL	0	disabled
set global innodb_monitor_reset_all = metadata_table_handles_opened;
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name = "metadata_table_handles_opened";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
metadata_table_handles_opened	NULL	NULL	0	NULL	NULL	0	disabled
set global innodb_monitor_enable = metadata_table_handles_opened;
drop table monitor_test;
create table monitor_test(col int) engine = innodb stats_persistent=0;
select * from monitor_test;
col
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name = "metadata_table_handles_opened";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
metadata_table_handles_opened	1	NULL	1	1	NULL	1	enabled
set global innodb_monitor_enable = metadata_table_handles_closed;
create index idx on monitor_test(col);
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name = "metadata_table_handles_closed";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
metadata_table_handles_closed	1	NULL	1	1	NULL	1	enabled
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name like "metadata%";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
metadata_table_handles_opened	2	NULL	2	2	NULL	2	enabled
metadata_table_handles_closed	1	NULL	1	1	NULL	1	enabled
metadata_table_reference_count	NULL	NULL	0	NULL	NULL	0	disabled
metadata_mem_pool_size	NULL	NULL	0	NULL	NULL	0	disabled
set global innodb_monitor_disable = module_metadata;
set global innodb_monitor_reset = module_metadata;
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name like "metadata%";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
metadata_table_handles_opened	2	NULL	2	NULL	NULL	0	disabled
metadata_table_handles_closed	1	NULL	1	NULL	NULL	0	disabled
metadata_table_reference_count	NULL	NULL	0	NULL	NULL	0	disabled
metadata_mem_pool_size	NULL	NULL	0	NULL	NULL	0	disabled
set global innodb_monitor_reset_all = module_metadata;
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name like "metadata%";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
metadata_table_handles_opened	NULL	NULL	0	NULL	NULL	0	disabled
metadata_table_handles_closed	NULL	NULL	0	NULL	NULL	0	disabled
metadata_table_reference_count	NULL	NULL	0	NULL	NULL	0	disabled
metadata_mem_pool_size	NULL	NULL	0	NULL	NULL	0	disabled
set global innodb_monitor_enable = module_trx;
begin;
insert into monitor_test values(9);
commit;
begin;
insert into monitor_test values(9);
rollback;
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name like "trx_rollbacks" or name like "trx_active_transactions";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
trx_rollbacks	1	NULL	1	1	NULL	1	enabled
trx_active_transactions	1	0	0	1	0	0	enabled
set global innodb_monitor_disable = module_trx;
set global innodb_monitor_enable = module_dml;
insert into monitor_test values(9);
update monitor_test set col = 10 where col = 9;
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name like "dml%";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
dml_reads	4	NULL	4	4	NULL	4	enabled
dml_inserts	1	NULL	1	1	NULL	1	enabled
dml_deletes	0	NULL	0	0	NULL	0	enabled
dml_updates	2	NULL	2	2	NULL	2	enabled
delete from monitor_test;
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name like "dml%";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
dml_reads	6	NULL	6	6	NULL	6	enabled
dml_inserts	1	NULL	1	1	NULL	1	enabled
dml_deletes	2	NULL	2	2	NULL	2	enabled
dml_updates	2	NULL	2	2	NULL	2	enabled
set global innodb_monitor_reset =  module_dml;
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name like "dml%";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
dml_reads	6	NULL	6	0	NULL	0	enabled
dml_inserts	1	NULL	1	0	NULL	0	enabled
dml_deletes	2	NULL	2	0	NULL	0	enabled
dml_updates	2	NULL	2	0	NULL	0	enabled
insert into monitor_test values(9);
insert into monitor_test values(1);
delete from monitor_test;
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name like "dml%";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
dml_reads	8	NULL	8	2	NULL	2	enabled
dml_inserts	3	NULL	3	2	NULL	2	enabled
dml_deletes	4	NULL	4	2	NULL	2	enabled
dml_updates	2	NULL	2	0	NULL	0	enabled
set global innodb_monitor_reset_all  =  module_dml;
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name like "dml%";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
dml_reads	8	NULL	8	2	NULL	2	enabled
dml_inserts	3	NULL	3	2	NULL	2	enabled
dml_deletes	4	NULL	4	2	NULL	2	enabled
dml_updates	2	NULL	2	0	NULL	0	enabled
set global innodb_monitor_disable = module_dml;
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name like "dml%";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
dml_reads	8	NULL	8	2	NULL	2	disabled
dml_inserts	3	NULL	3	2	NULL	2	disabled
dml_deletes	4	NULL	4	2	NULL	2	disabled
dml_updates	2	NULL	2	0	NULL	0	disabled
set global innodb_monitor_reset_all  = module_dml;
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name like "dml%";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
dml_reads	NULL	NULL	0	NULL	NULL	0	disabled
dml_inserts	NULL	NULL	0	NULL	NULL	0	disabled
dml_deletes	NULL	NULL	0	NULL	NULL	0	disabled
dml_updates	NULL	NULL	0	NULL	NULL	0	disabled
set global innodb_monitor_enable = dml_inserts;
insert into monitor_test values(9);
insert into monitor_test values(1);
delete from monitor_test;
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name like "dml%";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
dml_reads	NULL	NULL	0	NULL	NULL	0	disabled
dml_inserts	2	NULL	2	2	NULL	2	enabled
dml_deletes	NULL	NULL	0	NULL	NULL	0	disabled
dml_updates	NULL	NULL	0	NULL	NULL	0	disabled
set global innodb_monitor_disable = module_dml;
drop table monitor_test;
set global innodb_monitor_enable = file_num_open_files;
select name, max_count, min_count, count,
max_count_reset, min_count_reset, count_reset, status
from information_schema.innodb_metrics
where name like "file_num_open_files";
name	max_count	min_count	count	max_count_reset	min_count_reset	count_reset	status
file_num_open_files	#	#	#	#	#	#	enabled
set global innodb_monitor_disable = file_num_open_files;
set global innodb_monitor_enable = "icp%";
create table monitor_test(a char(3), b int, c char(2),
primary key (a(1), c(1)), key(b)) engine = innodb;
insert into monitor_test values("13", 2, "aa");
select a from monitor_test where b < 1 for update;
a
select name, count from information_schema.innodb_metrics
where name like "icp%";
name	count
icp_attempts	1
icp_no_match	0
icp_out_of_range	1
icp_match	0
select a from monitor_test where b < 3 for update;
a
13
select name, count from information_schema.innodb_metrics
where name like "icp%";
name	count
icp_attempts	2
icp_no_match	0
icp_out_of_range	1
icp_match	1
drop table monitor_test;
set global innodb_monitor_disable = all;
set global innodb_monitor_reset_all = all;
select 1 from `information_schema`.`INNODB_METRICS`
where case (1) when (1) then (AVG_COUNT_RESET) else (1) end;
1
set global innodb_monitor_enable = default;
set global innodb_monitor_disable = default;
set global innodb_monitor_reset = default;
set global innodb_monitor_reset_all = default;
#
# Bug#22576241 SETTING INNODB_MONITOR_ENABLE TO ALL DOES NOT ENABLE ALL
# MONITORS
#
CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB;
SELECT NAME, COUNT FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE NAME
LIKE 'buffer_page_written_index_leaf';
NAME	COUNT
buffer_page_written_index_leaf	0
SET GLOBAL innodb_monitor_enable='module_buffer_page';
INSERT INTO t1 VALUES (1), (2), (3), (4);
FLUSH TABLES t1 FOR EXPORT;
UNLOCK TABLES;
SELECT NAME, COUNT FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE NAME
LIKE 'buffer_page_written_index_leaf';
NAME	COUNT
buffer_page_written_index_leaf	NNNN
SET GLOBAL innodb_monitor_disable='module_buffer_page';
SET GLOBAL innodb_monitor_reset_all='module_buffer_page';
SELECT NAME, COUNT FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE NAME
LIKE 'buffer_page_written_index_leaf';
NAME	COUNT
buffer_page_written_index_leaf	0
SET GLOBAL innodb_monitor_enable='%';
INSERT INTO t1 VALUES (5), (6), (7), (8);
FLUSH TABLES t1 FOR EXPORT;
UNLOCK TABLES;
SELECT NAME, COUNT FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE NAME
LIKE 'buffer_page_written_index_leaf';
NAME	COUNT
buffer_page_written_index_leaf	NNNN
SET GLOBAL innodb_monitor_disable='%';
SET GLOBAL innodb_monitor_reset_all='%';
SELECT NAME, COUNT FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE NAME
LIKE 'buffer_page_written_index_leaf';
NAME	COUNT
buffer_page_written_index_leaf	0
SET GLOBAL innodb_monitor_enable='ALL';
INSERT INTO t1 VALUES (9), (10), (11), (12);
FLUSH TABLES t1 FOR EXPORT;
UNLOCK TABLES;
SELECT NAME, COUNT FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE NAME
LIKE 'buffer_page_written_index_leaf';
NAME	COUNT
buffer_page_written_index_leaf	NNNN
SET GLOBAL innodb_monitor_enable=default;
SET GLOBAL innodb_monitor_disable=default;
SET GLOBAL innodb_monitor_reset_all=default;
DROP TABLE t1;

Filemanager

Name Type Size Permission Actions
add_foreign_key.result File 1.28 KB 0644
alter_rename_existing.result File 2.96 KB 0644
analyze_table.result File 538 B 0644
autoinc_debug.result File 2.52 KB 0644
blob-update-debug.result File 489 B 0644
blob_redo.result File 1.1 KB 0644
bulk_create_index_online.result File 760 B 0644
checksum.result File 372 B 0644
create-index.result File 1.17 KB 0644
create_isl_with_direct.result File 328 B 0644
dropdb.result File 222 B 0644
end_range_check.result File 1.53 KB 0644
events-merge-tmp-path.result File 1.33 KB 0644
flush-hang.result File 1.27 KB 0644
foreign_key.result File 3.24 KB 0644
ibuf_not_empty.result File 1.01 KB 0644
import.result File 1.79 KB 0644
import_tablespace_schema_missmatch.result File 2.14 KB 0644
import_update_stats.result File 2.86 KB 0644
index_length.result File 1.44 KB 0644
index_tree_operation.result File 1.65 KB 0644
innodb-2byte-collation.result File 3.28 KB 0644
innodb-ac-non-locking-select.result File 861 B 0644
innodb-alter-autoinc.result File 4.46 KB 0644
innodb-alter-debug.result File 2.66 KB 0644
innodb-alter-discard.result File 1.18 KB 0644
innodb-alter-nullable.result File 1.59 KB 0644
innodb-alter-tempfile.result File 1.42 KB 0644
innodb-alter.result File 32.02 KB 0644
innodb-analyze.result File 58 B 0644
innodb-autoinc-18274.result File 805 B 0644
innodb-autoinc-44030.result File 722 B 0644
innodb-autoinc-56228.result File 847 B 0644
innodb-autoinc-optimize.result File 321 B 0644
innodb-autoinc.result File 39.22 KB 0644
innodb-blob.result File 3.76 KB 0644
innodb-bug-14068765.result File 3 KB 0644
innodb-bug-14084530.result File 898 B 0644
innodb-bug12552164.result File 1.73 KB 0644
innodb-bug14219515.result File 244 B 0644
innodb-change-buffer-recovery.result File 1.04 KB 0644
innodb-consistent.result File 670 B 0644
innodb-double-write.result File 8.72 KB 0644
innodb-index-debug.result File 2.87 KB 0644
innodb-index-online-delete.result File 642 B 0644
innodb-index-online-fk.result File 23.42 KB 0644
innodb-index-online-norebuild.result File 897 B 0644
innodb-index-online-purge.result File 1.2 KB 0644
innodb-index-online.result File 13.59 KB 0644
innodb-index.result File 34.22 KB 0644
innodb-index_ucs2.result File 2.74 KB 0644
innodb-lock-inherit-read_commited.result File 3.36 KB 0644
innodb-lock.result File 2.86 KB 0644
innodb-log-file-size-1.result File 4.91 KB 0644
innodb-log-file-size.result File 1.18 KB 0644
innodb-multiple-tablespaces.result File 13.19 KB 0644
innodb-read-view.result File 2.06 KB 0644
innodb-replace.result File 445 B 0644
innodb-semi-consistent.result File 1.35 KB 0644
innodb-status-output.result File 2.2 KB 0644
innodb-system-table-view.result File 5.26 KB 0644
innodb-table-online.result File 12.88 KB 0644
innodb-tablespace.result File 21.6 KB 0644
innodb-timeout.result File 953 B 0644
innodb-truncate.result File 2.28 KB 0644
innodb-ucs2.result File 15.36 KB 0644
innodb-update-insert.result File 948 B 0644
innodb-use-sys-malloc.result File 1.47 KB 0644
innodb-wl5522-1.result File 28.06 KB 0644
innodb-wl5522-debug.result File 32.19 KB 0644
innodb-wl5522.result File 20.52 KB 0644
innodb-wl5980-alter.result File 35.51 KB 0644
innodb-wl5980-debug.result File 1.33 KB 0644
innodb-wl5980-discard.result File 28.63 KB 0644
innodb-wl5980-linux.result File 5.29 KB 0644
innodb-wl5980-windows.result File 5.77 KB 0644
innodb-wl6445-1.result File 68.57 KB 0644
innodb-wl6445-2.result File 3.9 KB 0644
innodb-wl6445.result File 1.78 KB 0644
innodb.result File 97.48 KB 0644
innodb_autoinc_lock_mode_zero.result File 1.22 KB 0644
innodb_autoinc_reset.result File 423 B 0644
innodb_blob_unrecoverable_crash.result File 764 B 0644
innodb_buffer_pool_load.result File 978 B 0644
innodb_bug-13628249.result File 973 B 0644
innodb_bug11754376.result File 180 B 0644
innodb_bug11766634.result File 396 B 0644
innodb_bug11789106.result File 394 B 0644
innodb_bug11933790.result File 229 B 0644
innodb_bug12400341.result File 1 KB 0644
innodb_bug12429573.result File 708 B 0644
innodb_bug12661768.result File 524 B 0644
innodb_bug13635833.result File 1.61 KB 0644
innodb_bug13867871.result File 3.71 KB 0644
innodb_bug14006907.result File 934 B 0644
innodb_bug14007109.result File 223 B 0644
innodb_bug14007649.result File 1.17 KB 0644
innodb_bug14147491.result File 1.29 KB 0644
innodb_bug14169459.result File 1.51 KB 0644
innodb_bug14676111.result File 1.99 KB 0644
innodb_bug14704286.result File 1.12 KB 0644
innodb_bug21704.result File 2.69 KB 0644
innodb_bug30423.result File 3.04 KB 0644
innodb_bug30919.result File 17.44 KB 0644
innodb_bug34053.result File 35 B 0644
innodb_bug34300.result File 173 B 0644
innodb_bug35220.result File 35 B 0644
innodb_bug38231.result File 35 B 0644
innodb_bug39438.result File 35 B 0644
innodb_bug40360.result File 134 B 0644
innodb_bug40565.result File 311 B 0644
innodb_bug41904.result File 195 B 0644
innodb_bug42101-nonzero.result File 810 B 0644
innodb_bug42101.result File 704 B 0644
innodb_bug42419.result File 858 B 0644
innodb_bug44032.result File 313 B 0644
innodb_bug44369.result File 300 B 0644
innodb_bug44571.result File 334 B 0644
innodb_bug45357.result File 290 B 0644
innodb_bug46000.result File 905 B 0644
innodb_bug46676.result File 362 B 0644
innodb_bug47167.result File 990 B 0644
innodb_bug47621.result File 777 B 0644
innodb_bug47622.result File 748 B 0644
innodb_bug47777.result File 516 B 0644
innodb_bug48024.result File 592 B 0644
innodb_bug49164.result File 633 B 0644
innodb_bug51378.result File 2.19 KB 0644
innodb_bug51920.result File 316 B 0644
innodb_bug52199.result File 175 B 0644
innodb_bug52663.result File 857 B 0644
innodb_bug53046.result File 1016 B 0644
innodb_bug53290.result File 771 B 0644
innodb_bug53592.result File 1.54 KB 0644
innodb_bug53674.result File 234 B 0644
innodb_bug53756.result File 2.39 KB 0644
innodb_bug54044.result File 678 B 0644
innodb_bug56143.result File 73.65 KB 0644
innodb_bug56716.result File 168 B 0644
innodb_bug56947.result File 406 B 0644
innodb_bug57252.result File 89 B 0644
innodb_bug57255.result File 501 B 0644
innodb_bug57904.result File 1.3 KB 0644
innodb_bug59307.result File 476 B 0644
innodb_bug59410.result File 529 B 0644
innodb_bug59641.result File 898 B 0644
innodb_bug59733.result File 802 B 0644
innodb_bug60049.result File 430 B 0644
innodb_bug60196.result File 2.9 KB 0644
innodb_bug60229.result File 955 B 0644
innodb_bug70867.result File 171 B 0644
innodb_copy_col_in_partition.result File 976 B 0644
innodb_corrupt_bit.result File 2.97 KB 0644
innodb_ctype_ldml.result File 27.54 KB 0644
innodb_deadlock_with_autoinc.result File 565 B 0644
innodb_file_format.result File 1.68 KB 0644
innodb_file_limit_check.result File 319 B 0644
innodb_force_recovery.result File 3.22 KB 0644
innodb_gis.result File 25.08 KB 0644
innodb_i_s_innodb_locks.result File 4.33 KB 0644
innodb_i_s_innodb_trx.result File 2.85 KB 0644
innodb_information_schema_buffer.result File 2.23 KB 0644
innodb_io_pf.result File 407 B 0644
innodb_lock_wait_timeout_1.result File 8.29 KB 0644
innodb_misc1.result File 28.04 KB 0644
innodb_multi_update.result File 1.58 KB 0644
innodb_mysql.result File 77.3 KB 0644
innodb_mysql_rbk.result File 629 B 0644
innodb_notembedded.result File 637 B 0644
innodb_page_size_func.result File 1.48 KB 0644
innodb_prefix_index_restart_server.result File 2.91 KB 0644
innodb_replace.result File 2.33 KB 0644
innodb_stats.result File 11.62 KB 0644
innodb_stats_auto_recalc.result File 1.33 KB 0644
innodb_stats_auto_recalc_ddl.result File 1.13 KB 0644
innodb_stats_auto_recalc_lots.result File 2.07 KB 0644
innodb_stats_auto_recalc_on_nonexistent.result File 2.19 KB 0644
innodb_stats_create_on_corrupted.result File 893 B 0644
innodb_stats_create_table.result File 1.1 KB 0644
innodb_stats_del_mark.result File 2.81 KB 0644
innodb_stats_drop_locked.result File 1.55 KB 0644
innodb_stats_external_pages.result File 880 B 0644
innodb_stats_fetch.result File 3.35 KB 0644
innodb_stats_fetch_corrupted.result File 1.2 KB 0644
innodb_stats_fetch_nonexistent.result File 980 B 0644
innodb_stats_flag_global_off.result File 7.34 KB 0644
innodb_stats_flag_global_on.result File 7.34 KB 0644
innodb_stats_rename_table.result File 1.48 KB 0644
innodb_stats_rename_table_if_exists.result File 1.89 KB 0644
innodb_stats_sample_pages.result File 1023 B 0644
innodb_stats_table_flag_auto_recalc.result File 3 KB 0644
innodb_stats_table_flag_sample_pages.result File 4.27 KB 0644
innodb_sys_var_valgrind.result File 2.35 KB 0644
innodb_timeout_rollback.result File 570 B 0644
innodb_trx_weight.result File 35 B 0644
innodb_upd_stats_if_needed_not_inited.result File 457 B 0644
innodb_ut_format_name.result File 140 B 0644
insert_debug.result File 380 B 0644
monitor.result File 22.89 KB 0644
monitor_debug.result File 569 B 0644
sp_temp_table.result File 5.72 KB 0644
strict_checksum.result File 787 B 0644
strict_mode.result File 3.47 KB 0644
timestamp.result File 790 B 0644
tmpdir.result File 1.8 KB 0644
undo_space_id.result File 155 B 0644
xa_recovery.result File 352 B 0644