|
Yes, Oracle SQL optimizer can do SQL rewrite internally such as:
SQL --> SQL' --> Plan1,Plan2,Plan3,.... Planx
The SQL' is the internal rewrite result, for example, rewrite Exist or In to Join(if it is possible). The power of Oracle internal rewrite ability is getting strong . The problem is the selection of the best plan from Plan1,Plan2,Plan... Planx. It is impossible for Oracle to find the best plan out hundreds or even thousands Plans within a short time. So, my product uses AI algorithm to extract those hidden plans. Test run those plans, you will get the best plan for your SQL in your specific environment. |
|