在用mysqlbinlog查看binlog的时候,碰到’load data infile’时,mysqlbinlog会在tmp-dir目录下生成临时文件来模拟’load data infile’语句的执行。
Archive for the ‘mysql’ Category
mysqlbinlog显示’load data infile’时产生临时文件
Sunday, July 26th, 2009FLUSH TABLES WITH READ LOCK已修复的bug
Sunday, July 26th, 2009在mysql-4.1.3之前,’flush tables with read lock’ does not block commit; 所以在执行mysqldump的时候想要得到一致的数据需要shutdown mysqld。