这是MySQL信息:
mysql> show variables like 'innodb%flush%log%';
+--------------------------------+-------+
| Variable_name | Value |
+--------------------------------+-------+
| innodb_flush_log_at_timeout | 2700 |
| innodb_flush_log_at_trx_commit | 0 |
+--------------------------------+-------+
2 rows in set (0.00 sec)
mysql> select version()
-> ;
+-----------+
| version() |
+-----------+
| 5.6.14 |
+-----------+
1 row in set (0.00 sec)
Run Code Online (Sandbox Code Playgroud)
然后我插入一些东西:
mysql> insert into x select now();
Query OK, 1 row affected (0.00 sec)
Records: 1 Duplicates: 0 Warnings: 0
mysql> select * from x;
+---------------------+
| now() |
+---------------------+ …Run Code Online (Sandbox Code Playgroud)