11gR2 Infrastructure Upgrade Question(s) from 10gR2

Hello.
We are currently using both Linux (RHEL5) and Solaris (5.10) for all of our Oracle 10.2.0.5.0 RAC DBs. Weare NOT using ASM currently. So, we are going to upgrade our DBs to the latest version of 11gR2 - and this obviously will include our CRS. I know the ASM and CRS under 10g are now combined under the 11gR2 Grid Infracstructure. I have been revieiwing the Oracle Grid Infrastructre Installation Guides for both OSs. While these guides are centered on new installations, I do notice that each has a small appendix tied to upgrading activities (Appendix E in Solaris and Appendix F in Linux).
I also have a few papers I pulled from blogs related to these activities (e. g., a blog from David Marco and another from Martin Bach) where they are updating their clusterware from 10gR2 to 11gR2. So here are a a few questions I'd like to answer - one may be obvious from what I have already read.
1.) This may be the obvious or redundant question - almost the entire writeups in the earlier referenced appendices seem to center around an 11.x CRS to 11gR2. So are these appendices still the correct reference when going from 10gR2 to 11gR2? Just double checking myself/
2.) Sadly, we are not going to be utilizing ASM anytime soon (tied to $$ issues realted to fiber connections). We might later, however, go to ASM. Is there anything I should do in relation to this upgrade tied to ASM that might make it easier to say move over to ASM in the next year - or should I just ignore any references to ASM during this initial upgrade?
3.) Does anyone have any other additional document references/URLs that you might feel would be helpful in the overall 11gR2 upgrade process (both Infrastructure and/or DB)?
Thank you in advance for any help.
Matt

Hi Matt;
Please check below notes:
Minimizing Downtime During Production Upgrade [ID 478308.1]
Master Note For Oracle Database Upgrades and Migrations [ID 1152016.1]
Different Upgrade Methods For Upgrading Your Database [ID 419550.1]
How To Upgrade ASM from 10.2 to 11.1 (RAC)? [ID 736127.1]
I suggest Please also check my blog
http://heliosguneserol.wordpress.com/2010/06/17/move-to-oracle-database-11g-release-2-wiht-mike-dietrich/
In this pdf you can see patch of to upgrade db from x to n wiht many senerios wiht all related metalinks notes which is created by Oracle worker Mike Dietrich
Regard
Helios

