The optimizer is better (read different) in 9.2 verses 8.1.7. Using the rule optimizer biases you toward using nested loops and indexes. You can do that in other ways if you want to use the hint approach. For instance you can use a nested loop hint. You should read up on this to get the details. The 9.2 optimizer has options that the 8.1.7 didn't. I'm assuming that your test and dev environments did not have enough similarity to production to produce the same results. Allan -----Original Message----- =46rom: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Fuad Arshad Sent: Wednesday, June 30, 2004 10:08 AM To: oracle-l@xxxxxxxxxxxxx Subject: Issues with queries after upgrade, We've upgraded to 9.2.0.4 on one of our high volume databases. As usual everything was fine in dev and test but high volume queries have started to break . one of the problems that we founf the the unnest_subq turned off. =66inally to try to fix things i set the optimizer_features_enable=3D8.1.7 but some of our explain plans have changed wherein the query was using a sort is not now using concatenation. any ideas thoughts on why this is happening. strangely enough if i run some of the queires using optimizer_goal=3Drule they do run very fast. and have a better explain plan. =20 ---------------------------------------------------------------- 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/ =46AQ is at //www.freelists.org/help/fom-serve/cache/1.html ----------------------------------------------------------------- ______________________________________________________________________________ This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Copying, forwarding or distributing this message by persons or entities other than the addressee is prohibited. If you have received this email in error, please contact the sender immediately and delete the material from any computer. This email may have been monitored for policy compliance. [021216] ---------------------------------------------------------------- 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 -----------------------------------------------------------------