Setting RBO in oracle 10g

Hello All,
my PROD is currently running in 9i hp ux. we are planning for upgrade to 10.2.0.4.
most of my application uses RBO in my 9i database. when it migrates to 10g Developers and customer dont want to use default CBO as they will have to make lot of changes in the code.
Can we retain the RBO in 10g database?
also how can we disable auto statistics gathering.
Thank you,
Anil

9i and beyond has optimizer_dynamic_sampling.
If you stop the job, it means Oracle will have to generate the statistics for every statement.
YMMV.
Your (or your customers) current strategy is to replace a T-Ford by a Ferrari, and to stick with the T-Ford engine (and the color of course which is black)
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Using RBO in Oracle 10g

    I have a test database 10g R2. I set the optimizer_mode=RULE.
    SQL QUERY
    Select Round(-1*Nvl(Sum(Alloc_Units),0),4) Open_Units, Sum(T.Cash_Amt) Open_Cash_Amt, Max(O.Applied_Date) Open_Applied_Date From Policy P , Operations O, Tx_Mboxs T Where P.Scheme_Id = :P_Scheme_Id And O.Status Is Null And Trunc(O.Applied_Date+0) < Greatest(:P_Date_From,:CF_Join_Date) And O.Op_Id = T.Op_Id And T.Policy_No = P.Policy_No And T.Person_Id = :Person_Id
    Initial Explain Plan
    PLAN_TABLE_OUTPUT
    | Id | Operation | Name |
    | 0 | SELECT STATEMENT | |
    | 1 | SORT AGGREGATE | |
    | 2 | NESTED LOOPS | |
    | 3 | NESTED LOOPS | |
    | 4 | TABLE ACCESS FULL | TX_MBOXS |
    | 5 | TABLE ACCESS BY INDEX ROWID| OPERATIONS |
    | 6 | INDEX UNIQUE SCAN | OPERATIONS_IDX0 |
    | 7 | TABLE ACCESS BY INDEX ROWID | POLICY |
    | 8 | INDEX UNIQUE SCAN | POLICY_IDX0 |
    Note
    - rule based optimizer used (consider using cbo)
    Here I use the index POLICY_IDX0 that has already been defined.
    Explain plan after using Index Hints
    PLAN_TABLE_OUTPUT
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
    | 0 | SELECT STATEMENT | | 1 | 49 | 8321 (9)|
    | 1 | SORT AGGREGATE | | 1 | 49 | |
    | 2 | NESTED LOOPS | | 1 | 49 | 8321 (9)|
    | 3 | HASH JOIN | | 1 | 33 | 8319 (9)|
    | 4 | TABLE ACCESS BY INDEX ROWID| POLICY | 1 | 7 | 2 (0)|
    | 5 | INDEX RANGE SCAN | POLICY_IDX13 | 1 | | 1 (0)|
    | 6 | TABLE ACCESS FULL | TX_MBOXS | 3736 | 97136 | 8316 (9)|
    | 7 | TABLE ACCESS BY INDEX ROWID | OPERATIONS | 1 | 16 | 2 (0)|
    | 8 | INDEX UNIQUE SCAN | OPERATIONS_IDX0 | 1 | | 1 (0)|
    It does not use the index, instead uses POLICY_IDX13 index.
    The order has been changed from least to highest. As can be seen from below,
    select num_rows from all_tables
    2 where table_name ='POLICY';
    NUM_ROWS
    84196
    select num_rows from all_indexes
    2 where index_name ='POLICY_IDX13';
    NUM_ROWS
    1675
    select num_rows from all_tables
    2 where table_name ='TX_MBOXS';
    NUM_ROWS
    5014620
    select num_rows from all_tables
    2 where table_name = 'OPERATIONS';
    NUM_ROWS
    6091380
    select num_rows from all_indexes
    2 where index_name ='OPERATIONS_IDX0';
    NUM_ROWS
    5941450
    What can be the reason that it is not using the index POLICY_IDX0? Maybe because Oracle desupports RBO in 10g. Can this be the reason?
    Adith

    I think RBO is obsolete in 10g, that's why you're not getting the result you are expecting to see.
    Tony

  • Problem with Oracle 10g RAC VIP network setting at Solaris 9

    Dear All,
    I have tried to set up a Oracle 10g RAC Release 2.
    With OS solaris 9, and 2 nodes.
    The nodes setting as the following:
    nodes 1:
    Public address: 172.16.0.121
    Private address: 192.168.0.121, 192.168.1.121 (dual path for heart beat)
    nodes 2:
    Public address: 172.16.0.122
    Private address: 192.168.0.122, 192.168.1.122
    And i have assigned two IP adress 172.16.0.131, 172.16.0.132 as the VIP address for the
    RAC.
    And the following is the /etc/hosts file:
    root@shk01 # cat /etc/hosts
    # Internet host table
    127.0.0.1 localhost
    # public address
    172.16.0.121 shk01 loghost
    172.16.0.122 shk02
    # heart beat
    192.168.0.121 shk01-priv1
    192.168.1.121 shk01-priv2
    192.168.0.122 shk02-priv1
    192.168.1.122 shk02-priv2
    # VIP address
    172.16.1.131 vip-shk01
    172.16.1.132 vip-shk02
    But when i run the command "$ ./runcluvfy.sh comp nodecon -n shk01,shk02 -verbose"
    it shows the error:
    ERROR:
    Could not find a suitable set of interfaces for VIPs.
    Result: Node connectivity check failed.
    I did try to add the VIP address on bge0:1, as i using bge0 for the public address.
    Both nodes i did using the same interface name for it.
    Anyone have idea for me to check out the error?
    Also, I have other question about the raw device.
    As there is option for setting for ASM or raw device. If choosing raw device, does it mean that it just need to
    format the storage disk but without newfs it? And then the Oracle program will able to handle it?
    Thanks,
    Xentar

    You don't seem to state categorically that you are using Solaris Cluster, so I'll assume it since this is mainly a forum about Solaris Cluster (and IMHO, Solaris Cluster with Clusterware is better than Clusterware on its own).
    Clusterware has to see the same device names from all cluster nodes. This is why Solaris Cluster (SC) is a positive benefit over Clusterware because SC provides an automatically managed, consistent name space. Clusterware on its own forces you to manage either the symbolic links (or worse mknods) to create a consistent namespace!
    So, given the SC consistent namespace you simple add the raw devices into the ASM configuration, i.e. /dev/did/rdsk/dXsY. If you are using Solaris Volume Manager, you would use /dev/md/<setname>/rdsk/dXXX and if you were using CVM/VxVM you would use /dev/vx/rdsk/<dg_name>/<dev_name>.
    Of course, if you genuinely are using Clusterware on its own, then you have somewhat of a management issue! ... time to think about installing SC?
    Tim
    ---

  • Which OracleAS 10g patch set I am using?

    HI,
    I want to upgrade the EBS r12 (12.0.6) with RDBMS 11g.
    I am following the Doc ID: 752619.1. (Upgrade OracleAS 10g Release 3 (10.1.3) to Patchset 4 (10.1.3.4) (Required))
    How I can check Which Patch Set level of OracleAS 10g I am using????
    thx

    How I can check Which Patch Set level of OracleAS 10g I am using????Hi,
    Please refer the note:468311.1- Script to find Apache, Java, JRE, Forms version for Oracle E-Business Suite R12.
    Also you can check the current patchset version by check the installed components while running the ./runinstaller
    -Rk

  • Oracle 10g RAC on 2 VMware Windows 2003 images corrupts image

    It happened twice on each of the 2 VMware workstation 5 on which I am trying to set up an Oracle 10g R2 RAC. After installing CRS and rebooting machine I lost access to the Network Connections and the Disk Management. Basically I have to create a new image. Before I start a third time I would appreciate advice or feedback from other users.
    Also Configuration Assistants failed to install.
    Thanks

    Check out my articles at http://dbasupport.com on 10g R2 RAC Clusterware setup. I was able to do that on my vmware BUT I hope to have the very irritating ASM scenario done before my 4th Article.
    Check it out.

  • How to set event trace in 10g

    Hi,
    How to set event in oracle 10g, its 11i apps.
    Support says that we have to set
    To help confirm the analysis if related to\bug can you put in an errorstack forever
    on 1426 and 6502.
    eg: event="1426 trace name errorstack forever, level 3"
    event="6502 trace name errorstack forever, level 3"
    Also immediately after the error see if you can run below statement:"
    Do i need set this event parameters in init.SID.ora, Please let me know

    Danny,
    It depends on the level of trace you want to enable. Also, please note you can set the same at the session level, so it depends on what issue you have. If this is a database generic issue, then set it in the init.ora file and bounce the database. If it is a client/session issue, set it at the session level -- See Note: 218105.1
    Since the support suggested something specific, then just follow their suggestion.
    Regards,
    Hussein

  • Character set error oracle 10g

    I have a 10g TARGET database with a single byte character set of western european and 9i SOURCE databse with multibyte character of UTF8 since the character sets are different to load data from 9i to 10g I am using national character set NCHAR columns on target database to store the multi byte data :
    this is the table i am working on loading
    CREATE TABLE RAN_TEST1_MDL
    ( MODEL_ID NUMBER(15) NOT NULL,
    PRODUCT_ID NUMBER(15) NULL,
    MODEL_CODE NVARCHAR2(540) NULL,
    ODM_CODE NVARCHAR2(900) NULL,
    MODEL_DESC NVARCHAR2(1200) NULL )
    tablespace csn_d_01 LOGGING NOCOMPRESS NOCACHE NOPARALLEL MONITORING
    The table is test table on oracle 10g database .
    This is the query I am running
    INSERT /*+append*/ INTO WORK_HIER_MDL(
    MODEL_ID,
    PRODUCT_ID,
    MODEL_CODE,
    ODM_CODE,
    MODEL_DESC
    SELECT
    MODEL_ID,
    PRODUCT_ID,
    MODEL_CODE,
    ODM_CODE,
    MODEL_DESC
    FROM SHLD_HIER_MDL
    shld_hier_mdl is source table from oracle 9i multi byte UTF8 database.
    WORK_HIER_MDL is target table on oracle 10g single byte western european databse
    Error : ORA-29275: partial multibyte character
    When I describe the source table SHLD_HIER_MDL ( on 9i oracle accesed thru a db link ) I get the following error
    ORA-01460: unimplemented or unreasonable conversion requested
    I think ORA-29275 and ORA-01460 are correleted . Can anyone suggest what could be the cause for this ? Thanks

    Error:     ORA-29275 (ORA-29275)
    Text:     partial multibyte character
    Cause:     The requested read operation could not complete because a partial
         multibyte character was found at the end of the input.
    Action:     Ensure that the complete multibyte character is sent from the
         remote server and retry the operation. Or read the partial
         multibyte character as RAW.
    you can export the table and import on 10g.Rename the table,create your test table and use IAS.

  • Install oracle 10g on solaris 9 platform without setting noexec_user_stack

    Hi,
    I'd like install oracle 10g software on solaris 2.9 platform without setting noexec_user_stack parameter to 1.
    The problem is that i need install software before, for migrating product environment.
    I can write /etc/system file but i can't reboot system until several days.
    I will not start migration process until i reboot the system and parameter definitely set.
    Do you know if we will can have any kind of problem???
    Thanks in advance.

    Thanks for your answer FZheng. But i will just install software. I will not start any oracle 10g process until i reboot the machine.
    I think that oracle software installacion should not be affected. Do you know if this parameter affect to compile softwere during OUI wizard progress???.
    Before going on migration process and start database i will sure that this parameter is correctly fixed.
    PD.: I couldn't read metalink reference that you've suggested becouse my metalink account have problem access in this momment. During all day i've been reeding metalinks docs without any problem until this momment, bad luck.
    In test environment i've installed oracle without this parameter and i've never had any problem. But this installation is more important than others becouse i ask you in this specialist forum.
    Thanks again !!!

  • Oracle 10g 2 - 10.2.0.2 Patch seti without instance

    Hi,
    I'm installing Oracle 10g 2 - 10.2.0.2.
    I installed base release 10g 2 and then i have installed the patch set 10.2.0.2 (Linux x86).
    It's a new installation, so there isn't an instance.
    When i use dbca to create the DB i receive the error
    ORA-01092: ORACLE instance terminated. Disconnection forced.
    So i think i should execute catupgrd.sql like described in readme of patch, but if there ins't an instance, how could i connect to the db as sysdba?
    Thanks!

    If you don't currently have any database, then you don't need to run the catupgrade script, this is meant only for databases so the data dictionary is upgraded on an individual basis. Just ensure you have properly applied the patchset against the right Oracle Home and ensure your environment variables are properly set.
    ~ Madrid

  • Oracle 10G support for both Cyrillic and Western European Character Sets

    Dear all,
    Our DB currently supports western EU characters sets but we need to also support Russian Characters.
    Is there a common character set for both? or some trick that does the job?
    Thanks.
    DB: Oracle 10G R2
    OS: Linux
    Current Char Set:
    NLS_CHARACTERSET     WE8ISO8859P1
    NLS_CALENDAR     GREGORIAN
    NLS_NCHAR_CHARACTERSET     AL16UTF16

    AL32UTF8 will always do the job.
    CL8ISO8859P5
    CL8MSWIN1251
    could to the job according to http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/applocaledata.htm#sthref1960.
    Edited by: P. Forstmann on 9 août 2011 17:41

  • Required setting for Locale values for Arabic db in oracle 10g

    I want to create a new db in Oracle 10g for storing the arabic data.
    My client machine is Arabic Windows XP.
    What are the steps that i will need to follow to make the db arabic supported.
    What streps will be required if i choose to make it unicode supported?
    Setting the following:-
    1. Set Database Character Set to AL32UTF8 for the Oracle Server.
    2. Set the NLS_LANG to ARABIC_LIBYA.UTF8 (on Arabic Windows xp)
    Will do the work?

    The database character set should be AL32UTF8 for Unicode support. This is a recommended setting.
    As far as NLS_LANG is concerned, this strongly depends on how your client application is written (what technology, which Oracle access API). For example, for SQL*Plus, the NLS_LANG must be set to AR8MSWIN1256, as SQL*Plus does not support Unicode on Windows, only the ANSI code page. For SQL Developer, the NLS_LANG does not matter at all.
    -- Sergiusz

  • In Oracle 10g global support system,I set parameter of NLS_DATE_FORMAT.(98)

    In Oracle 10g global support system,I have set parameter of NLS_DATE_FORMAT.I am wondering about that whether it could affect the default value of NLS_TIMESTAMP_FORMAT?
    Message was edited by:
    frank.qian

    test@ORCL> select sysdate from dual;
    SYSDATE
    24-NOV-06
    Elapsed: 00:00:00.00
    test@ORCL> DECLARE
      2     checkout TIMESTAMP(3);
      3  BEGIN
      4     checkout := '22-JUN-2004 07:48:53.275';
      5     DBMS_OUTPUT.PUT_LINE( TO_CHAR(checkout));
      6  END;
      7  /
    22-JUN-04 07.48.53.275 AM
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    test@ORCL> alter session set nls_date_format="MM/DD/YYYY";
    Session altered.
    Elapsed: 00:00:00.00
    test@ORCL> select sysdate from dual;
    SYSDATE
    11/24/2006
    Elapsed: 00:00:00.00
    test@ORCL> DECLARE
      2     checkout TIMESTAMP(3);
      3  BEGIN
      4     checkout := '22-JUN-2004 07:48:53.275';
      5     DBMS_OUTPUT.PUT_LINE( TO_CHAR(checkout));
      6  END;
      7  /
    22-JUN-04 07.48.53.275 AM
    PL/SQL procedure successfully completed.
    test@ORCL> alter session set NLS_TIMESTAMP_FORMAT = 'DD/MM/YYYY HH:MI:SS.FF';
    Session altered.
    Elapsed: 00:00:00.00
    test@ORCL> DECLARE
      2     checkout TIMESTAMP(3);
      3  BEGIN
      4     checkout := '22-JUN-2004 07:48:53.275';
      5     DBMS_OUTPUT.PUT_LINE( TO_CHAR(checkout));
      6  END;
      7  /
    22/06/2004 07:48:53.275
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    test@ORCL>
    test@ORCL>

  • Oracle 10g release 2 patch set 3

    Oracle 10g release 2 patch set 3 is for 10.2.0.4. Can this patch be applied to Oracle enterprise 10.2.0.3? Thanks.

    Oracle 10g release 2 patch set 3 is for 10.2.0.4. Can
    this patch be applied to Oracle enterprise 10.2.0.3?
    Thanks.Always read the README to verify.
    In general a patchset can be applied to the base and any lower patchset.
    So 10.2.0.4 should, unless warned otherwise for your specific configuration, be applicable to any of 10.2.0.1, 10.2.0.2 and 10.2.0.3

  • PCTFREE setting for index in Oracle 10g R2

    Is PCTFREE parameter obsolete in oracle 10g R2? I don't see any reference to this paramerer in oracle documentation:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231.pdf
    But 10g R 1 does mention about this setting.
    http://support.cs.nott.ac.uk/help/docs/databases/oracle/standard/server.101/b10739.pdf
    We are still using Dictionary Managed tablespaces on 10.2.0.3. Can we ignore this parameter on 10g R2 ?
    Thank You

    PCTFREE is still relevent even in ASSM. (that you are using DMT means that you are not using ASSM, but LMT could be MSSM !)
    I couldn't find PCTFREE in the Administrator's Guide but it is still very much present in the SQL Reference
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/clauses007.htm#g1058547
    and a couple of references in the Performance Tuning Guide.

  • Setting of ICONS in Oracle 10G Application Server

    Hi...
    I'm facing a problem of Icons which are not displayed at run time.
    I'm using Oracle 10G Application Server.
    plz tell what setting should i do.
    its urgent.
    Thanks & Regards
    Sanjeev Kumar

    1 did u put the icon file in the forms folder in IAS?
    2 Are you able to access the icon if u directly enter the icon value ?
    http://www.Alexyscorp.com/myicon.gif
    if its not port 80 enter the port
    3 In the httpd.conf file whats the root directory ? Try putting the icon there
    Best Regards
    Rajesh Alex
    Message was edited by: Rajesh Alex
    Alex(AlexysCorp)

Maybe you are looking for

  • Less destructive fix for the "original file could not be found" issue

    +(Note: this is mostly a copy of the post I just submitted in reply to http://discussions.apple.com/message.jspa?messageID=6785594#6785594)+ Most solutions to the "The song xxx could not be used because the original file could not be found. Would you

  • How To Insert Video

    Hi I have created a video to put on my websites home page. However, when I try to insert it using Dreamweaver it doesn't play. In dreamweaver which is the best option to insert a video?:- Insert flash, flash video - progressive download video or stre

  • User X  must not be deleted ? :-(

    Hi Guys, When I try to delete a user I receive the message: "User <login> must not be deleted" Somebody knows why ? or .. should I block the user only ?  or force a deletion ? Thanks for your advice guys ! REgards, Diego

  • Process order variance

    Dear experts, Here is process order scenario In that i am doing variance calculation for one order but it is giving message that "no order could be processed " Plz guide me what could be reason thanks in advance regards sachin ghogale

  • My ipad is not responding, i accdentaily touch delete all contents and setting

    my ipad is not responding , i accdentaily touch delete all contents and setting ,and now it shows a blanck sreen, with the itune icone and uv cord