84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
表有一个自增id作为主键,一个包含3列的唯一索引(a,b,c),4个普通索引,表数据量100万的样子。
如果执行:delete from tb_xxx where a=1234 and b=5678 and c=9876
delete from tb_xxx where a=1234 and b=5678 and c=9876
一次删除5000条记录。
这条sql会有问题吗?
学习是最好的投资!
DELETE FROM `tb_xxx` WHERE `a` = '1234' AND `b` = '5678' AND `c` = '9876'
没有问题应该,我做过删除一万条的。
没有问题应该,我做过删除一万条的。