Home » RDBMS Server » Performance Tuning » RBO to CBO Conversion
RBO to CBO Conversion [message #183815] |
Mon, 24 July 2006 01:14  |
ashuj20
Messages: 12 Registered: October 2005 Location: new delhi
|
Junior Member |
|
|
Hi,
I need some help.
My databases are running in RBO environment using oracle 8i, 9i. Now, because RBO being obsolete in oracle 10g and later releases. I want to switch to CBO.
My databases are in production. I want to look at all the scenarios for conversion to CBO (oracle 10g).
Could you please suggest, What will be the best approach for that, how should I start.
I want to know, what conversions are required for changing to CBO. How should i check the performance after conversion e.g. should i check the performance of all operations in both RBO and CBO environment or something else.
Almost all my queries are using hints, do I have to make some changes on queries also, if yes, then this might be the major task for me. Is there any other way out ?
If, any other information is required, please let me know.
Please help in determining the best strategy.
Regards
Ashish Goel
|
|
|
|
|
|
|
|
Re: RBO to CBO Conversion [message #184136 is a reply to message #184117] |
Tue, 25 July 2006 08:45   |
JRowbottom
Messages: 5933 Registered: June 2006 Location: Sunny North Yorkshire, ho...
|
Senior Member |
|
|
Oooo, now you're getting me all confused!.
When I read your last post, I thought
Quote: | By Jove, he's right. No Stats => RBO
|
Then I went and did some tests, and adding any valid hint to a query makes it use the CBO, and it runs with some atrocious estimated stats.
So all the queries using hints are probably going to get different plans because they'll have valid stats for the first time in history, and all the other queries will get radically different plans, as 2 full releases of optimiser query options kick in.
If everything was using the RBO, the OP would actualy be in a better position, as they could create an On-Logon trigger to switch you into CBO or RBO mode, and that way you could bring a few users over to CBO at a time.
|
|
|
|
|
|
Goto Forum:
Current Time: Thu Jun 05 09:15:06 CDT 2025
|