随笔分类 -  Oracle优化

摘要:--方案1:如果有索引,先把索引删除后,再update,最后把索引重新创建一下因为索引对update影响很大。 --方案2:1.create table newA as select id,name,age+1 age from A;2.drop table A;3.rename newA to A 阅读全文
posted @ 2017-10-28 14:06 碧水幽幽泉 阅读(532) 评论(0) 推荐(0)