Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

RULE BASED OPTIMIZER

479297Oct 25 2007 — edited Oct 29 2007
hi,

my database is 10.2.0.1...by default optimizer_mode=ALL_ROWS..

for some sessions..i need rule based optimizer...

so can i use

alter session set optimizer_mode=rule;

will it effect that session only or entire database....
and following also.i want to make them at session level...

ALTER SESSION SET "_HASH_JOIN_ENABLED" = FALSE;



ALTER SESSION SET "_OPTIMIZER_SORTMERGE_JOIN_ENABLED" = FALSE ;



ALTER SESSION SET "_OPTIMIZER_JOIN_SEL_SANITY_CHECK" = TRUE;



will those effect only session or entire database...please suggest
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 26 2007
Added on Oct 25 2007
7 comments
1,320 views