设置了low_priority_updates却依然会被system lock

netxuning 2010-01-15 05:06:36
我想让系统读优先,所以将low_priority_updates设置为on,主服务器生效,写操作会靠后。
但是在slave上却不然,还是被同步的写锁住,也就是被replication进程System lock。
这有没有啥解决的办法?
...全文
155 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
军爷_010 2010-01-15
  • 打赏
  • 举报
回复
If set to 1, all INSERT, UPDATE, DELETE, and LOCK TABLE WRITE statements wait until there is no pending SELECT or LOCK TABLE READ on the affected table. This affects only storage engines that use only table-level locking (MyISAM, MEMORY, MERGE). This variable previously was named sql_low_priority_updates.

56,677

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