What happens when using MySQL Insert Delayed inside a transaction?

Are transaction commit inserts completed? Or can they be finished later?

+3
source share
2 answers

In the MySQL documentation :

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

None of these engines support transactions, so there are no conflicts.

I would suggest that you find that support for deferred inserts and transactions will be mutually exclusive.

+4
source

,

+1

Source: https://habr.com/ru/post/1735971/


All Articles