標(biāo)題: 怎么知道delete是否用到索引? [打印本頁(yè)] 作者: bandw 時(shí)間: 2006-10-30 14:07 標(biāo)題: 怎么知道delete是否用到索引? delete from table where id in(1, 2, ...)
是不是和
select * from table where id in(1, 2...)用到的索引一樣?作者: qlks 時(shí)間: 2006-10-30 15:32
一樣
總要先找到了在刪吧作者: UIRL 時(shí)間: 2006-10-30 16:12
explain delete from table where id in(1, 2, ...)
查看.作者: yejr 時(shí)間: 2006-10-30 17:22
原帖由 UIRL 于 2006-10-30 16:12 發(fā)表
explain delete from table where id in(1, 2, ...)