标签:var image undo ace ls -l code info o_direct rect
1、innodb_undo_tablespaces使用了默认参数0,导致undo数据写入到了ibdata1这个数据文件中。
mysql> show variables like ‘innodb_undo%‘;
+--------------------------+-------+
| Variable_name | Value |
+--------------------------+-------+
| innodb_undo_directory | ./ |
| innodb_undo_log_truncate | ON |
| innodb_undo_logs | 128 |
| innodb_undo_tablespaces | 0 |
+--------------------------+-------+
# ls -l
total 4625224
-rw-r----- 1 mysql mysql 56 May 30 09:40 auto.cnf
-rw-rw---- 1 mysql mysql 493 May 26 23:28 backup-my.cnf
-rw-r----- 1 mysql mysql 1433422 Jun 22 13:57 ib_buffer_pool
-rw-rw---- 1 mysql mysql 549453824 Jul 1 10:00 ibdata1
2、这个参数将要废弃掉
标签:var image undo ace ls -l code info o_direct rect
原文地址:https://blog.51cto.com/roidba/2507840