Upgrading Rulebased applications to 10g database.

Hi
It may sound silly for you. I just wanted to know what happens upgrading my pl/sql code which is on Oracle 8i versions using Rule based optimizer to 10g database without channging it to CBO. What would be the worst thing it can happen, assuming that all fuctional features are supported in 10g that were in the code? Application doesn't work at all? Will perform very slow, in case how much slow?
Can someone give quatifiable value?
That would great.

Since the CBO is different in every release of Oracle, you're probably best off upgrading the database to 10g, gathering appropriate statistics on all the objects, and then testing to see which, if any, queries now take too long to run. Most of the time, you'll be able to fix those problems by adjusting the statistics that you gather. Otherwise, you may have to rewrite the query.
Justin

Similar Messages

  • Repository upgrade from 8i to 10g database

    We are currently upgrading from the 9i developer suite to the 10g developer suite. The repository for the designer tool resides on an 8i database and I want to migrate to a 10g database. Does anyone have any suggestions on how to best do this?

    Bruce,
    You could take a Complete Export of the repository on the 8i Database and then import it back into an new Repository user on the 10g Database using the RAU.
    Please take care that proper Import/Export utilities are used to perform this action.
    Regards,
    Ritu

  • Content Server 7.5.2 upgrade to use Oracle 10g database from MS SQL

    Customer is currently on Content Sever 7.5.2 (Unicode) running with a Microsoft SQL Database. They want to
    change to an Oracle database. During a new installation we would specify
    Content Server with the Unicode Option and select the oracle database option.
    We are now post installation (18 months) and the want to switch over to use an
    Oracle database.
    Can someone please provide instructions for doing this from MS SQL to
    Oracle 10gR2 (patched up to 10.2.0.4) with the Unicode option (nvarchar2
    (Unicode) vs varchar2 (non-Unicode)).
    I have submitted an SR (7517840.994) for this and they indicated I need to post a message.
    Thank you
    Steve Brault

    Hi Steve,
    I am just summarizing the requirement you are having . Correct me if I am wrong
    You have a CS 7.5.2 running on MS-SQL. You want to migrate to CS 10gR3 running on a Oracle DB ? Or is it that you want to migrate only to a new database which is oracle DB?
    For the first case what you need to do is to export all your contents through the archiver for CS 752 and all your configurations and metadata through Config Migration Utility. Then install a new CS instance running on oracle Db and import the Config Migration Bundle and then all the contents through the archiver.
    For the second case you will have to take a backup of the data on the DB and also the DDL's of the Tables that are created apart from the normal content installation. Then you will have to run these DDL's on the Oracle DB (after changing the syntax) and make sure that on both DB instances all the table structures are identical.
    Then you will have to load the data exported from MS-sql to Oracle DB. The export ca be done to a excel so that the same can be loaded on the oracle DB.
    Before this you will have make the changes in the config.cfg for the CS and that is as follows :
    #Database Variables
    JdbcDriver=oracle.jdbc.OracleDriver
    JdbcConnectionString=jdbc:oracle:thin:@ecmtest.idc.oracle.com:1521:orcl
    JdbcUser=testsr2
    JdbcPassword=NsFKKQ0iRkKzvq+iDoXSDDqY2y1EgQhmRr7J3mDyvQQ=
    JdbcPasswordEncoding=Intradoc
    DatabasePreserveCase=1
    Your config.cfg should have entries like this for Oracle DB. You will have to change the JdbcDriver,JdbcConnectionString,JdbcUser,JdbcPassword,JdbcPasswordEncoding
    JdbcPasswordEncoding need to be changed to ClearText first so that you can put the password in normal language.
    Hope this helps
    Thanks
    Srinath

  • Upgrading APPS R11 middleware and database

    Hi everybody!
    I have installed the apps R11 ver11.5.10.2(English & Albanian), DB 10g patchset 3 in Oracle Enterprise Linux 5 U2.
    Now i wont to upgrade as much as possible the database tier and middleware tier, without going to R12.
    Is there some documentation for the upgrade process of database and the application server?
    At what version of application server can i upgrade without going to R12?
    Thanks in advance, Soni.

    Hi Soni,
    i checked my prod environment and saw that my application server is 1.0.2.2.2 Rollup 5.
    According to metalink Doc ID: 254618.1 Oracle HTTP Server Patches Certified to be used with E-Business Suite 11i , does it mean that this is the most latest version i can upgrade to(my existing one)?You are running on the latest Rollup patch, so no additional patches are required.
    In other words, if i want to upgrade to Application server 10g, it would be impossible?
    I want to upgrade to 10.1.2.X for Web Server & J2EE application or 10.1.3.X(always if possible) , because i want to deploy some custom applications developed in JDeveloper where i use ADF BC.
    Is it possible without upgrading to R12?OracleAS 10g is not certified with Oracle Apps 11i, and you cannot replace Oracle Applications 1.0.2.2.2 with OracleAS 10g.
    If you want to use OracleAS 10g as an application server with Oracle E-Business Suite, you need to upgrade to R12.
    Note: 186981.1 - Oracle Application Server with Oracle E-Business Suite Release 11i FAQ
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=186981.1
    Regards,
    Hussein

  • Difference btween oracle 10G database & oracle 11G database

    Hi
    i have a web application have 10G database engine, now i will upload it on a host server witch supports oracle 11G database.
    can i export Dump file from my Oracle10g database and import it into oracle 11G database successful.
    what can i do?
    please suggest me
    thank you

    Hi,
    Difference btween oracle 10G database & oracle 11G database Here is a complete list:
    http://www.dba-oracle.com/oracle11g/oracle_11g_new_features.htm
    can i export Dump file from my Oracle10g database and import it into oracle 11G database successful.Yes. Oracle supports backward compatibility . . .
    You mght not, however do it the other way . . .
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference"
    http://www.rampant-books.com/t_oracle_tuning_book.htm
    "Time flies like an arrow; Fruit flies like a banana".

  • Oracle Application Server 10g Release 3 (10.1.3) to 10.1.3.5.0

    Hello,
    I'm trying upgrade Oracle Application Server 10g Release 3 (10.1.3) to 10.1.3.5.0. Let me give a background first:
    I tried to install Oracle AS 10.1.3 but it ran into error because windows firewall was blocking javaw.exe opmn.exe. I had cancelled the installation. So ORACLE_AS1 failed initiatlly. After i identified the issue i installed ORACLE_AS2. This went through successfully without issues. I'm able to login to BPEL Console. But only after executing opmnctl startall in DOS Prompt. I have installed Windows 7.
    Now when I try to upgrade to 10.1.3.5.0 the installer automatically selects destination location ORACLEAS1. I change it ORACLEAS2 where (10.1.3) is installed. After clicking on a next i get and issue as shown in the below link:
    [http://www.mypicx.com/09172010/issue/]
    Can anyone please help me resolve this issue?

    Hi,
    When i am trying to install OAS 10g R3 on windows7. I am getting the error as:- Not supported OS press enter to exit the setup.
    Please help me is there any other way to install.
    Thanks in advance.

  • P6.2.1 upgrade to P6.7.0 database version miss match

    Hello,
    I was using Primavera 6.21 and i made an upgrade to Primavera 6.7.0
    When i run my PMDB data base the following message pops:
    The application and database versions do not match. Click Exit to close the application.
    Primavera P6 7.0.0
    Expected database version: PMDB,0700.0001.0001
    Current database version: PMDB,0602.0005.0001
    I am using SQL Server 2005
    Can you help
    Thank you

    That means that your database was not upgraded. You need to upgrade the application and the database.
    Run dbsetup.bat (in your media folder) to upgrade your database.

  • Upgrade Oracle 10g database 10.2.0.1 to 10.2.0.2

    I have downloaded the trial version of 10g application server and 10g oracle database from Oracle site. But when I tried installed the 10g application server which needs to connect to the 10g database, I got the following error.
    Database version should be 9.2.0.7 or higher in the oracle9i database release 2 series, 10.1.0.5 or higher in the oracle database 10g release 1 series, oracle database XE (10.2.0.1), 10.2.0.2 or higher in the oracle database 10g release 2 series.
    How do I upgrade to 10.2.0.2 from 10.2.0.1?
    Thanks.

    Download patch set from metalink and extract patch into some directory.
    Then from that directory run "Opatch install". ( You need to shutdown all database and other service while upgrading code tree)
    Cheer,
    Virag Sharma
    http://virag.sharma.googlepages.com/
    http://viragsharma.blogspot.com/

  • Upgrade Oracle Applications database 10.2.0.4  running on 32bit RHEL3u9 to

    Hi we are currently planning to upgrade Oracle Applications RAC 2-node database 10.2.0.4 running on 32bit RHEL3u9 to 11.2.0.2 64bit on RHEL5u6 on a new hardware. Can I have some feedback if this is possible or do we migrate the 10.2.0.4 32bit RAC database to RHEL5u6 64bit using RMAN and then upgrade to 11gR2?
    Current
    Database 10.2.0.4 2-node RAC 32bit on RHEL3u9
    Oracle E-business Suite 12.1.3 on RHEL5u6
    Target
    Database 11.2.0.2 2-node RAC 64bit on RHEL5u6
    Oracle E-business Suite 12.1.3 on RHEL5u6
    Thanks in advance
    Raf

    Can I have some feedback if this is possible or do we migrate the 10.2.0.4 32bit RAC database to RHEL5u6 64bit using RMAN and then upgrade to 11gR2?
    Current
    Database 10.2.0.4 2-node RAC 32bit on RHEL3u9
    Oracle E-business Suite 12.1.3 on RHEL5u6
    Target
    Database 11.2.0.2 2-node RAC 64bit on RHEL5u6
    Oracle E-business Suite 12.1.3 on RHEL5u6Please refer to (Using Oracle E-Business Suite Release 12 with a Database Tier Only Platform on Oracle 10g Release 2 [ID 456197.1]) for the supported way to migrate the 10gR2 database.
    To upgrade the database to 11gR2, please refer to:
    11gR2 11.2.0.2 Database Certified with E-Business Suite
    http://blogs.oracle.com/stevenChan/entry/db_11gr2_11202_ebs
    Thanks,
    Hussein

  • Wrong results after upgrading 10g database to 11.2.0.2.6

    Hi,
    Do anyone know, why the following query results are different?
    Not Working query:
    sql1:
    select col1 from tab1
    where col1 = (select '123' from dual)
    Working query:
    sql2:
    select col1 from tab1
    where col1 = '123';
    Both the sql1 and sql2 are returning same reseults in 10g database , but not in 11g.

    Pl post OS details along with sample outputs and explain plans from the the sql1 statement from the two databases. These MOS Docs may help also
    Things to Consider Before Upgrading to 11.2.0.2 to Avoid Poor Performance or Wrong Results [ID 1320966.1]
    Wrong Results on 11.2.0.2 with Function-Based Index and OR Expansion [ID 1264550.1]
    Wrong Results/No Rows for Sql Involving Functions in 11.2.0.2. [ID 1380679.1]
    HTH
    Srini

  • Oracle 10g - Database does not respond to the application users

    Hi all,
    I am using ORACLE 10g database with 75 users connections 50 local and 20 remote users using ADSL and dial up modem. Operating system on server is
    Windows 2003.
    All of a sudden users making the entry get disconnected getting the error as
    ORA-12516: TNS:listener could not find available handler with matching protocol stack
    Other case users when using the appliaction get their PC hanged and connection
    to oracle fails again. they cannot login to the application that time, the error is
    ORA-04031: unable to allocate %s bytes of shared memory ("%s","%s","%s","%s")
    Twice a day the users trying to login cannot access the database server.
    Front end application is in VB using exe file. When the users cannot logon
    to the database. I manually stop the ORACLE services(including DB console) and
    then stop the listener.
    This practice is going on since last two months.
    Server Scenario
    After Installing Oracle Standard Edition 10g.
    System tablespace utilization is 98.5% which is 465 MB out of total 470 MB.
    There is only one Rollback Segment named as SYSTEM.
    when we install 9i 4 rollback segments as RO1, RO2, RO3, RO4 are created
    by default.
    Do I need to add the datafile to SYSTEM table space as its current usage is 99.15% and its auto extend is ticked on using auto extent as 10 MB. I tried adding another datafile during weekend downtime. when I resumed on saturday morning I found it did not add any datafile which I had put on thursday eveninig as system02.dbf.
    Do I need to add a new datafile to the SYSTEM tablespace ?
    Do I need to create new rollback segments apart from SYSTEM rollback segment ?
    My current schema size 15360Mb with its usage as 9.32% (1432.25 Mb).
    Please reply !!!

    Hi Paul
    My Server configuration is
    Compaq ML 370
    3.4 Ghz Processor
    3.5 GB RAM
    SQL> show sga
    Total System Global Area 171966464 bytes
    Fixed Size 787988 bytes
    Variable Size 145488364 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 524288 bytes
    SQL> select * from v$sgastat;
    POOL NAME BYTES
    fixed_sga 787988
    buffer_cache 25165824
    log_buffer 524288
    shared pool subheap 55600
    shared pool KQR L SO 218160
    shared pool KQR M PO 1329244
    shared pool KQR M SO 605364
    shared pool KQR S PO 164156
    shared pool KQR S SO 6144
    shared pool KTI-UNDO 1235304
    shared pool sql area 5368208
    shared pool KGLS heap 1597560
    shared pool joxs heap 6004
    shared pool row cache 3707272
    shared pool parameters 17520
    shared pool repository 19396
    shared pool ASH buffers 4194304
    shared pool free memory 16586072
    shared pool PL/SQL DIANA 679456
    shared pool KSPD key heap 4220
    shared pool PL/SQL MPCODE 1167992
    shared pool library cache 11368964
    shared pool miscellaneous 25942980
    shared pool pl/sql source 88
    shared pool PLS non-lib hp 29816
    shared pool XDB Schema Cac 3594144
    shared pool alert threshol 3460
    shared pool joxlod exec hp 355820
    shared pool table definiti 5880
    shared pool temporary tabl 4932
    shared pool trigger defini 12848
    shared pool trigger inform 1892
    shared pool type object de 20256
    shared pool private strands 1198080
    shared pool event statistics per sess 4384640
    shared pool fixed allocation callback 304
    large pool free memory 8388608
    java pool joxs heap 233856
    java pool free memory 44743296
    java pool joxlod exec hp 5354496
    40 rows selected.
    SQL> select segment_name, owner, status
    2 from dba_rollback_segs;
    SEGMENT_NAME OWNER STATUS
    SYSTEM SYS ONLINE
    _SYSSMU1$                      PUBLIC ONLINE
    _SYSSMU2$                      PUBLIC ONLINE
    _SYSSMU3$                      PUBLIC ONLINE
    _SYSSMU4$                      PUBLIC ONLINE
    _SYSSMU5$                      PUBLIC ONLINE
    _SYSSMU6$                      PUBLIC ONLINE
    _SYSSMU7$                      PUBLIC ONLINE
    _SYSSMU8$                      PUBLIC ONLINE
    _SYSSMU9$                      PUBLIC ONLINE
    _SYSSMU10$                     PUBLIC ONLINE
    SEGMENT_NAME OWNER STATUS
    _SYSSMU11$                     PUBLIC ONLINE
    _SYSSMU12$                     PUBLIC ONLINE
    _SYSSMU13$                     PUBLIC ONLINE
    _SYSSMU14$                     PUBLIC ONLINE
    _SYSSMU15$                     PUBLIC OFFLINE
    _SYSSMU16$                     PUBLIC OFFLINE
    _SYSSMU17$                     PUBLIC OFFLINE
    _SYSSMU18$                     PUBLIC OFFLINE
    _SYSSMU19$                     PUBLIC OFFLINE
    _SYSSMU20$                     PUBLIC OFFLINE
    _SYSSMU21$                     PUBLIC OFFLINE
    SEGMENT_NAME OWNER STATUS
    _SYSSMU22$                     PUBLIC OFFLINE
    _SYSSMU23$                     PUBLIC OFFLINE
    _SYSSMU24$                     PUBLIC OFFLINE
    _SYSSMU25$                     PUBLIC OFFLINE
    _SYSSMU26$                     PUBLIC OFFLINE
    27 rows selected.
    Currently AUTOEXTEND is ticked as on for SYSTEM tablespace and its size is showing as 99.16% (466.06 mb) used which is very much nearing to its full capacity of 470 mb.
    Currently 75 users - 50 Local users and 20 Remote Users are connected to the server. Is there any limit that Server should have limited connections.
    Server has Windows 2003 Standard Edition. Has Windows 2003 anything to do
    with the no. of users getting connected ?

  • Auditing in oracle 10g database and oracle 10g application server

    Dear friends,
    We have oracle 10g application server and oracle 10g database server in place.My criteria is to audit users connected using oracle application user credentials to the database.
    Can you please tell me how can i do it.
    Thanks & regards,

    Its the database connection you want to track. The session audit will show where it came from.
    Auditing is turned using this command:
    alter system set audit_trail = DB scope=spfile;
    Note: The use of spfile will require a DB bounce before audit starts
    To audit Sessions:
    audit create session;
    Query by Audit Type:
    SELECT A.USERNAME,
    OS_USERNAME,
    A.TIMESTAMP,
    A.RETURNCODE,
    TERMINAL,
    USERHOST
    FROM DBA_AUDIT_SESSION A
    WHERE USERHOST = <replace with iAS servername> ;
    By User
    SELECT USERNAME,OBJ_NAME,ACTION_NAME , TIMESTAMP
    FROM DBA_AUDIT_TRAIL WHERE USERNAME = 'SCOTT';
    Check for users sharing database accounts
    select count(distinct(terminal)),username
    from dba_audit_session
    having count(distinct(terminal))>1
    group by username;
    Attempts to access the database at unusual hours
    SELECT username, terminal, action_name, returncode,
    TO_CHAR (TIMESTAMP, 'DD-MON-YYYY HH24:MI:SS'),
    TO_CHAR (logoff_time, 'DD-MON-YYYY HH24:MI:SS')
    FROM dba_audit_session
    WHERE TO_DATE (TO_CHAR (TIMESTAMP, 'HH24:MI:SS'), 'HH24:MI:SS') <
    TO_DATE ('08:00:00', 'HH24:MI:SS')
    OR TO_DATE (TO_CHAR (TIMESTAMP, 'HH24:MI:SS'), 'HH24:MI:SS') >
    TO_DATE ('19:30:00', 'HH24:MI:SS');
    Attempts to access the database with non-existent users
    SELECT username, terminal, TO_CHAR (TIMESTAMP, 'DD-MON-YYYY HH24:MI:SS')
    FROM dba_audit_session
    WHERE returncode <> 0
    AND NOT EXISTS (SELECT 'x'
    FROM dba_users
    WHERE dba_users.username = dba_audit_session.username);
    Other audits you might consider:
    audit grant any object privilege;
    audit alter user;
    audit create user;
    audit drop user;
    audit drop tablespace;
    audit grant any role;
    audit grant any privilege;
    audit alter system;
    audit alter session;
    audit delete on AUD$ by access;
    audit insert on AUD$ by access;
    audit update on AUD$ by access;
    audit delete table;
    audit create tablespace;
    audit alter database;
    audit create role;
    audit create table;
    audit alter any procedure;
    audit create view;
    audit drop any procedure;
    audit drop profile;
    audit alter profile;
    audit alter any table;
    audit create public database link;
    Best Regards
    mseberg

  • Need to upgrade Application Server 10g 10.1.2.0.2 to 10.1.3

    Dear All,
    I am having bit doubts on choosing the Application server down load file from the Oracle site. Currently we are using Application Server 10g 10.1.2.0.2 Forms and Report service. I need to up grade the Forms and Report service to 10.1.3 version of the Application Server 10g .
    If I select the Application Server 10g Release 3 from the site its directing me to the big selection list. Actually i bit confused which one i need to choose. I need to upgrade only the Forms and Report service Application Server 10g .Iam sure somebody can help me to solve this confusion. I appreciated ans thanks your attention in my query.
    regards
    Mathew

    Hi Mathew,
    If I am not mistaken, there is no Forms and Reports version 10.1.3. There is an Application Server version 10.1.3.x but this is a J2EE only release. Forms and Reports have not been bundled in this version.
    Could it be that you are mistaken with version 10.1.2.3 which is a patch set on top of Application Server 10.1.2.0.2 ? If this is the case, you can apply the patch set as per directions in the readme from the patch set. The patch set is available from [My Oracle Support|http://updates.oracle.com/download/5983622.html].
    Thanks,
    Erik Janssen

  • Upgrading 10.2.0.1 to 10.2.0.5 10g Database.

    Please redirect me to a good document which will guide me on how to upgrade from 10.2.0.1 to 10.2.0.5 10g database on RHEL 5 x86_64
    I am in the process of creating a RAC database. Clusterware, ASM disks have been setup. ASM installed.
    now i have to install 10g 10.2.0.1 db, then upgrade it to 10.2.0.5
    Help appreicated.
    Regards

    Indigo Child wrote:
    Please redirect me to a good document which will guide me on how to upgrade from 10.2.0.1 to 10.2.0.5 10g database on RHEL 5 x86_64
    I am in the process of creating a RAC database. Clusterware, ASM disks have been setup. ASM installed.
    now i have to install 10g 10.2.0.1 db, then upgrade it to 10.2.0.5
    Help appreicated.
    Regards1) As Dan says - 10.2.0.5 has not been released yet. There is a place holder, but ...
    2) Each and every patch and patch set has an associated README. Ignore that at your own risk.
    3) A person installing the software should be familiar with the Installation Guide, the Upgrade Guide, and the Universal Installer and OPatch reference manuals. For 10g, these are
    http://www.oracle.com/pls/db102/portal.portal_db?selected=11
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14238/toc.htm
    http://download.oracle.com/docs/cd/B19306_01/em.102/b16227/toc.htm
    and useful information about licensing, extra installations (such as Enterprise Manager add-ons) are in various docs at http://www.oracle.com/pls/db102/portal.all_books
    The one tip I have - practice it. I would be very very very surprised to hear you got it absolutely letter perfect the first time.

  • Oracle Application Server 10g with 11g Database

    Hi everyone,
    If anyone can tell, is there any compatibility issues in Oracle Application Server 10g with 11g Database?
    Will it work properly?
    Thanks

    hi,
    This will be helpful,
    http://www.oracle.com/technetwork/middleware/ias/downloads/as-certification-r2-101202-095871.html#CHDBFJFD
    which states
    "All available editions of Oracle Database 11g (11.1.0.6) or higher are supported. Please refer to Metalink note 740417.1 for details on Oracle Database 11gR1 Certification for Oracle Application Server 10g (10.1.2.x) and Metalink note 887365.1 for details on Oracle Database 11gR2 Certification for Oracle Application Server 10g (10.1.2.x) "
    Regards
    Fabian

