CPU patch July 2010 on Oracle 11.1.0.7 database

Hi,
I want to install the July2010 CPU patch (9655014) on a 11.1.0.7 database which was initially created with version 11.1.0.6.
The README file of the patch states the following about recompiling views:
3.2.2.2 Recompiling Views in the Database
You may skip this section if you have recompiled views for this database during the installation of a previous CPU or if the database was created with Release 11.1.0.6 or later.
So I assumed that I do not need to recompile the views but a little further in the README file I read:
If you want to check whether view recompilation has already been performed for the database, execute the following statement.
SELECT * FROM registry$history where ID = '6452863';
If the view recompilation has been performed, this statement returns one or more rows. If the view recompilation has not been performed, this statement returns no rows.
When I execute the select it returns no rows. So this is confusing. Should I perform a view recompilation or not?
And when I execute recompile_precheck_jan2008cpu.sql (strange name for a July 2010 CPU) it says:
SQL> @recompile_precheck_jan2008cpu.sql
Running precheck.sql...
Number of views to be recompiled :1969
Number of objects to be recompiled :4019
Please follow the README.txt instructions for running viewrecomp.sql
PL/SQL procedure successfully completed.
thanks in advance.
regards,
Ivan

Short answer: you dont need to run view_recompile_jan2008cpu.sql
Long answer:
>
SELECT * FROM registry$history where ID = '6452863';
If the view recompilation has been performed, this statement returns one or more rows. If the view recompilation has not been performed, this statement returns no rows.
When I execute the select it returns no rows. So this is confusing. Should I perform a view recompilation or not?
>
You will only get an entry in registry$history if you had a database that you had actually run the view_recompile_jan2008cpu.sql script which inserts a row into the table at the end of the script:
view_recompile_jan2008cpu.sql
Rem =======================================================================
Rem Insert values for patch into registry.
Rem =======================================================================
INSERT INTO registry$history (action_time, action, id, comments)
        values ( SYSTIMESTAMP, 'CPU', &&PATCH_NUMBER, '&&PATCH_DESC' );
COMMIT; In your case, you will get no entries in the table BUT you do not have to run the view recompilation so long as the database was created using a patched Oracle home of a release where Oracle says the view recompilation is not required.
>
SQL> @recompile_precheck_jan2008cpu.sql
Running precheck.sql...
Number of views to be recompiled :1969
>
This script has a very simple logic that just generates count of views and dependant objects that would need recompilation. The selection criteria does not include actually checking whether you actually need to apply the view recompilation script.
You can test this yourself:
Case#1: Run the recompile_precheck_jan2008cpu.sql on a database where you have applied the view recompilation script. You will find the count shows a non-zero value.
SQL> col action_time format a32
SQL> col version format a15
SQL> col version format a15
SQL> select action_time, version, id from registry$history where ID=6452863;
ACTION_TIME                      VERSION                 ID
24-JUL-10 12.52.15.390000 PM                        6452863
SQL> @recompile_precheck_jan2008cpu.sql
Running precheck.sql...
Number of views to be recompiled :1637
Number of objects to be recompiled :3487
Please follow the README.txt instructions for running viewrecomp.sql
PL/SQL procedure successfully completed.Case#2: Create a new database using a version that does not require the view recompilation patch. Run the recompile_precheck_jan2008cpu.sql. You will find the view count shows a non-zero value even though you do not need to recompile the views as mentioned in the Oracle patch notes.

