mysql撤消日志记录太大了

时间:2017-10-24 10:58:49

标签: mysql

我对特定数据库有一个奇怪的问题:

mysql> update person set last_name=null where first_name='john';
ERROR 1713 (HY000): Undo log record is too big.

可能是什么问题? (我已经用Google搜索了相当的日志)

在Mac OSX 10.12.6上使用brew安装的mysql 5.7.20。

show table status where name = 'person'
    -> ;
+--------------------+--------+---------+------------+--------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+------------+--------------------+----------+----------------+---------+
| Name               | Engine | Version | Row_format | Rows   | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time         | Update_time         | Check_time | Collation          | Checksum | Create_options | Comment |
+--------------------+--------+---------+------------+--------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+------------+--------------------+----------+----------------+---------+
| person             | InnoDB |      10 | Dynamic    | 650918 |           4322 |  2813853696 |               0 |   1369833472 |   6291456 |           NULL | 2017-09-12 14:31:20 | 2017-10-24 12:37:03 | NULL       | utf8mb4_unicode_ci |     NULL |                |         |
+--------------------+--------+---------+------------+--------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+------------+--------------------+----------+----------------+---------+
1 row in set (0.00 sec)

0 个答案:

没有答案