To interpret the buffer cache hit ratio,you should consider the following:解释缓存的命中率,你应该解释如下:Repeated scanning of the same large tableor index can artificially inflate a poor cache hit ratio. Examine frequentlyexecuted SQL statements with a large number of b...【阅读全文】
oracle 教程http://www.cuug.com/一.SQL*PLUS中输入SQL> conn as sysdba;SQL> alter system setjob_queue_processes = 6; --自动执行数据收集时该参数需要大于0SQL> alter system set timed_statistics =true; --使用statspack收集统计信息时建议...【阅读全文】
今天在ITPUB看到一个帖子,关于WHERE条件的执行顺序的。http://www.itpub.net/thread-1755665-1-1.html原文如下:今天看到以下一句话,我记得以下的描述应该是针对RBO的吧,现在CBO优化器应该能自己判断了吧?ORACLE采用自下而上的顺序解析WHERE子句,根据这个原理,表之间的连接必须写在其他WHERE条件之前,那些可以过滤掉最大数量记录的条件必须写在WHERE子句的末尾。事实正好相反,可以过滤掉最大数量记录的条件必须写在WHERE子句的前面。看下面一个经典例子:SQL> desc x 名称  【阅读全文】