Let me clarify a few points lower unnoticed, if there is wrong, we can add.
Written on 1. binlog_cache_size manual GLOBAL range is level. But the fact is this:
A. When there is a transaction on the engine, he was TRANSACTION level, meaning that restrictions BUFFER each of TRANSACTION.
B. For non-transactional engine is indeed a GLOBAL level.
2. When you restrict the default-storage-engine = innodb, pay attention: changed little in a temporary table when your application:
When this value reaches tmp_table_size on the line, will create a table definition and data on the disk. But the table is defined in the TMPDIR directory, and the data stored in the INNODB and index table space inside! !
Written on 1. binlog_cache_size manual GLOBAL range is level. But the fact is this:
A. When there is a transaction on the engine, he was TRANSACTION level, meaning that restrictions BUFFER each of TRANSACTION.
B. For non-transactional engine is indeed a GLOBAL level.
2. When you restrict the default-storage-engine = innodb, pay attention: changed little in a temporary table when your application:
When this value reaches tmp_table_size on the line, will create a table definition and data on the disk. But the table is defined in the TMPDIR directory, and the data stored in the INNODB and index table space inside! !
This article comes from " God, let there or be square! " Blog, be sure to keep this source http://yueliangdao0608.blog.51cto.com/397025/200809
Reproduced in: https: //my.oschina.net/u/585111/blog/219475