Closed cbqqkcel closed 1 year ago
cpu 跑满了
update RoomSeller
set saleStatus = 1 where id in (select rsid from RoomSeller as rs, RoomSellerold as rso where rs
and rs.sellerId = rso.seler id)
执行的是这样的语句,是不是in的数据太多了。(3700条)
换 lealone 5.2 看看有没有问题
lealone 5.1 嵌套执行 sql,数据量多时有 bug,5.2 修复了。
我优化了 IN(SELECT) 语句,现在很快了,更新1万行记录也没问题。
好的谢谢