Need to know if the order of the tables in a join is important as far as tuning is concerned ? How to find out the Driver table & how to determine that a table in a join is really being used as a driver table.
I would have thought that an oracle forum would have got better responses, but here you are.
Oracle uses either of two optimizers, rule based and cost based.
The old rule based was common before Oracle 8, and tries to use the last table mentioned as the driver table.
The cost based Optimizer avilable in oracle 7 on, may prefer the first table to be the driving table but not very strongly.
Using explain plan with either optimizer can show you the choices the optimizer made in your code. you can try to enfluence those choices with hints. I tried to remain child-like, all I acheived was childish.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.