select count(*) from tab_big,tab_small ;
select count(*) from tab_small,tab_big ;
以上实验发现性能是一样的
select /*+rule*/ count(*) from tab_big,tab_small ;
select /*+rule*/ count(*) from tab_small,tab_big ;
上一条性能好于下一条
结论:表连接顺序的说法早就过时了,那是基于规则的时代,现在我们是基于代价的。
基于规则?基于代价?