Code changes during database upgrade

Hi,
We are planning to upgrade from 10gR2 to 11gR2 on AIX plateform. Do we need any mandatory changes in existing codes (at sql level or plsql level)so that the the behaviour and the performance of the system remain same after upgrade? Thanks.

Going from 10g to 11g,
I had to make no changes in standard SQL and PL/SQL.
Good upgrade compatibility.
Going from 11g to 10g can cause problems for some things,
like use of PIVOT clause in 11g, not supported in 10g.
But I am wiith the other user, build test box and test away!!

Similar Messages

  • ABAP Code Changes During Upgrade from 4.7C to ECC6

    Hi all,
    I'm in process of collecting information for our next upgrade.
    We are on 4.7C and are planning to upgrade to ECC6. We wanted to know what changes shall be required on ABAP side during this upgrade. e.g. certain ABAP commands which are obselete, few tables , few fucntional modules being obselete.
    Any specific functional areas/transcation codes being obselete which in turn would make Uer Exit redudant etc.....
    Could somebody please help me out with some info regarding this upgrade? Some links or any hint you can give would help me a lot. (Whether technical or functional..all very welcome!).
    Thanks in advance
    Moderator message: topic too broad to be answered in a forum thread, many people had to go through this, please search for available information/documentation.
    Edited by: Thomas Zloch on Jun 14, 2011 9:31 AM

    Hi ,
    I too got an error of this type .
    The resolution is as follows :
    login as user SAP<SID> in the oracle database .
    SQL> drop tabel <tablename>;
    Restart the upgrade from PARMVNT_SHD phase.
    Regards
    Ratnajit

  • Screen changes during an upgrade

    Hi,
    Is there any way we can find out the obsolete screens and the screen changes from lower version to higher version during an upgrade.
    Thank You.
    Regards,
    Soumya

    Hi
    While doing Upgrade You have to aware of all related program like BDC's , Screens related errors and all dictionary related problems.
    Some function modules may become obsolete, and some screens will change
    and some new fields will be added in the new versions etc.
    Also take care of SPAU and SPDD tcodes.
    You should be able to know about Unicode concept in sap.
    check this
    http://www.thespot4sap.com/upgrade_guide_v2.pdf#search=%22upGRADE%20STEPS%20-%20SAP%22
    also chk these 2 notes in service.sap.com
    Technical Upgrade is only a version upgrade without any functionality changes.
    The objects that are needed to be upgraded are:
    Includes
    Function Groups / Function Modules
    Programs / Reports
    OSS Notes
    SAP Repository Objects
    SAP Data Dictionary Objects
    Domains, Data Elements
    Tables, Structures and Views
    Module Pools, Sub Routine pools
    BDC Programs
    Print Programs
    SAP Scripts, Screens
    User Exits
    You can refer to the below links for more information on technical upgrade:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/07/upgradeFROMR3TOmySAPERP-PARTII&
    https://wiki.sdn.sap.com/wiki/display/profile/UPGRADEFROMR3TOmySAPERP-PARTIII
    http://help.sap.com/saphelp_nw2004s/helpdata/en/60/d6ba7bceda11d1953a0000e82de14a/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/6d66647d9011d396b60000e82de14a/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5ac31178-0701-0010-469a-b4d7fa2721ca
    Hope this will help you
    Regards
    Kiran

  • Archivelog mode during Database upgrade

    I have database that needs to be upgraded (from 8.1.7 to 10.2.0.4) and this database runs in ARCHIVELOG MODE. My question should I turn archivelog mode off during upgrade? Do you see any benefits or issues with that?

    Better option to put database in no archivelog mode. Take a backup and then put database in noarchivelog mode.
    Log_archive_format will be different in 10g so while enable you may need to change this parameter.

  • Error while running catproc.sql during database upgradation Oracle 8.1.7.4

    Hi,
    We are in the process of upgrading the database from Oracle version 8.1.7.0 to 8.1.7.4
    For that we are applying the patch no. 2376472
    As per the patch we have run catproc.sql script.
    On running the script we are getting below mentioned errors,
    BEGIN
    ERROR at line 1:
    ORA-24001: cannot create QUEUE_TABLE, SYSTEM.DEF$_AQERROR already exists
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 2049
    ORA-06512: at "SYS.DBMS_AQADM", line 55
    ORA-06512: at line 2
    BEGIN
    ERROR at line 1:
    ORA-24006: cannot create QUEUE, SYSTEM.DEF$_AQERROR already exists
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 2346
    ORA-06512: at "SYS.DBMS_AQADM", line 114
    ORA-06512: at line 2
    PL/SQL procedure successfully completed.
    The above error has been generated while creating the Queue and Queue_Table.
    Where i have done mistake ?
    Kindly provide guidance.
    With Regards

    Ignore these errors
    http://www.cs.uvm.edu/oracle9doc/server.901/a90191/migmumsg.htm#72864

  • Error while running cr9idata.pl during database upgrade to 11.2.0.2

    I am updating the R12 database (11.1.0.7) to 11.2.0.2 following document, <Interoperability Notes EBS R12 with Database 11gR2, 1058763.1>.
    In the step 7, to create nls/data/9idata directory...
    When I ran the perl script, I get the error as below.
    $ perl cr9idata.pl
    perl: symbol lookup error: /d01/oracle/SID/db/tech_st/11.2.0/perl/lib/5.10.0/x86_64-linux-thread-multi/auto/Cwd/Cwd.so: undefined symbol: Perl_Istack_sp_ptr
    Then, when I tried to check with sqlplus, I now have the error as below.
    SQL> connect user/password AS SYSDBA
    ERROR:
    ORA-12162: TNS:net service name is incorrectly specified
    SQL> exit
    Then, when I checked some relevant environment, I noticed TNS_ADMIN is empty.
    $ echo $ORA_NLS10
    /d01/oracle/SID/db/tech_st/11.2.0/nls/data/9idata
    $ echo $TNS_ADMIN
    $ echo $LD_LIBRARY_PATH
    /d01/oracle/SID/db/tech_st/11.2.0/lib
    However, if I run the old environment file in old ORACLE_HOME, then the TNS_ADMIN points to the old one (/d01/oracle/SID/db/tech_st/11.1.0/network/admin/SID_host).
    And I believe this is not valid...
    At the same time, when I check the tnsnames.ora, there are only example/default files under <samples> directory.
    $ cd /d01/oracle/SID/db/tech_st/11.2.0/network/admin/
    $ ls
    samples shrept.lst
    How should this be handled to proceed to the next step?
    Should I define TNS_ADMIN with the old path...???

    Hi;
    Please DO NOT use your old oracle_home, as note mention The ORACLE_HOME environment variable points to the new 11.2.0 Oracle home.
    Please set below wiht new ORACLE_HOME than try steo 7
    - The ORACLE_HOME environment variable points to the new 11.2.0 Oracle home.
    - The PATH environment variable includes $ORACLE_HOME/bin and the directory where the new perl executable is located (usually $ORACLE_HOME/perl/bin).
    - The LD_LIBRARY_PATH environment variable includes $ORACLE_HOME/lib.
    - The PERL5LIB environment variable points to the directories where the new perl libraries are located (usually $ORACLE_HOME/perl/lib/[perl version] and $ORACLE_HOME/perl/lib/site_perl/[perl version])
    Regard
    Helios

  • PERFSTAT schema not upgraded during database upgrade

    Hi,
    I am currently working in 9i to 10.2.04 upgrades and I am seeing that the perfstat schema is not upgraded properly and I am getting error after upgrade. As temporary solution I am dropping perfstat and configuring statspack again. But for production systems I need the data, Is it possible to fix this perfstat schema error after upgradation.
    Thanks
    Tamil

    After upgrading from 9i to 10.2.0.4 when I take a snapshot I am getting error. And also same for purging.. I am posting here a sample error
    SQL> exec statspack.snap
    BEGIN statspack.snap; END;
    ERROR at line 1:
    ORA-12899: value too large for column "PERFSTAT"."STATS$SGASTAT"."POOL"
    (actual: 12, maximum: 11)
    ORA-06512: at "PERFSTAT.STATSPACK", line 2036
    ORA-06512: at "PERFSTAT.STATSPACK", line 91
    ORA-06512: at line 1
    Thanks
    Tamilselvan

  • Upgrade from JDK 1.2.2 to JDK 1.4.2. Any code changes required?

    Hi,
    We are in the processes of upgrading the JDK versions on servers to JDK 1.4.2 to support other software upgrades.
    The JDK versions on each of the servers are at different versions. On one of the servers, the version of JDK is currently at JDK 1.2.2_10. Can somebody please advise me if there would be any code changes required to support this upgrade (such as some methods being depreciated)?
    We are also evaluating if we need to upgrade to JDK 1.4.5. In such a case, would there be any code changes required to upgrade from JDK 1.4.1_x to JDK 1.4.5. I assume there wouldn't be any changes for this minor upgrade but just want to confirm.
    I would really appreciate an early reply.
    Thanks in advance.
    Regards,
    Vamshi

    "1.4.5" - you meant "1.5" ? :)
    About deprecations -- you will be warned by the compiler. E.g. "assert", "enum" are keywords and cannot be used as method names.
    The rest depends on your application. The more complex it is, the more differences can be encountered. You certainly need to run a test cycle for it with the new platform.
    From my experience, I can list some issues that I have read about or have experienced myself:
    1) serialization: the algorithm used to calculate the serialVersionUID had some changes between Java versions, due to compiler-added extra methods.
    If you don't have serialized instances, or your serialVersionUID is specified explicitly, you are safe.
    2) class loading order can be different in different platforms
    Once ago I have seen a paper from BEA Systems highlighting some open topics that can arise when migrating between different vendor's JVMs. Probably, it is the one:
    http://edocs.bea.com/jrockit/geninfo/devapps/codeprac.html
    In my friend's case, there was some class-initialization logic, that behaved differently when class loading order changed.
    3) Swing applications can sometimes behave slightly different.
    E.g., I observed some changes in focus handling, although minor ones. Fixed with several lines of code.
    4) Some libraries can depend on particular J2SE version. E.g. J2EE ones.
    E.g. I was not able to run J2EE 1.4 thick client application with JRE 1.5. The j2ee library used by the app either had some dependencies on sun.* classes, or on some protocols (not sure, I don't remember it well).
    5) Regression bugs are sometimes encountered. I.e. something that worked, does not work now.
    Summary: You need testing.

  • Group ID Changed During Mac OS X 10.5 Upgrade

    I have just discovered that my Group ID was changed during the upgrade from Mac OS X 10.4.10 to Mac OS X 10.5.
    Prior to upgrading, my User ID was mcc and my Group ID was admin. After upgrading, my User ID remains mcc but my Group ID has been changed to mcc.
    Ownership of files in my home directory hierarchy were changed to mcc:mcc. Ownership of files in other directories were not changed and retain the old mcc:admin ownership.
    Under "classic" Unix ownerhip rules, I still own the files. However, there seems to be change in ownership policy under Mac OS X 10.5. I cannot make any changes to the files because they are in the "admin" group.
    This change has a significant impact on the value of Time Machine as it prevents it from being used to restore system files that have been corrupted. Why is Time Machine backing up all files when there is no mechanism for restoring files other than those in the user's home directory hierarchy?

    Given the above, I would expect to be able to modify, change, or delete any file with ownership set to mcc:admin without using sudo.
    Agreed.
    Actually, the more interesting question is why was group mcc created.
    Yes, perhaps for backwards compatibility if you did an upgrade...
    I don't recall it as existing in earlier releases of Mac OS X.
    Because I think the opposite is true. Tiger, at least, always created a group for each user, with the same name and with gid=uid. It is Leopard that uses the staff group instead of a unique group per user.

  • Additional Patch R12 database upgrade

    Hi,
    I am upgrading my ebs db 10.2.0.4 to 11.2.0.3.
    Please suggest the way to approach for additional patch ->13001379
    a)I hv unziped patch
    b)In README, -> Prerequisites -> 7. cp kutable.xsl rdbms/xml/xsl/.
    As per the readme my understanding is - > I hv to copy the file from dir: /13001379/files/rdbms/xml/xsl/kutable.xsl to $ORACLE11g_HOME/rdbms/xml/xsl/ (file already here->update the file)
    Then do -> opatch apply
    Post step: Will happen during database upgrade
    c)If I am wrong, please correct me.
    Thanks,
    Salim

    a)I hv unziped patch
    b)In README, -> Prerequisites -> 7. cp kutable.xsl rdbms/xml/xsl/.
    As per the readme my understanding is - > I hv to copy the file from dir: /13001379/files/rdbms/xml/xsl/kutable.xsl to $ORACLE11g_HOME/rdbms/xml/xsl/
    Then do -> opatch apply
    Post step: Will happen during database upgrade
    c)If I am wrong, please correct me.Correct except for post installation which you have to do after the upgrade (Step 15. Perform patch post-install instructions).
    Thanks,
    Hussein

  • Database upgrade to 10.2.0.4 error - oracle RAC status showing Invalid

    Hi all,
    I am getting this error during database upgrade to 10.2.0.4 error - "oracle real application clusters status invalid. "
    I am getting the above error after running catupgrd
    and checking the status SELECT COMP_NAME, VERSION, STATUS FROM SYS.DBA_REGISTRY;
    This is not a RAC database and this is the only components which shows INVALID.
    Is it normal? Please advice me the action/steps to take to rectify ASAP as it is urgent ... Thanks & Regards, Deepak Gupta

    Probably database was 9i and it was upgraded to 10g?
    It can be normal situation.
    Please check metalink note 312071.1
    If database is not rac, then simply ignore this status as workaround is quite difficult and definetely it's not worth to go for it.

  • During R12 upgrade adworker for patch u6678700.drv fails for afopp002.sql

    Hi Experts,
    During R12.1.1 upgrade from 11.5.10.2 adworker for patch u6678700.drv fails for afopp002.sql
    The exact error being faced is
    sqlplus -s APPS/***** @/u03/oracle/CRP1PROD/apps/apps_st/appl/fnd/12.0.0/patch/115/sql/afopp002.sql &un_fnd &pw_fnd
    Connected.
    declare
    ERROR at line 1:
    ORA-20000: Oracle Error Mkr1= -24018 - ORA-24018: STOP_QUEUE on
    APPLSYS.FND_CP_GSM_OPP_AQ failed, outstanding transactions found
    ORA-06512: at line 15
    I even tried restarting the worker,bounced the database and even tried running u03/oracle/CRP1PROD/apps/apps_st/appl/fnd/12.0.0/patch/115/sql/afopp002.sql manually which hangs for indefinitely.
    Any suggestion.

    Hi Srini,
    Let me walk you through briefly regarding the upgrade process:
    Initially the existing instance was 11.5.10.2 with 9.2.0.6 database.Last year the database was upgraded to 11.2.0.1 and configured with 11.5.10.2
    However the 11g database upgrade steps specifically for EBS 11i(interoperatibility notes for 11i with 11g database) was not followed properly.
    And one of the major key issue identified was the 11g Example CD was not installed on top of 11g software during database upgrade.Which is the pre-req for 11g upgrade in EBS
    And as per my experience it creates issues during R12 upgrade (patch u6678700) and giving errors pertaining to oracle text error.
    SR was raised for the same and was suggested, since there is no other option kindly install the Oracle 11g software and on top of that 11g Example CD and map the 11g database and go ahead with the R12 upgrade.
    Now coming back to the core issue being faced, Pre-req followed properly.No errors in alert logs.
    Can missing the Example CD installtion be the issue?
    Regards,
    Aman Vats

  • Best practice to secure database during patching/upgrade-Vault disabled

    I have a highly confidential system and to protect the data in the DB, I intend to use Oracle Vault. In my company, we have centralized services and therefore, the oracle Unix owner and sysdba are owned by this group, not the application dba that "knows" the system (me).
    The problem I have is what would be the best way to protect my data from the sysdba user during the window that Vault is disabled?
    I thougth maybe I could un-mount and file protect the tablespace from the Unix oracle user during the upgrade process, but the tablespace could be outdated when I remount it after the patch. I am not sure how I might patch it seperatley. I am thinking I might export and drop the schema during the patching, then load it back in when vault is enabled again. This will work for a year or so, but I envision the databases getting too large to do this efficiently.
    Does anyone have any thoughts on how I might protect the data in this scenario?
    Edited by: user4714217 on Oct 20, 2008 11:06 AM for clarity

    Hi,
    I did not understood your question properly, but the thing which I understood is like you do not want any other user to access the database when your security vault is disabled.
    At that time you can
    1) Start the database in restrict mode (only a sysdba can do it).
    2) Change the password/lock the user till the time your patching activity is going (any user with dba role can do it, so might be not so useful)
    Regards
    Anurag Tibrewal

  • Change DB name/ instance name during an UPGRADE ?

    Is it possible to change the database name and the instance name during an UPGRADE (from 9i to 10g for instance) ? If is possible, how ?
    Thanks,
    D.

    Two Options:
    1. Change the name in 9i, then Upgrade to 10g
    2. Upgrade to 10g, then change the name in 10g
    There is no automatic way to do it during upgrade.

  • 4.7C to ECC6 Upgrade - ABAP Code Changes

    Hi all,
    I'm in process of collecting information for our next upgrade.
    We are on 4.7C  and are planning to upgrade to ECC6.  We wanted to know what changes shall be required on ABAP side during this upgrade. e.g. certain ABAP commands which are obselete, few tables , few fucntional modules being obselete.
    Any specific functional areas/transcation codes being obselete which in turn would make Uer Exit redudant etc.....
    Could somebody please help me out with some info regarding this upgrade? Some links or any hint you can give would help me a lot. (Whether technical or functional..all very welcome!).
    Thanks in advance

    > We are on 4.7C  and are planning to upgrade to ECC6.  We wanted to know what changes shall be required on ABAP side during this upgrade. e.g. certain ABAP commands which are obselete, few tables , few fucntional modules being obselete.
    Read the following notes:
    Note 689951 - Release upgrade from 6.20 to 6.40 for customer programs
    Note 857904 - Upgrade from Release 6.40 to 7.0 for customer programs
    Note 1404458 - Release upgrade from 7.0 to 7.0 EHP1 for customer programs
    > Any specific functional areas/transcation codes being obselete which in turn would make Uer Exit redudant etc.....
    > Could somebody please help me out with some info regarding this upgrade? Some links or any hint you can give would help me a lot. (Whether technical or functional..all very welcome!).
    Check
    http://solutionbrowser.erp.sap.fmpmedia.com/
    Markus

Maybe you are looking for

  • Hp aio app for windows rt 8.1

    Does any one have for a solution to make an HP 8500 all in one printer work with the windows rt 8.1  hp app all in one

  • SSL issue on R12

    I am trying to implement SSL in our R12 environment, initially we have decided to use trail certificates as we are in testing phase,i am following document Enabling SSL in Release 12 [ID 376700.1], i had successfully created server.crt from OWM then

  • Use of a microphone to record in a MAC G4

    I have a Power Mac G4-867 mghz. this is the unit that has a double mirrored front. I am using Mac O.S. Panther (version 10.3.9). I have tried plugging a microphone at the back of the unit to just hear my voice or better yet to record a song but i jus

  • ASA5505 un-responsive after installing ASA-SSC-AIP-5 IPS module

    Hello, Can anyone help? I have a pair of ASA 5505 firewalls in a failover configuration. Everything works correctly until I install the IPS module into the secondary firewall. When install I can no longer ping the firewall from the inside network. We

  • Do App Tabs work if I automatically clear browsing history when I clost FF?

    I have my privacy settings such that everything clears when I close FF. Do I have to keep my browsing history in order for App Tabs to work? Right now, they don't reappear when I start FF, but I'm not sure which box to uncheck on the "clear history"