Similar Messages

  • 11gR2 Post-Upgrade Questions Regarding tnsnames, listener, pwd, and init

    Hello.
    Am planning on upgrading a significant # of RHEL5 10gR2 RAC and non-RAC DBs to 11gR2 (11.2.0.3.1, specifically). The servers are still not available to me, but I have been poring on the install and upgrade documents as well as referencing several blogs of users who have done them. I have almost literally read the guides verbatim. I will be using the DBUS - not doing a manual upgrade. Since I cannot test of the upgrade yet, I have a few questions related to POST_UPGRADE actions in terms of the listener, tnsnames, password, and init files.
    1.) The upgrade document indicates on p 3-24, "DBUA then proceeds to create new configuration files (parameter and listener files) in the new Oracle home." Will the init file (assuming spfile will be copied as we are using one everywhere now) have deprecated parameters REMOVED after it is copied over to the NEW/TARGET home?
    2.) While the install/upgrade guides do not call for it, several blogs indicate that the tnsnames and password files should be copied over from the old/source DB network/admin location ($TNSNAMES/admin) to the new/target DB /network/admin location. Do I need to do this or with the DBUA also copy them over? If all 4 files (tnsnames/listener/spfile/password) are copied over, I am not sure why the document doesn't indicate this.
    3.) Other than the spfile being copied over and modified, I don't see any difference between the old/source and new/destination copies of the listener, tnsnames, and password file. Do you agree?
    I am just trying to figure out what really need to be copied over and what doesn't in lieu of the DBUA doing it for me.
    Thank you all for your help. If I had HW to test this out, I would do it. In the meantime, I am writing the procedures to do the actual upgrade.
    Matt

    page 3-24 corresponds to following
    http://docs.oracle.com/cd/E11882_01/server.112/e23633/upgrade.htm#CHDDCBHG
    which states
    You must run the Oracle Net Configuration Assistant before running DBUA. See "Configuring the Listener When Upgrading from Oracle9i".
    If you are upgrading an existing Oracle Enterprise Manager Database Control or if you are configuring a new Oracle Enterprise Manager Database Control for the new Oracle Database 11g release, then the listener must be running before upgrading Oracle Enterprise Manager. If DBUA detects that an Oracle Enterprise Manager upgrade or configuration is requested, and DBUA does not see a listener running, then it prompts you and starts the default listener in either of these cases.
    running netca from new home results in creating a new listener.ora file, this could complain that listener is already used if the old listener is running with the same name or port (default 1521) taken.
    I think the "+DBUA reloads the listener.ora file in both the old and new Oracle Database environments.+" which point c in that list has to be taken in context with the two previous points a, b, where the usecase is shown how services , entries are removed from one listener.ora file and added to another. So to make sure those services are started from the "now" correct home those listener.ora are reloaded.
    If you look in the 11.1 upgrade guide this text is written as "DBUA removes the entry of the upgraded database from the old listener.ora file and reloads the listener of the old database." http://docs.oracle.com/cd/B28359_01/server.111/b28300/upgrade.htm#i1011982
    If after the upgrade old oracle home is not used anymore (no database is running out of that) you can ignore the listener.ora on the old home.

  • Upgraded Db from 10gR2 to 11gR2 want to know how can we make use of mem_target & mem_max_size parameter

    Hi Guys,
    Wish u all a very happy new year.
    We have upgraded our Client UAT system on solaris 10 from 10gR2(10.2.0.4) to 11.2.0.3 with latest PSU patch 11.2.0.3.8 Solaris SPark 64 bit.
    Post DB upgrade new parameters have been incorporated into the system namely
    1. Memory_Target
    2. Memory_Max_Size.
    Now although we have our SGA and PGA set to some specific values in our system, what i want to know is how can we utilize the Two parameters i named above in the system and
    how can it provide me better performance in relationship with SGA and PGA set in the system.
    Probably on what concept does Memory_Target and Memory_max_size parameters work in 11gR2 system.
    It would be really great if some one can provide the details with explanation.
    Your help is appreciated.
    Regards,
    Milan Rathod.

    Hi,
    Automatic Memory Management(AMM) was introduced in ORACLE 11g to automate the size of SGA and PGA(takes full control of managing memory)
    To configure AMM ,need to initialize MEMORY_TARGET and MEMORY_MAX_TARGET parameters.
    MEMORY_TARGET:
    The amount of shared memory available for Oracle to use when dynamically controlling the SGA and PGA.
    This parameter is dynamic, so the total amount of memory available to Oracle can be increased or decreased, provided it does not exceed the MEMORY_MAX_TARGET limit. The default value is "0".
    MEMORY_MAX_TARGET:
    This defines the maximum size the MEMORY_TARGET can be increased to without an instance restart.
    If the MEMORY_MAX_TARGET is not specified, it defaults to MEMORY_TARGET setting.
    Let say If you are setting MEMORY_MAX_TARGET=2GB, then oracle will use these 2GB to manage the memory(Boh SGA and PGA)
    If you set db_cache_size=1GB based on your requirement , then AMM always retains this 1GB memory for db_cache_size and it will use the remainng 1GB memory for other processes.

  • Upgradation from 10gr2 RAC to 11gr2

    I am trying to upgrade my RAC database from 10gr2 to 11gr2. But after successfully completing rootupgrade.sh on all nodes, I am not able to see the registered components. i.e. "crsctl stat res -t" is not working. Even the active version is also showing the older one. My 10gr2 setup is in raw device. Has anybody faced the same issue before? Please share.
    Thanks in advance.

    816916 wrote:
    I am trying to upgrade my RAC database from 10gr2 to 11gr2. But after successfully completing rootupgrade.sh on all nodes, I am not able to see the registered components. i.e. "crsctl stat res -t" is not working. Even the active version is also showing the older one. My 10gr2 setup is in raw device. Has anybody faced the same issue before? Please share.
    Thanks in advance.
    Hi
    please provide more details, what is your OS, what is the 10g version and what is the 11g version.
    please post the output from crsctl status resource -t
    Cheers

  • Migrating from 10gR2 to 11gR2 using impdp with network_link fails

    Hi,
    I'm trying to migrate a database from 10gR2 (Novell SLES 10) to a new server (Novell SLES 11) with 11gR2. I created a database on the new system with all required users and tablespaces. Then I used impdp in 11g with a database link to the source database:
    impdp system/pw@db NETWORK_LINK=X_SourceServer FULL=Y
    This command fails immediately with ORA-39113: unable to determine database version. Even using the parameter VERSION=10.2.0 doesn't change the result.
    The Oracle Upgrade Guide tells me that upgrading is possible from 10* to 11* and recommeds impdp and network link. Is the failure perhaps a bug in the NETWORK_LINK procedure? Should I better try expdp on the source and impdp on the target with a dumpfile as intermediate (the database ist rather big, so dealing with files across the network will take a lot of storage capacity)?
    Has anyone tried this method with success?
    Thanks
    Friedhelm
    Edited by: user8964905 on 02.09.2011 02:34

    This is due to an bug. The workaround is in the DOC
    IMPDP From 10g TO 11g Gives ORA-39113, ORA-4052 & ORA-6544 PL/SQL: internal error, arguments: [55916] (Doc ID 1062428.1)

  • Going from 10gR2 to 11gR2 - any obvious performance 'pitfalls'?

    Hi, there,
    I'm moving some databases from 10gR2 to 11gR2. I was wondering whether there were any obvious pitfalls in performance that I should be aware of (like the optimizer ones in previous versions). I'm taking the SPFILE from 10gR2 and modifying it as little as possible to use as my 11gR2's SPFILE.
    Also, I've heard murmurs of timezones being an issue in migrating to 11gR2? I'm either going to be using export/import or TTS to move my data. I wonder if the timezone issue is related to RMAN somehow.
    Mark

    Hi,
    I performed an Upgrade from 10.2.0.4.4 to 11.2.0.1 two weeks ago.
    I used a note from oracle support for manual upgrade to 11gR2
    the database had database vault and also had auditing enabled.
    these peculiarities are all covered in the note.
    I would suggest that if you have auditing enabled, set the parameter audit_trail=none before you commence upgrade.
    In addition make sure the you have tested the upgrade before implementing on your production environment, this would prepare you greatly.
    after the upgrade, the timezone was upgraded to 11, database vault was turned on, EM upgraded, database vault application redeployed.
    all the best
    samuelk
    Edited by: Samuel K on Feb 24, 2011 3:13 PM
    Edited by: Samuel K on Feb 24, 2011 3:14 PM
    Edited by: Samuel K on Feb 24, 2011 3:15 PM

  • I just upgraded my iPad from 4.3.3 to the newest - I think 6.1.3.  I cannot find my photos and videos.  I tried a restore, but after 3 hours, it's timing out.  Pardon my ignorance on asking this question; but is there a way to find my photos?

    I just upgraded my iPad from 4.3.3 to the newest - I think 6.1.3.  I cannot find my photos and videos.  I tried a restore, but after 3 hours, it's timing out.  Pardon my ignorance on asking this question; but is there a way to find my photos?  I do nto care about anythign else.
    Here are the steps I though I took this morning:
    Backup iPad
    Connect to iTunes and downlaod newest version of iTunes and then newest iOS
    restart Vista Laptop
    upgrade to newest iOS
    I knew somethign was wrong when it took about 6 hours to upgrade the iPad
    at the end it errored with this message error (-50), but the upgrade worked
    I was expecting to see all my photos but didn't see them
    I have tried a restore to a back up 2 times.  The first time took 3 hours and just sort of timed out - it kept saying that there was an hour to go
    I tried it again 2 hours ago and same message.
    They are very valuable to me and so now I am panicking
    Your help is much appreciated

    Hi Eric Ferguson,
    Thanks for using Apple Support Communities.
    For troubleshooting on this, take a look at this article:
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/ts3694
    Error 13, 14, 35 and 50 (or -50)
    These errors are typically resolved by performing one or more of the steps listed below:
    Perform USB isolation troubleshooting, including trying a different USB port directly on the computer. See the advanced steps below for USB troubleshooting.
    Put a USB 2.0 hub between the device and the computer.
    Try a different USB 30-pin dock-connector cable.
    Eliminate third-party security software conflicts.
    There may be third-party software installed that modifies your default packet size in Windows by inserting one or more TcpWindowSize entries into your registry. Your default packet size being set incorrectly can cause this error. Contact the manufacturer of the software that installed the packet-size modification for assistance. Or, follow this article by Microsoft: How to reset Internet Protocol (TCP/IP) to reset the packet size back to the default for Windows.
    Connect your computer directly to your Internet source, bypassing any routers, hubs, or switches. You may need to restart your computer and modem to get online.
    Try to restore from another known-good computer and network.
    Best of luck,
    Mario

  • If I upgrade my iOS from 5.1 to 6.0 then do I have to upgrade my Xcode also? So my question is all my old Xcode project which I have tried with Xcode 4.3.2 will be still there because I do not want to destroy them.

    I have xcode 4.3.2 and  iOS simulator Version 5.1 (272.21). But this course is on iOS 6. If I upgrade my iOS from 5.1 to 6.0 then do I have to upgrade my Xcode also? So my question is all my old Xcode project which I have tried with Xcode 4.3.2 will be still there because I do not want to destroy them.
    I have a MacBook Pro (Software Mac OS X Lion 10.7.5 (11G63b). Please let me know about upgrading iOS version so that I will be able to do the class project.

    To program for iOS 6, you need iOS 6 SDK. You need to download Xcode 4.5.x. But don't worry. All your previous projects are still alive and you are able to open them in the new Xcode.

  • Hi, having old macbook pro intending to upgrade my os from snow leopard to lion but negative reviews on lion just put me off..i have ms office and photo shop installed on my machine..my question is will upgrading to lion stop me using those application?

    Hi, having old macbook pro intending to upgrade my os from snow leopard to lion but negative reviews on lion just put me off..i have ms office and photo shop installed on my machine..my question is will upgrading to lion stop me using those application? thank you.

    htfromgrantown wrote:
    Hi, having old macbook pro intending to upgrade my os from snow leopard to lion but negative reviews on lion just put me off..i have ms office and photo shop installed on my machine..my question is will upgrading to lion stop me using those application? thank you.
    Negative reviews are common place here as it is a trouble shooting forum. If you want to read the advantages, improvements and new features then go to the Apple site. If you are running Word 2004, Early Adobe suite, etc which are PPC programs, then don't update. Go to Apple logo in upper left menu bar, open About this mac > More Info > Software >Applications and sort by 'Kind' and look what PPC programs you have installed. If you are not prepared to upgrade these programs, then do not update to Lion.
    There are plenty of threads to read up on about this here. But remember that 99.9% of comments will be negative, even though the forums represent only a tiny fraction of the Millions of Lion Downloads purchased and installed with no issues at all. So basically it's your call.
    Good Luck

  • Best Practices for Upgrade UCS firmware from 2.0 to 2.2?

    Hi
    I have Cisco UCS system ( 2 FI, 4 Chassis with 32 Server ) running 2.0 firmware. Now I want upgrade to 2.2. When I check document "Upgrading Cisco UCS from Release 2.0 to Release 2.2", I see have 2 solution:
    - 1. Upgrading from Release 2.0 with Auto Install -> Step simple but all server reboot at same time.
    - 2. Manually Upgrading from Release 2.0. -> Step more complex but can upgrade server one by one.
    My question:
    - Can I "Upgrade the infrastructure firmware with Auto Intall but upgrade Server with Manual"?
    - What is best for my case?
    Thanks

    Hi Phamcongtuan,
    In UCS you can create host firmware policy that can be used to upgrade the firmware of your blades.  Once you upgrade the infrastructure firmware, you can apply the host firmware policy to the service profiles of your blades.  If you are using service profiles templates you will need to unbind the service profiles and apply the policy to the individual servers.
    Host Firmware Package
    http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/sw/firmware-mgmt/cli/2-2/b_CLI_Firmware_Management_22/b_CLI_Firmware_Management_22_chapter_01000.html#concept_6982A188474A452CBFDBBDD7DD4921F3

  • 11i to R12 Upgrade questions

    Dear Gurus,
    We are planning to upgrade from 11.5.10 to R12 in that regards I have the following questions:
    1.     Which version on R12 do you recommend for the upgrade, we are planning to go for 12.0.4 ?
    2.     Currently we are on 11i (11.5.10.2) with database version 10gR2 (10.2.0.4), is it certified by R12 (12.0.4), our OS is Linux hrmstest 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686 i386 GNU/Linux
    3.     We are also planning to move to 64-bits of OS and Server as currently our Hardware is 64-Bits, but we have installed 32-Bits OS. So can you please advice what will be right path to move from 32-Bits to 64-Bits ?
    Thanks & Regards
    Kiran Rana

    Hi;
    Please follow previous thread which is below and notes from metalink. You can find your answe in those post and notes
    How to upgrade the EBS from 11.5.10.2 to R12?
    http://forums.oracle.com/forums/thread.jspa?messageID=2029986
    Apps Upgrade to rel 12i
    http://forums.oracle.com/forums/thread.jspa?threadID=610452
    Note: 454384.1 - Oracle 10gR2 Database Preparation Guidelines for an E-Business Suite Release 12 Upgrade
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=454384.1
    Note: 401740.1 - Release 12 Information Center
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=401740.1
    Note: 473119.1 - Now Available: Oracle E-Business Suite 12.0.4 Release Update Pack (RUP4)
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=473119.1
    Best Practices for Upgrading to Release 12
    http://blogs.oracle.com/schan/2007/11/29#a2268
    Regard
    Helios

  • After upgrade my MBP from snow leopard to mountain lion all my smb connections stop to work.

    After upgrade my MBP from snow leopard to mountain lion all my smb connections stop to work.
    Now iám using mac os 10.8.2
    I can see the server, I can choose the drive, but when try to open a folder the message on Finder is: You don't have permissions to see the content.
    I already delete the key and try to connect again, but the problem persist. Already try change the ip from file server. Already try differents users. (admin, guest, etc...)
    I have a windows server 2008 and a NAS working with SMB protocol. Both with the same problem.
    That problem occurs only on Finder, if I try see the folder by Terminal, is possible to see my files.
    Any Solution ?
    Any Tip ?
    Any Question ?

    Not knowing how much RAM is installed in your iMac, your iMac can take a total of 8 GBs of RAM.
    Before upgrading to Mountain Lion, I would strongly suggest installing the maximum 8 GBs of RAM.
    Correct and reliable Mac RAM can be purchased from online Mac RAM sources Crucial memory or OWC (macsales.com).
    Here is OWC's link to your model iMac and the RAM modules you will need.macsales
    http://eshop.macsales.com/item/Other%20World%20Computing/8566DDR3S8GP/
    You can purchase and download OS X 10.8 Mountain Lion from the Mac App Store in the OS X dock.
    Before installing, it would be prudent to make a backup copy of all of your important data or your entire current system. Either using, optical discs, USB flash drives or external hard drives.
    This is too insure protection of your data in case something goes wrong with the install of OS X Mountain Lion.
    Good Luck!

  • Steps to Upgrade Oracle EBS from 11.5.10.2 to 12.1.3

    Hi all,
    Could anyone help me with the documentation of Upgrade from 11.5.10.2 to 12.1.3.my OS is Linux 5 and my database is 10g.I also need the steps involved in going through the upgradation process.
    Thanks
    Venkat

    Hi;
    >
    Could anyone help me with the documentation of Upgrade from 11.5.10.2 to 12.1.3.my OS is Linux 5 and my database is 10g.I also need the steps involved in going through the upgradation process.Similar issue mention here many times. Please check below link and refer doc.
    Simply process:
    1. Upgrade your db
    2. Upgrade your EBS from 11i to R12.1.1
    3. Apply patch 12.1.3
    11.5.10.2 to R12
    Re: Upgrade 11.5.10.2 to R12
    11.5.10.2/9iR2 to R12/11gR2
    Re: 11.5.10.2/9iR2 to R12/11gR2
    11.5.9 to 12.1.1 upgrade
    Re: EBS 11.5.9 to 12.1.1 upgrade
    Regard
    Helios

  • Macbook C2D late 2006 RAM upgrade question.

    Hello everyone,
    I have a late 2006 Macbook and am planning to upgrade the RAM from 2GB to 4GB.
    From what I understand, my motherboard only supports 3GB, and I'm ok with that.
    My question is:
    Because 1GB will be left unused, will the OS use any of the extra GB towards my Intel GMA 950 GPU's 64MB of shared memory?
    I know the machine performs better graphically with with 4GB of RAM rather than 3, I was wondering if that extra GB of RAM is just used my my GPU rather than by the computer?
    Like, will I get more then 64MB of shared RAM?
    Thanks for reading, and I hope someone here has the same configuration as me, has added the 4GB, and could tell me if there is any GPU upgrade with the 4GB.

    Aaron Lowe wrote:
    Because 1GB will be left unused, will the OS use any of the extra GB towards my Intel GMA 950 GPU's 64MB of shared memory?
    No, the GMA 950 shares the 3 GB. Some have reported after testing that the MacBook is actually using 3.3 GB.
    I know the machine performs better graphically with with 4GB of RAM rather than 3, I was wondering if that extra GB of RAM is just used my my GPU rather than by the computer?
    Like, will I get more then 64MB of shared RAM?
    This is from the specs.
    +Memory available to Mac OS X may vary depending on graphics needs. Minimum graphics memory usage is 80MB, resulting in 944MB of system memory available on 1GB configurations.+
    The 64MB is a baseline because of the GMA 950 spec. The MacBook actualluy uses more and more is assigned as needed by the graphics.

  • Simple Query working on 10G and not working on 11gR2 after upgrade

    Hi Folks,
    This is the first time i am posting the query in this Blog.
    I have a small issue which preventing the UAT Sigoff.
    Simple query working fine on 10.2.0.1 and after upgrade to 11.2.0.1 its error out
    10.2.0.4:
    =====
    SQL> SELECT COUNT(*) FROM APPS.HZ_PARTIES HP WHERE ATTRIBUTE_CATEGORY= 'PROPERTY' AND ATTRIBUTE1=1;
    COUNT(*)
    1
    SQL> SELECT COUNT(*) FROM APPS.HZ_PARTIES HP WHERE ATTRIBUTE_CATEGORY= 'PROPERTY' AND ATTRIBUTE1=00001;
    COUNT(*)
    1
    SQL> select ATTRIBUTE1 FROM APPS.HZ_PARTIES HP WHERE ATTRIBUTE_CATEGORY= 'PROPERTY' AND ATTRIBUTE1=1;
    ATTRIBUTE1
    00001
    11.2.0.1:
    =====
    SQL> SELECT COUNT(*) FROM APPS.HZ_PARTIES HP WHERE ATTRIBUTE_CATEGORY= 'PROPERTY' AND ATTRIBUTE1=1
    ERROR at line 1:
    ORA-01722: invalid number
    SQL> SELECT COUNT(*) FROM APPS.HZ_PARTIES HP WHERE ATTRIBUTE_CATEGORY= 'PROPERTY' AND ATTRIBUTE1=00001
    ERROR at line 1:
    ORA-01722: invalid number
    SQL> select ATTRIBUTE1 FROM APPS.HZ_PARTIES HP WHERE ATTRIBUTE_CATEGORY= 'PROPERTY' AND ATTRIBUTE1='1';
    no rows selected
    SQL> SELECT COUNT(*) FROM APPS.HZ_PARTIES HP WHERE ATTRIBUTE_CATEGORY= 'PROPERTY' AND ATTRIBUTE1='00001';
    COUNT(*)
    1
    SQL> select ATTRIBUTE1 FROM APPS.HZ_PARTIES HP WHERE ATTRIBUTE_CATEGORY= 'PROPERTY' AND ATTRIBUTE1='00001';
    ATTRIBUTE1
    00001
    ++++++++++++++++++++++++++++++++++++++++++++++
    SQL > desc APPS.HZ_PARTIES
    Name Type
    ======== ======
    ATTRIBUTE1 VARCHAR2(150)
    ++++++++++++++++++++++++++++++++++++++++++++++
    Changes:
    Recently i upgraded the DB from 10.2.0.4 to 11.2.0.1
    Query:
    1.If the type of that row is VARCHAR,why it is working in 10.2.0.4 and why not working in 11.2.0.1
    2.after upgrade i analyzed the table with "analyze table " query for all AP,AR,GL,HR,BEN,APPS Schemas--Is it got impact if we run analyze table.
    Please provide me the answer for above two questions or refer the document is also well enough to understand.Based on the Answer client will sigoff to-day.
    Thanks,
    P Kumar

    WhiteHat wrote:
    the issue has already been identified: in oracle versions prior to 11, there was an implicit conversion of numbers to characters. your database has a character field which you are attempting to compare to a number.
    i.e. the string '000001' is not in any way equivalent to the number 1. but Oracle 10 converts '000001' to a number because you are asking it to compare to the number you have provided.
    version 11 doesn't do this anymore (and rightly so).
    the issue is with the bad code design. you can either: use characters in the predicate (where field = 'parameter') or you can do a conversion of the field prior to comparing (where to_num(field) = parameter).
    I would suggest that you should fix your code and don't assume that '000001' = 1I don't think that the above is completely correct, and a simple demonstration will show why. First, a simple table on Oracle Database 10.2.0.4:
    CREATE TABLE T1(C1 VARCHAR2(20));
    INSERT INTO T1 VALUES ('1');
    INSERT INTO T1 VALUES ('0001');
    COMMIT;A select from the above table, relying on implicit data type conversion:
    SELECT
    FROM
      T1
    WHERE
      C1=1;
    C1
    1
    0001Technically, the second row should not have been returned as an exact match. Why was it returned, let's take a look at the actual execution plan:
    SELECT
    FROM
      TABLE(DBMS_XPLAN.DISPLAY_CURSOR(NULL,NULL,NULL));
    SQL_ID  g6gvbpsgj1dvf, child number 0
    SELECT   * FROM   T1 WHERE   C1=1
    Plan hash value: 3617692013
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |       |       |     2 (100)|          |
    |*  1 |  TABLE ACCESS FULL| T1   |     2 |    24 |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(TO_NUMBER("C1")=1)
    Note
       - dynamic sampling used for this statementNotice that the VARCHAR2 column was converted to a NUMBER, so if there was any data in that column that could not be converted to a number (or NULL), we should receive an error (unless the bad rows are already removed due to another predicate in the WHERE clause). For example:
    INSERT INTO T1 VALUES ('.0001.');
    SELECT
    FROM
      T1
    WHERE
      C1=1;
    SQL> SELECT
      2    *
      3  FROM
      4    T1
      5  WHERE
      6    C1=1;
    ERROR:
    ORA-01722: invalid numberNow the same test on Oracle Database 11.1.0.7:
    CREATE TABLE T1(C1 VARCHAR2(20));
    INSERT INTO T1 VALUES ('1');
    INSERT INTO T1 VALUES ('0001');
    COMMIT;
    SELECT
    FROM
      T1
    WHERE
      C1=1;
    C1
    1
    0001
    SELECT
    FROM
      TABLE(DBMS_XPLAN.DISPLAY_CURSOR(NULL,NULL,NULL));
    SQL_ID  g6gvbpsgj1dvf, child number 0
    SELECT   * FROM   T1 WHERE   C1=1
    Plan hash value: 3617692013
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |       |       |     2 (100)|          |
    |*  1 |  TABLE ACCESS FULL| T1   |     2 |    24 |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(TO_NUMBER("C1")=1)
    Note
       - dynamic sampling used for this statement
    INSERT INTO T1 VALUES ('.0001.');
    SELECT
    FROM
      T1
    WHERE
      C1=1;
    SQL> SELECT
      2    *
      3  FROM
      4    T1
      5  WHERE
      6    C1=1;
    ERROR:
    ORA-01722: invalid numberAs you can see, exactly the same actual execution plan, and the same end result.
    The OP needs to determine if non-numeric data now exists in the column. Was the database characterset possibly changed during/after the upgrade?
    Charles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

Maybe you are looking for

  • Chart Top N shows "0" in legend instead of "Others"

    We have a report template that was created in Crystal Reports XI R2 that displays two charts in a Report Header.  The first chart is a Top N chart; the second is a Bottom N chart.  Both charts use the setting "Include Others with name "Others"". Our

  • Impressive iMac 24" Dark Spots

    Sorry to repeat. But I don't understand why what I posted yesterday disappeared. My story is long to write down. I hope any of you who got experience with dark spots/patterns on iMac screens can help me to look into the problem I appreciate your help

  • Is it possible to locate my stolen iPhone with the Serial Number?

    2 days ago I lost my iPhone 3GS- 16GB in school. I have the serial number. So would it be possible to locate the person if he/she registers on Itunes with my iphone?

  • BT Infinity - Interleaving OFF

    Hi All,  I've been a happy BT customer for about 3 years now. During that time I have enjoyed the full advertised boardband speed and a latency of 7ms to UK servers. Fortunitely I can see my cab which is about 50m from my house.  It's worth noting th

  • Retain multi-page layout when exporting to PDF

    I have created a multi-page layout, I want to export this to PDF but retain the multi-page view so the client can easily understand how it will look. Currently it exports to single pages rather than the nice 3 page spread I have created.