mysql中大事物提交延遲問題及解決方法

在mysql主從複製中,若是主庫存在大事物提交,從庫則可能會延遲,因此在主庫執行的事物儘可能使用小事物,下面舉一個例子:mysql ,udatesql 主庫:it insert into t1(id,name,title,cdate,udate) select id2,name2,tile2,cdate2,udate2 from t2 where id2>xxxx and cdate <'2017
相關文章
相關標籤/搜索