MySQL 8.0-13.2.6.3 INSERT DELAYED Statement

MySQL的INSERT DELAYED选项在早期版本中允许延迟插入,以便在表不被其他线程使用时进行。然而,此功能在MySQL5.6中被弃用,并在8.0版本中不再支持。现在,服务器会忽略DELAYED关键字并以非延迟方式处理插入操作,同时发出警告。
INSERT DELAYED ...

The DELAYED option for the INSERT statement is a MySQL extension to standard SQL. In previous versions of MySQL, it can be used for certain kinds of tables (such as MyISAM), such that when a client uses INSERT DELAYED, it gets an okay from the server at once, and the row is queued to be inserted when the table is not in use by any other thread.

INSERT语句的DELAYED选项是对标准SQL的MySQL扩展。在早期版本的MySQL,它可以用于某些种类的表(如MyISAM),这样,当一个客户机使用插入延迟,它会得到一个好的服务器,和行排队要插入表时不使用任何其他线程。

DELAYED inserts and replaces were deprecated in MySQL 5.6. In MySQL 8.0, DELAYED is not supported. The server recognizes but ignores the DELAYED keyword, handles the insert as a nondelayed insert, and generates an ER_WARN_LEGACY_SYNTAX_CONVERTED warning: INSERT DELAYED is no longer supported. The statement was converted to INSERT. The DELAYED keyword is scheduled for removal in a future release.

延迟插入和替换在MySQL 5.6中已弃用。在MySQL 8.0中,不支持delay。服务器识别但忽略了DELAYED关键字,将插入处理为非延迟插入,并生成一个er_warn_legacy_syntax_convert警告:不再支持insert DELAYED。该语句被转换为INSERT。DELAYED关键字计划在未来的版本中删除。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值