摘要: 通过临时表创建索引用 空间换时间避免频繁读取原表信息 /*正常写法*/ DELETE from activity where id not in ( SELECT id from activity_data); /*优化后写法*/ DELETE from activity where id not 阅读全文
posted @ 2020-08-31 16:44 小尼 阅读(2746) 评论(0) 推荐(0) 编辑