小铁匠ME

导航

2012年9月3日 #

一个filter子查询测试

摘要: 分析日志的时候发现,一个sql执行非常慢。看执行计划是因为not in子查询走了filter执行计划。类似于下面测试的情形。测试数据:drop table test1;create table test1 as select object_id,object_name from dba_objects where rownum desc test1Name Type Nullable Default Comments ----------- ------------- -------- ------- -------- OBJECT_ID NUMBER Y OBJECT_NAME VARCHA 阅读全文

posted @ 2012-09-03 19:28 小铁匠ME 阅读(451) 评论(0) 推荐(0) 编辑