Maybe you are looking for

  • Material Document Output Message

    Hi I cutomize the Mat.Doc Output Message WE01 to ZE01. In OMJ3 I already removed the WE01 for the new plant. However still in the Plant#2000 material document picks up both message Where else i should remove ? Thanks MM

  • How to configure ALE/IDOC in  nace for V3.

    Hi, Please let me  know how to configure ALE/IDOC output type in Nace and how to configure the message outputs.         I require the steps to configure the above.          Screen shots will also be helpful. Regards,

  • File receiver problem

    Hello all, Is there anyone who faced the below error, "NameNotFoundException: Object not found in lookup of FTPUtility". I am having the IDOC to File scenario. My file is getting processed but at the end it is giving this exception.

  • Is the WL 6.1 CORBA 2.0 compliant?

    Hi there, is the Weblogic 6.1 compliant with CORBA 2.0? I found only the information that WL 6.1 supports the CORBA/IIOP 2.4.2 Specification. Thanks a lot and have a nice weekend. Andre

  • What are the raw devices, CLI commands to take backup for raw devices

    CLI commands to execute these using brtools for raw devices 1. Back up tablespace(s) online and offline using the BRBACKUP function util_file. 2. Back up tablespace(s) online using the BRBACKUP function util_file_online. 3.Back up offline redo log fi