---
+0 在跨年时出现执行计划的突变
Tag: Working case | ..experience
遇到这样一个问题,客户的某系统在进入2014年后,某sql执行就非常慢,看到这个sql的执行计划发生了改变,原来很好的走hash连接的执行计划变成了走索引的nest loop的执行计划。在收集统计信息后,恢复正常。
这个故障的测试案例,我们可以这样模拟:
--创建表和索引:
create table t1 (a number,b varchar2(20));
create index idx_a on t1(a);
--加载数据:
INSERT
查看全文: http://www.udpwork.com/item/11662.html
这个故障的测试案例,我们可以这样模拟:
--创建表和索引:
create table t1 (a number,b varchar2(20));
create index idx_a on t1(a);
--加载数据:
INSERT
查看全文: http://www.udpwork.com/item/11662.html