mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
ad126d90e0
This includes both code and test cases.
39 lines
1 KiB
Text
39 lines
1 KiB
Text
show status like "binlog_cache_use";
|
|
Variable_name Value
|
|
Binlog_cache_use 0
|
|
show status like "binlog_cache_disk_use";
|
|
Variable_name Value
|
|
Binlog_cache_disk_use 0
|
|
drop table if exists t1;
|
|
create table t1 (a int) engine=innodb;
|
|
show status like "binlog_cache_use";
|
|
Variable_name Value
|
|
Binlog_cache_use 1
|
|
show status like "binlog_cache_disk_use";
|
|
Variable_name Value
|
|
Binlog_cache_disk_use 1
|
|
begin;
|
|
delete from t1;
|
|
commit;
|
|
show status like "binlog_cache_use";
|
|
Variable_name Value
|
|
Binlog_cache_use 2
|
|
show status like "binlog_cache_disk_use";
|
|
Variable_name Value
|
|
Binlog_cache_disk_use 1
|
|
drop table t1;
|
|
show status like "Innodb_buffer_pool_pages_total";
|
|
Variable_name Value
|
|
Innodb_buffer_pool_pages_total 512
|
|
show status like "Innodb_page_size";
|
|
Variable_name Value
|
|
Innodb_page_size 16384
|
|
show status like "Innodb_rows_deleted";
|
|
Variable_name Value
|
|
Innodb_rows_deleted 2000
|
|
show status like "Innodb_rows_inserted";
|
|
Variable_name Value
|
|
Innodb_rows_inserted 2000
|
|
show status like "Innodb_rows_updated";
|
|
Variable_name Value
|
|
Innodb_rows_updated 0
|