MySQL Variables delayed_insert_timeout 数据库 参数变量解释及正确配置使用
本站中文解释
delayed_insert_timeout 是 MySQL 连接超时参数,参数值表示服务器等待 delayed row 的插入操作成功执行的时间(单位是秒)。如果插入未在指定时间内完成,MySQL 服务器在一定的条件下就会取消插入任务。
可以在my.cnf配置文件中添加以下语句来设置delayed_insert_timeout:
[mysqld]
delayed_insert_timeout=180
这样可以让服务器等待延迟插入操作的时间延长到180秒。
官方英文解释
delayed_insert_timeout
| Command-Line Format | --delayed-insert-timeout=# |
|---|---|
| Deprecated | Yes |
| System Variable | delayed_insert_timeout |
| Scope | Global |
| Dynamic | Yes |
| Type | Integer |
| Default Value | 300 |
| Minimum Value | 1 |
| Maximum Value | 31536000 |
| Unit | seconds |
This system variable is deprecated (because
DELAYED inserts are not supported); expect
it to be removed in a future release.