QUOTE:
原帖由
iso90000 于 2008-4-23 07:33 发表

To Yong Huang:
像use_nl(),use_hash()并不能让优化器确定谁是驱动表或谁是被驱动的表,需要使用orderded,LEADING才可以确定驱动表的顺序,这是我做完测试后的理解。
另外还有个问题:
在看Oracle9i Database Performance Tuning Guide and Reference的use_hash时对这句话不是太理解:
use_hash('table')
where 'table' is a table to be joined to the row source resulting from joining the previous tables in the join order using a hash join.
望大师给我一些解释,谢谢!