⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 binlog_innodb.test

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 TEST
字号:
-- source include/have_innodb.inc-- source include/have_log_bin.inc## Let us test binlog_cache_use and binlog_cache_disk_use status vars.# Actually this test has nothing to do with innodb per se, it just requires# transactional table. #show status like "binlog_cache_use";show status like "binlog_cache_disk_use";create table t1 (a int) engine=innodb;# Now we are going to create transaction which is long enough so its # transaction binlog will be flushed to disk...let $1=2000;disable_query_log;begin;while ($1){ eval insert into t1 values( $1 ); dec $1;}commit;enable_query_log;show status like "binlog_cache_use";show status like "binlog_cache_disk_use";# Transaction which should not be flushed to disk and so should not# increase binlog_cache_disk_use.begin;delete from t1;commit;show status like "binlog_cache_use";show status like "binlog_cache_disk_use";drop table t1;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -