What will be my optimizer after importing 9iR2 to 10gR2 CBO or RBO?

Friends,
OS: RHEL AS 3
what will be my optimizer after importing 9iR2 to 10gR2?
will it be in RBO or CBO?
What are the precautionary steps should i follow for the optimizer part?
thanks

The default optimizer , as mentioned already will be CBO based. Oracle would go for All_rows as the one.
RBO is still there ,even in 11g its there but oracle won't be accepting any bug reports or wont supply anything for issues about it. So if your stats are okay than it wil be cbo otherwise it will be RBO that would be kicking in,
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
SQL> set auot trace exp
SP2-0158: unknown SET option "auot"
SQL> set autot trace exp
SQL> alter session set optimizer_mode=choose;
Session altered.
SQL> create table t( a char);
Table created.
SQL> select * from t;
Execution Plan
Plan hash value: 1601196873
| Id  | Operation         | Name |
|   0 | SELECT STATEMENT  |      |
|   1 |  TABLE ACCESS FULL| T    |
Note
   - rule based optimizer used (consider using cbo)
SQL> create table iot(a number primary key) organization index;
Table created.
SQL> select * from iot;
Execution Plan
Plan hash value: 3063468998
| Id  | Operation            | Name              | Rows  | Bytes | Cost (%CPU)|
Time     |
|   0 | SELECT STATEMENT     |                   |     1 |    13 |     2   (0)|
00:00:01 |
|   1 |  INDEX FAST FULL SCAN| SYS_IOT_TOP_71833 |     1 |    13 |     2   (0)|
00:00:01 |
Note
   - dynamic sampling used for this statement
SQL> select * from t,iot;
Execution Plan
Plan hash value: 3684863450
| Id  | Operation              | Name              | Rows  | Bytes | Cost (%CPU)
| Time     |
|   0 | SELECT STATEMENT       |                   |     1 |    16 |     4   (0)
| 00:00:01 |
|   1 |  MERGE JOIN CARTESIAN  |                   |     1 |    16 |     4   (0)
| 00:00:01 |
|   2 |   TABLE ACCESS FULL    | T                 |     1 |     3 |     2   (0)
| 00:00:01 |
|   3 |   BUFFER SORT          |                   |     1 |    13 |     2   (0)
| 00:00:01 |
|   4 |    INDEX FAST FULL SCAN| SYS_IOT_TOP_71833 |     1 |    13 |     2   (0)
| 00:00:01 |
Note
   - dynamic sampling used for this statement
SQL>You can see that with a simple table,T , without stats, RBO is coming but with IOT,which is a somewhat new object to RBO, CBO is kicking in.When both combined together, CBO is coming up.
If you would analyze the table, T CBO would come in.
You should check after upgrade those queries with a keen eye who are using RBO hint and are doing some index scans in RBO. They might change the behaviour after theupgrade.
HTH
Aman....

Similar Messages

  • What will CC cost me after the trial period is over?

    What will CC cost me after the trial period is over? All I want to do is download some of the plug-ins since my Flickr plug-in doesn't seem to work.

    Creative Cloud pricing and membership plans | Adobe Creative Cloud

  • My iPhone 5 keeps resetting itself, If I take my device in to apple what will they do and more importantly what will it cost me???

    My iPhone 5 keeps resetting itself, If I take my device in to apple what will they do and more importantly what will it cost me???

    If your iPod Touch, iPhone, or iPad is Broken
    Apple does not fix iDevices. Instead, they exchange yours for a refurbished or new replacement depending upon the age of your device and refurbished inventories. On rare occasions when there are no longer refurbished units for your older model, they may replace it with the next newer model.
    ATTN: Beginning July 2013 Apple Stores are now equipped to do screen repairs/replacements in-house on iPhone 5 and 5C. In some cases while you wait. According to Apple this is the beginning of equipping Apple Stores with the resources needed to do most repairs for iPhones, iPads, and iPod Touches that would not require major replacements. Later in the year the services may be extended as Apple Stores become equipped and staffed with the proper repair expertise. So, if you need a screen repaired or a broken screen replaced or have your stuck Home button fixed, call your local Apple Store to see if they are now doing these in-house.
    You may take your device to an Apple retailer for help or you may call Customer Service and arrange to send your device to Apple:
    Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
    To contact product and tech support: Contacting Apple for support and service - this includes international calling numbers.
    You will find respective repair costs in the appropriate link:
    iPod Service Support and Costs
    iPhone Service Support and Costs
    iPad Service Support and Costs
    There are third-party firms that do repairs on iDevices, and there are places where you can order parts to DIY if you feel up to the task:
    1. iResq or Google for others.
    2. Buy and replace screen yourself: iFixit

  • Spoken work files will not play even after importing/converting?

    I have some audio files recorded on my Android phone with the basic recording app and the files play when I press the spacebar to preview them in Mavericks. However, after importing them into iTunes using various import settings, including the podcast spoken word ones, they just will not play. When I double click on the file it looks like it is about to play, the apple icon at the top switches to what looks like a progress bar, though it is different from other tracks that do play, and then it immediately switches back to the apple icon and does not play.
    Any ideas of anything I can do?
    Thanks.

    I've found an issue with movies when the audio is IMA format. Is that the format of your audio?

  • What will Time machine do after a complete uninstal of OSX?

    If I completly remove OSX from the machine, format the drive, then do a brand new install of OSX, on the new install, if I hook up my Time Machine HDD and run time machine I can re-load specific folders from my old (1st) install?
    Also I used bootcamp to create a second partion that runs windows.  Will that partition remain intacted if I re-install OSX?  Will only the OSX partition be formatted?

    What you want to do is make yourself a "hold the option key" bootable clone.
    1: Get yourself another external powered hard drive.
    Disconnect any other drive, don't want to format them by accident.
    2: Open Disk Utility in your Applications > Utilities folder
    3: Select the new external drive makers name and click Erase > Format HFS+ Journaled (default setting) click Security Option > Zero all Data from the drop down menu that appears. Now wait, it could take a hour or so.
    The "Zero" is a extra step to map off potential bad sectors on the drive before data is laid, I do this to all my new drives once, makes the data more reliable, after that a regular Erase is sufficient unless you want to scrub the drive of any trace of data.
    4: Once finished you'll have a ready HFS+Journaled external hard drive to clone to.
    5: Download the free to use (donations accepted) Carbon Copy Cloner here:
    http://www.bombich.com/
    6: The default setting to clone one drive to another should be fine for cloning to a blank drive the first time (it takes awhile), it's just later on that CCC offers a high amount of customized backup features when you update the clone. You will need to learn to understand what will happen when you update your clone. (files that changed will be archived on the same drive for instance) For now you can just leave things be and clone A to B.
    7: Once that's finished, open Disk Utility and Repair Permissions on both drives, there will be a long list of things fixed and if you do it again the same list, it's ok to ignore it.
    https://support.apple.com/kb/ts1448
    8: Now you can experiment and hold the option key and boot from the external drive. You will notice you can access the files on your internal drive.
    Check out your clone and make sure your happy because later on when you erase your internal drive from Disk Utility (either option booted from the clone or hold c booted off the OS X installer disk) it's going to contain your old system in it's entirety.
    9: Now hold c and boot off the OS X installer disk and use Disk Utility to erase your OS X partition and reinstall OS X like you want. When you go through setup use the same hard drive name and user name as before (different password) this way when you reboot and drag & drop copy the contents of your user folders from the old clone into the user folders of your new boot configuration your iTunes playlists and other "references" (pathnames) to your files remains intact
    You can cherry pick user files from the clone this way, cleaning house essentially, with only what you want on the new internal boot drive configuration. But before you do that, make sure you Software Update fully and install your program from fresh sources to make sure they are pristine. Doing Software Update and installing programs first before returning files optimizes OS and programs so they are placed on the faster part of the drive near the front.
    10: Once your up on your new drive good, clone that to yet another hard drive, using the same methods above and you'll have a bootable backup.
    Note: TimeMachine + Migration or Setup Assistant for restoring is indiscriminate, it just copies. And TimeMachine drives are not bootable.

  • What will happen for games after restoring?

    Hello,
    As my iphone has problem with push notification and it sends them even after reading the message, I want to restore my phone.  I have backup on iTuens but not sure if I restore to them it solves my problem, because created the backup last night, when there was this problem.
    Also I am not sure what will happen on some games like NFS or Temple Run? How can I have the corrent score on the restored game?
    Thanks,

    Hard to say, but if your problem is being caused by corrupt data on your phone, restoring from backup will merely restore the problem. What you could do is first try restoring from backup. If your issue is fixed, you're good to go. If not, then you'll have to restore as new.

  • What will happen to BWA after BWon HANA migration?

    Dear All,
    I was wondering if at all we migrate to BW on HANA then what will happen to existing BWA? Will BWA of no use going forward?
    Regards,
    Sohil Shah.

    'tis Shin wrote:
    Hi All,
    I've never used migration assist before. so im hoping to get some answers to a few question before i migrate over to an iMac from a macbook.
    I'm wondering what will happen to my old mac after i move over to the new imac. i want to keep using my old macbook when im not home.
    i understand that i can migrate, users, settings, files and/or apps across to the new mac.
    So,
    1. what happens to user account on the old mac after MA? will it deactivate?
    no. MA makes absolutely no changes to the computer you are migrating from.
    (im thinking this b'cos its called a ' "migration" assistant' meaning im permanently moving from one to another)
    2. what will happen to all my music in itunes? will i loose them in the old mac?
    no. as i said, the old computer will not be affected in any way.
    3. i have many paid apps. Am i allowed to move it over to another mac?
    that depends on the license for a particular app.
    and does it deactivate/delete the apps in the old mac? what happens if i get 2 copies of apps? (am guessing one copy will stop working, if thats true how you choose?)
    no, both copies will work.
    Any help will be greatly appreciated. the support document dont really explain much about the what happens to the old mac.
    Your tips and suggestion are welcome.
    thanks in advance. cheers~!

  • Adobe Audition 5.5 will not play file after importing

    I am new with this software, so bare with me please.
    First, I am workign with a Macbook Pro, MacOSx, 2.2 Ghz Intel Cose i7 with 4 GB 1333 Mhz DDR3. 
    The version of Audition is version 4 build 1815.
    For the first two weeks, everything was fine.  I would import an MP3 file and then could listen to the file by pressing the spacebar or the small play icon. 
    Last night I imported a file and when I press the spacce bar, nothing happens.  Same for when I press the play icon.   The small triangle on the play button will change color but that is it.
    I figured, what the heck, I must have screwed something up.  So, I uninstalled and reinstalled. 
    Same results.
    I went back and tried some recent project which were working fine a few days ago and they do the same thing.
    So, help me out.  Any sugggestions?
    Rick Johnson

    I don't know anything about Macs, but if you hit play in Audition (regardless of which version) and the transport doesn't move, then it's disconnected from your sound device.

  • What will Time machine do after complted uninstal of OSX?

    If I completly remove OSX from the machine, format the drive, then do a brand new install of OSX, on the new install, if I hook up my time capsule and run time machine I can re-load specific folders from my old (1st) install?
    Also I used bootcamp to create a second partion that runs windows.  Will that partition remain intacted if I re-install OSX?  Will only the OSX partition be formatted?

    I moved this question over to the Apple Support Communities > Mac OS & System Software > Mac OS X v10.6 Snow Leopard  Forum.

  • What will I be charged after the special-offer 12-month membership at $9.99/mo

    Will the cost jump to $14.99/mo?

    i don't know how long that offer will last but it's been available for months.
    in any case, you can use most (including lr and ps) for 30 days free.  so you don't need to waste time waiting for 5am in your locale.

  • What will be next update after belle fp2

    i have updated my 603 to belle fp2. Only one word AWESOME. my phone is faster than before. Camera ui is superb. This is the only decent symbian update since s60v3 FPs . I would love an another update. Please don't leave symbian alone. Or atleast make it open source so we could develop it.

    nokia belle fp2 phones are not going to get any another major update
    only bug fixes
    but hope nokia could release a stable update which could solve gallery issues

  • Deployment hangs after importing metadata OWB 10gR2

    Hi folks,
    in development I created a new mapping with I exported/imported into test enviroment.
    I did this using "import all objects, update metadata, match by UID".
    When I try to deploy the imported mapping ControlCenter hangs showing the green arrow.
    In the DOS box where I started the client it says:
    </OBJECT>
    </OBJECT>
    </OBJECT>
    </NAMESPACE>
    RUNTIME_SERVICES_DEBUG [WhValidationGenerationTransaction] DeploymentUtils.isAda
    pterFCO(WBGeneratedObject): Not found objectTypeName CMPMap defaulting to FCO
    RUNTIME_SERVICES_DEBUG [WhValidationGenerationTransaction] DeploymentSpecificati
    onImpl.addToUnitSpecificationImplArrayList: created UnitSpecification for Deploy
    mentAdapterName DDLDeployment StoreUOID= 9B7415EC7AB94F54824DF5F57D502828 Action
    = 1 FCO list= M_FUNDSTRUCT_DWH,
    Runtime Parameters for : M_FUNDSTRUCT_DWH
    SYSTEM: DEFAULT_OPERATING_MODE: SET_BASED_FAIL_OVER_TO_ROW_BASED
    SYSTEM: DEFAULT_AUDIT_LEVEL: ERROR_DETAILS
    SYSTEM: MAXIMUM_NUMBER_OF_ERRORS: 50
    SYSTEM: COMMIT_FREQUENCY: 1000
    SYSTEM: BULK_SIZE: 1000
    SYSTEM: DEFAULT_PURGE_GROUP: WB
    SYSTEM: ANALYZE_TABLE_SAMPLE_PERCENTAGE: 5
    RUNTIME_SERVICES_DEBUG [WhValidationGenerationTransaction] ExecutionUtils.decode
    SystemParameter: Unexpected parameter ANALYZE_TABLE_SAMPLE_PERCENTAGE
    Notification (Unit): start VEVA_LOCATION (Erstellen) - 0 (Adapter=DDLDeployment
    Location=VEVA_LOCATION)
    MEM:GenerationValidationService:internalCompile:after transaction:U: 65237816%IN
    CR:2538296:INCREASE
    What is the problem?
    Michael

    The error is due to the corrupted MDL file. MDL is getting corrupted because there is not enough memory for java VM. To fix the MDL corruption increase memory parameters.
    1. On client PC: XXXX\owb\bin\win32\owbclient.bat change
    java -Xms64M -Xmx768M -Dlimit=768M -XX:MaxPermSize=256M
    to
    java -Xms64M -Xmx1024M -Dlimit=1024M -XX:MaxPermSize=512M
    Restart client session.
    It did fix the problem in my case.
    Oracle also recommends changing memory parameters on the server side (UNIX in my case)
    2.On server side XXXX/owb/bin/unix/run_service.sh
    $JAVAPATH/bin/java -Xmx768M
    to
    $JAVAPATH/bin/java -Xmx1024M

  • HT204053 what will happen to my Apple ID more than 5 Times?

    I have formatted my PC and installed windows 4 times since I used the iTunes and my apple ID. every time I install a new windows,iTunes says ...1of 5 times .. ,4 of 5 times. recently I Installed windows 8 and I have the last time for my Apple ID register in my PC. what will happen to it after that?
    especailly when I want to buy a mac book.. can I use my Apple ID then in the iTunes????please help me.

    Individual computers (and when you format a computer then it effectively becomes a 'new' computer) can only be deauthorised directly on them, but if you have 2 or more computers authorised then you can log into your account on your computer's iTunes (Store > View My Account) and 'deauthorise all' (which you can do once every 12 months) and you can then authorise/reauthorise the computers that you still have and need : authorising and deauthorising.

  • HT201302 What if after importing my videos, they are now sideways when I view them on my computer? Anyway to fix that?

    What if after importing my videos, they are now sideways when I view them on my computer? Anyway to fix that?

    What video player are you using? The video will likely playback normally in QuickTime.
    You might be able to rotate video using other players, like Windows Media Player OR VLC, playback controls .
    There is a big thread discussing this here, it has lots of good info -> iPhone 4 HD video recordings play upside when imported to my computer

  • After serialize a object what will be the value of reference and primitive

    After serialize a particular object what will the value its object references and primitives ???
    please go through the following scenario
    import java.io.*;
    class Dog implements Serializable{
         String dogString = "haiHai";
         int dogSize = 555;
         public String toString(){
              return "This is Object Man";
    class MyTestSerial
         Dog d = new Dog();
         MyTestSerial(){
                   try{
                        System.out.println("Before Serialization Dog object is : " +d);
                        System.out.println("Before Serialization d.dogSize : " +d.dogSize);
                        FileOutputStream fis = new FileOutputStream("MyTest.ser");
                        ObjectOutputStream obs = new ObjectOutputStream(fis);
                        obs.writeObject(d);
    obs.writeInt(d.dogSize);
    obs.writeObject(d.dogString);
                        System.out.println("After Serialization Dog object is : " +d);
                        System.out.println("Before Serialization d.dogSize : " +d.dogSize);
                   }catch(Exception e){
                   System.out.println(e);
         public static void main(String[] args) { MyTestSerial t = new MyTestSerial();     }
    In the above MyTestSerial class am serializing Dog object. After executing this obs.writeObject(d); the dog object will serialize without any problem.
    Now, once i try to print the dog object and dogString it should print the null value right ??
    and its primitive dogSize in the Dog class also print the value zero right??
    But am not getting those results. What mistake am doing here???
    Generally What will happen when we serialize a object or primitive value. After this what is the value of these types??
    Can any one a give the solution???
    Regards
    Dhinesh Kumar R

    Serializing merely copies the object data to the stream, the content is unaffected.

Maybe you are looking for