Thanks, I was wondering about the RULE hint..... hadn't gotten around to testing it. And as far as unsupported goes... isn't that true with alot of their "features" .... Happy Cinqo de Mayo to all you none French people out there. KD -----Original Message----- From: Daniel Fink [mailto:Daniel.Fink@xxxxxxx] Sent: Wednesday, May 05, 2004 12:05 PM To: oracle-l@xxxxxxxxxxxxx Subject: Re: Wrong results using decode when db upgraded to 9205 Contrary to rumor, the RBO is alive and well in 10g (though supposed to be on it's last legs). Here is selected output from a trace file: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production <snip> PARSING IN CURSOR #2 len=134 dep=0 uid=33 oct=3 lid=33 tim=1333462250010 hv=4175702228 ad='8d947228' select /*+ rule */ p.name, t.synopsis, s.name from p, t, s where p.id = t.project and s.project = p.id END OF STMT PARSE #2:c=10000,e=8169,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=3,tim=1333462249984 In the PARSE #2 line og=3 means that the optimizer_goal is RULE (og Optimizer goal: 1=All_Rows, 2=First_Rows, 3=Rule, 4=Choose ) QED, YMMV, IMHO, Yada Yada Yada... Daniel "Duret, Kathy" wrote: > > A question about using the Rule hint for new code? > > Forgive me, but isn't the rule going away in 10G and I would assume the rule > hint would no longer work or rather be ignored in 10G so why put rule into > new code to have to rewrite it when you migrate to 10G. > > Haven't tested it in 10G so I don't know for sure. Has anyone? > > Kathy ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx put 'unsubscribe' in the subject line. -- Archives are at //www.freelists.org/archives/oracle-l/ FAQ is at //www.freelists.org/help/fom-serve/cache/1.html ----------------------------------------------------------------- This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the intended recipient, please contact the sender and delete all copies of this transmission. This message and/or the materials contained herein are not an offer to sell, or a solicitation of an offer to buy, any securities or other instruments. The information has been obtained or derived from sources believed by us to be reliable, but we do not represent that it is accurate or complete. Any opinions or estimates contained in this information constitute our judgment as of this date and are subject to change without notice. Any information you share with us will be used in the operation of our business, and we do not request and do not want any material, nonpublic information. Absent an express prior written agreement, we are not agreeing to treat any information confidentially and will use any and all information and reserve the right to publish or disclose any information you share with us. ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx put 'unsubscribe' in the subject line. -- Archives are at //www.freelists.org/archives/oracle-l/ FAQ is at //www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------