Similar Messages

  • Application CPU patch ( OCT 2010)

    I have been asked to apply latest security patch .
    1> For applying latest Application CPU patch ( OCT 2010), i am following Metalink note id 987438.1.Will I have to apply this patch in all tiers ?? ( i am new to oracle apps, so kindly help!!)
    2> Will I have to apply latest Databse security patch too ??
    Thanks.

    @Thanks Hussein
    I have been referrring to that note id from start , in its section 2, table 2 its given
    +++'Critical Patch Update Availability for Oracle Fusion Middleware 10.1.3.5' table of My Oracle Support Knowledge Document 1159443.1, Critical Patch Update October 2010 Patch Availability Document for Oracle Products.+++
    Thats the note 1159443. i referred to you.

  • Oracle cpu patch july 2012

    Hi,
    can anyone please give me the oracle patch CPUJul2012 number or link? i need to download it.

    Links to all CPU patches are available here - http://www.oracle.com/technetwork/topics/security/alerts-086861.html
    The links will direct you to My Oracle Support, access to which requires a paid support contract with Oracle
    HTH
    Srini

  • Regarding Oracle CPU patch release Jan2010 about oracle 10.2.0.2

    http://www.oracle.com/technology/deploy/security/critical-patch-updates/cpu
    According to the above link i haven't found patch for oracle db release 10.2.0.2 that means it is not released or not applicable for this version.
    Regards
    Gupteswar

    Hi,
    It is not applicable to this version. You will have to upgrade to 10.2.0.4. Have a look at metalink ID 967472.1 -Critical Patch Update January 2010 Patch Availability Document for Oracle Products
    Ioan

  • Oracle cpu patch apr/july/oct/jan

    Hi Guys,
    Need you advise here.
    Do you guys always apply the cpu patch upon released by oracle? Is it a good practise to do so?
    Does CPU patch only consist of security fix or also bug fix?
    thanks

    It is recommended to apply CPU patches as soon as possible. CPU patches only fix security issues, they do not contain other bug fixes.
    http://www.oracle.com/technetwork/topics/security/alerts-086861.html#CriticalPatchUpdates
    HTH
    Srini

  • CPU patches applicable to Oracle XE database?

    hello,
    just wanted to know whether the cpu patches are applicable to oracle xe database which is installed by default with oracle vm manager?
    best regards,
    ravikumar
    Edited by: user10302028 on 25-Jun-2009 04:29

    I asked this question before on OTN and Metalink. The answer I received was "NO"
    the only support for XE is the OTN and no patchsets, CPU's for XE by Metalink.
    R/ Zafer

  • CPU Patch Project

    This is the project i have been assigned need suggestion, queris to check CPU,(qualified DBs), Road map...etc, any other suggestion
    PHASE I
    1) Identify all the existing oracle versions across the board for the preparation of cpu patch ===> you can logon to many servers and find out or contact the individual DBA to do it for you or ask India team to help you.
    2) Identify the oracle versions qualified for cpu patch on non-prod env for the preparation of cpu patch
    3) Identify the oracle versions need to be upgraded for applying the cpu patch on non-prod env for the preparation of cpu patch
    4) Identify the oracle versions qualified for cpu patch on prod env for the preparation of cpu patch
    5) Identify the oracle versions need to be upgraded for applying the cpu patch on prod env for the preparation of cpu patch
    PHASE II
    6)Check with the customer if we can test/install the cpu patch on the lab server & upgrade/cpu patch if we get the approval
    7) Work with the customer to get an outage on non-prod qualified databases and schedule the change window for cpu patch
    8) Work with the customer to get an outage on prod qualified databases and schedule the change window for cpu patch
    9) Work with the customer to upgrade the oracle versions if the application is compatible with the upgraded version of oracle
    10) If the customer provides acceptance for the upgrade, the databases will be upgraded and the cpu patch will be installed by the DBAs with in a maintenance window.

    See also the Oracle On Demand Best Practices Critical Patch Update white paper which is a good reference document on CPU patching project.
    However it seems that since July 2007, CPU patch will now also include many bug fixing for non security issues which might change application behaviour and raise the question about application testing needed. For example,
    4711525 - PARSING BITMAPPED PLANS IS 3X TIMES MORE COSTLY
    4712638 - ORA-00600 [15160] ORA-7445[KKOGBRO]
    4722645 - ORA-7445 ON COMPLEX QUERY
    There are 319 fixes in 6079588 (10.2.0.2 for Linux) but only 19 security fixes according to http://www.oracle.com/technology/deploy/security/critical-patch-updates/cpujul2007.html#AppendixA.
    Message was edited by:
    Pierre Forstmann
    Message was edited by:
    Pierre Forstmann

  • Cpu patches for 12c OEM

    Hi,
    Has anyone deployed CPU patches for 12c OEM? In the recent Jul, 2012 CPU patch there is patch for Oracle Database Plug-ins, has anybody deployed this Jul ,2012 CPU patch for 12c OEM.
    Enterprise Manager Plugin for Database 12c Release 1, versions 12.1.0.1, 12.1.0.2 Enterprise Manager
    Thanks
    Amit

    I have requested the "on request" patch for the Oracle Database Management Plug-in for the 12.1.0.1 Home, but was told by Oracle Support that there was no patch. I am on Solaris Sparc 64. I looked at the CVE-2012-1737 advisory, and I am trying to figure out if the vulnerability does not apply to my platform, but frankly can't figure it out from that document, and the support person did not elaborate. Have you been given a patch?
    Regards,
    Peggy

  • CPU Patch analysis 2009

    Gurus,
    I am new to R12 CPU patch analysts, I need Some Guidence,
    I want to know how to find out the versions in R12,
    1.Oracle HTTP server version.
    Oracle HTTP Server Patches for Oracle E-Business Suite Release 12
    Table 2 lists the patches for Oracle HTTP Server. Oracle HTTP Server patches are cumulative; that is, Critical Patch Update patches contain all previous CPU content. Where applicable, customers need to apply the following CPU patches to both the OracleAS 10.1.2 and OracleAS 10.1.3 Oracle Homes.
    Mean i want to apply Oracle HTTP server patches in both 10.1.2 and 10.1.3 Oracle homes..
    2.Oracle Developer Suite(forms,reports)
    Thanks.
    3.

    In 11i we can find out . ./httpd -version , but in R12 how to find Oracle HTTP server version and Application Developer (forms,reports) versions.Oracle HTTP Server:
    UNIX: $ORACLE_HOME/Apache/Apache/bin/httpd -version
    Windows: %ORACLE_HOME%\Apache\Apache\apache.exe -version
    Oracle Developer:
    Unix: frmcmp_batch.sh
    Windows: frmcmp.exe
    Or, get it from the application (Help > About Oracle Applications).
    How to apply patches in both oracle homes.
    10.1.3 --> Application Server 10.1.3 Java ORACLE_HOME (OC4J, Apache).
    10.1.2 --> Application Server 10.1.2 Developer ORACLE_HOME (Forms, Reports).Always follow the steps in the Patch README file to apply the patches (you will mainly use opatch).

  • CPU Patch Jan 08 rollback

    Hello,
    We attempted to apply CPU Patch Jan 08 to our 10.1.0.5 database and the optach hang for a over an hour. So we did a control c and got our of the opatch. Then we rollback the opatch.
    After the rollback the databases startup without errors. Now we like to know if the oracle binary is corrupted or not corrupted when we cancelled the opatch. How to check if the Oracle binary is not corrupted? Thank you.

    There are not a lot of situations where you would end up with a corrupted Oracle binary from patching. Opatch relinks with make, which moves the new binary into place with mv. If opatch rolled back successfully, then you should be back on the original version.
    This kind of extended downtime tryng to apply a patch is the reason I developed my method for staging patched Oracle binaries. It requires some work with a CPU patch, but it is not impossible, and it can save you serious sweat if downtime is intrusive at your site.
    The method is outlined on page 7 of this document:
    http://www.ora-600.net/articles/stayinalive.pdf
    Regards,
    Jeremiah Wilton
    ORA-600 Consulting
    http://www.ora-600.net

  • July 2010 CPU for Oracle Database Server 10.2.0.5

    End of lifecycle for Oracle Database Server 10.2.0.5 is July 2010. If you have Premier Support will you have access to the July 2010 CPU/PSU?

    Why three threads for the same question?

  • Just applied July 2010 CPU to 11.5.10 CU2 - passwords need to be reset?

    I just released my July 2010 CPU patched environment back to the user community and the first issue I had was the tester telling me his password didn't work.
    Same thing for another tester. I was able to login as 'sysadmin' and change reset his password but I don't want to have to do that when it comes to Prod.
    Any idea why that would have happened?
    My environment is 11.5.10 CU2 RUP7 on Linux x86.

    Hi,
    Appears to be "Login failed: Please verify your login information or contact the system administrator."
    Two testers so far so I think it applies to all users except sysadmin.Please check with other users to verify.
    I did run an FNDCPASS to change apps and sysadmin's passwords for this env earlier.Does this mean you were not able to login as SYSADMIN user at the beginning?
    Please review these docs and see if any helps.
    Unable to Login to Application After Cloning to A New Node [ID 1102253.1]
    "Signon Password Failure Limit" Profile Option Does Not End Date User in FNDSCAUS Form [ID 332577.1]
    The Existing User Login failed error After Assign Any Responsiblity [ID 1127799.1]
    Thanks,
    Hussein

  • Finding CPU patches on oracle support

    I could open a ticket and ask, but that would be a while for a response. Possibly days. So I am going to the patch screen. I am doing a search for CPUJUL2010 and nothing comes back. I need the July one on Solaris Sparc 64 bit.
    on the left there is a security link with a bar graph. I click that and I get alot of things, but I do not get one for 11.1.0.7 (I think 11.1.0.6 will work, but I don't see it. I can check the notes). How do I find exactly what I am looking for? The search feature doesn't work. When I do a search the back button does not appear to work either.
    I also opened up one of the cpu patch notes (not the one I want). All I get is al ist of bug fixes. Is there an easier way than going to each patch and reading the readme notes to see what is fixed? I need to go through all of this to tell management whether there is a critical security whole we just have to patch. I doubt there is, but I need to check.

    for future refrerence. how do i easily find the MOS note for a new CPU patch.
    I dont see a socument that tells me with an overview what is in the CPU patch. I see one, but it just lists a bunch of Patches that are in it and I have to go to each document. That is what I see in the readme. The other documents don't appear to have it.
    Edited by: user11990507 on Jul 21, 2010 12:33 PM

  • Oracle CPU patch for 10.20.4

    Hello,
    Here is my DB version.
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for Solaris: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    I am using SUNOS SPARC 64 bit server. I am going to apply JAN 2010 CPU patch. In the README.html file, i see one step as below.
    If CPUOct2009 has not been applied, ensure that MLR (Merge Label Request) bugs 9054847 and 9054851 have been applied.
    My question is, how do i ensure that, MLR has been already applied? Any help is highly appreciated.

    If patches 9054847 and 9054851 have not been applied, you will need to apply them before proceeding to apply the CPU patch. Pl see the README files of the two patches for install instructions.
    HTH
    Srini

  • APR 2010 CPU - Patch 9032412 fails error code 73

    I am trying to install the apr 2010 cpu updates for apps and db servers. As indicated in doc 985896.1 I am attempting to install patch 9032412 prior to installing the 9352191 cpu patch. When I try to install this on the DB using the latest version of OPatch I get the following error:
    ===========================================================================================
    Running make for target ioracle
    ApplySession adding interim patch '9032412' to inventory
    Verifying the update...
    Inventory check failed: Patch ID 9032412 is NOT registered in Oracle Home inventory.
    Files check OK: Files from Patch ID 9032412 are present in Oracle Home.
    ApplySession failed: ApplySession failed in system modification phase... 'Verification of patch failed: Patch is not found in the Inventory. '
    OPatch will attempt to restore the system...
    Restoring the Oracle Home...
    Checking if OPatch needs to invoke 'make' to restore some binaries...
    OPatch was able to restore your system. Look at log file and timestamp of each file to make sure your system is in the state prior to applying the patch.
    The following warnings have occurred during OPatch execution:
    1) OUI-67620:Interim patch 9032412 is a superset of the patch(es) [  6600051 ] in the Oracle Home
    2) OUI-67124:Inventory check failed: Patch ID 9032412 is NOT registered in Oracle Home inventory.
    OPatch failed with error code 73
    ===========================================================================================
    opatch lsinventory -all & -detail are successful.
    I performed the detach home and attach home steps successfully and this made no difference.
    Anyone out there that can shed some light on this perhaps? Thanks

    I have not opened an SR yet, looks like I am going to have to do so.
    I have run the detach home and rebuilt the inventory and attached home using the command
    runInstaller -silent -invPtrLoc “/oracle10/oracle/oraInst.loc” -attachHome ORACLE_HOME=”/oracle10/oracle” ORACLE_HOME_NAME=”Ora10gHome”
    Now inventory is there, but it shows no intermediate patches listed. When I try to apply the 9032412 patch I still get the same error "Inventory check failed: Patch ID 9032412 is NOT registered in Oracle Home inventory." and there is no mention of the 6600051 patch anymore so I don't think it is the issue. For some reason it can't seem to update the inventory.
    There is now a 9032412 directory in the $ORACLE_HOME/.patch_directory however. The etc/oraInventory & $ORACLE_HOME/inventory have write permissions. What else have I missed?
    Thanks again for your help.

Maybe you are looking for