What happens when using MySQL Insert Delayed insid

2019-07-07 00:26发布

Does the inserts are finished with the transaction commit? Or they can be finished later?

2条回答
走好不送
2楼-- · 2019-07-07 01:15

Per the MySQL Documentation:

INSERT DELAYED works only with MyISAM, MEMORY, ARCHIVE, and (as of MySQL 5.1.19) BLACKHOLE tables. For engines that do not support DELAYED, an error occurs.

None of these engines support transactions, so there's no conflict in functionality here.

I would imagine that you will find that support of delayed inserts and transactions will be mutually exclusive.

查看更多
太酷不给撩
3楼-- · 2019-07-07 01:15

Insert delayed don't work with engines that support transactions

查看更多
登录 后发表回答