发表于: 2007.07.03 14:20
分类: oracle案例汇集
出处: http://rainbowbridg.itpub.net/post/23663/303165
---------------------------------------------------------------
今天运行一条sql语句,20多分钟了还是没有返回,数据也没有什么特殊的地方,于是我把这个用户下的各个表重新分析了一下,再执行该语句,发现很快获得了结果!!
在这里记录一下
dbms_utility.analyze_schema(schema=>'SCOTT',method=>'ESTIMATE',estimate_percent=>10,method_opt=>'FOR ALL INDEXES');











