Académique Documents
Professionnel Documents
Culture Documents
BUG :
What is MOS ?
support notes, bug access, request tracking and patches. Users with a
valid support contract can register on Oracle’s metalink.
Oracle Support
The CSI also used to identify a customer's account and track service
requests. Information contained within My Oracle Support is made accessible
strictly to registered MOS users, for reference purposes only.
Types of Patches
Patches are software programs for individual BUG FIXES. Oracle issues
product fixes software, usually it is called as Patches , it is used to fix a
particular problem. (Bugs , Secuity weakness , Improving Performance etc).
When we apply patch set many different files and utilities are modified.
POINTS TO NOTE
The Fifth Digit (0) : Platform Specific Release No, Usually this
is a Patchset. it usually fixes or works around a particular, critical
problem.
Overview of CPU
Overview of PSU
PSUs are cumulative and include all of the security fixes from CPU
patches, plus additional fixes. An Oracle PSU having recommended bug
fixes and "proactive" cumulative patches, So the DBA choose to apply all
Advantages of PSU
So ,the fifth no of the database version is incremented for each PSU. All
PSUs are denoted by the last digit - (10.2.0.4.1 , 10.2.0.4.2) . The initial PSU
is version 10.2.0.4.1, the next PSU for Release will be 10.2.0.4.2 and so on.
Once a PSU is applied , only PSU can be applied in future quarters until the
PSUs are referenced by their 5th place in the Oracle version numbers which
makes it easier to track (e.g. 10.2.0.3.1) and will not change the version of
oracle binaries (like sqlplus, exp/imp etc.)
Best Suggestion
http://www.eygle.com/Notes/10204_buglist.htm
opatch lsinventory
We cannot apply a CPU patch once a PSU patch has been applied.
Patch set updates are available only for oracle database server
10.2.0.4 and later.
Patch sets are cumulative bug fixes that fix all bugs and consume all
patches since the last base release. Patchset are usually applied
through OUI-based product specific installers.
Fig : Critical Patch Update (CPU) is a subset of the Patch Set Update (PSU)
SPU patches are the same as previous CPU patches, just a new name.
Security Patch Update (SPU) terminology is introduced in the Oct 2012.
Critical Patch Update as the term for the quarterly security patch.
Patch Conflicts
If a patch has been applied, all the bugs fixed by that patch could reappear
after another patch is applied. This is called a conflict situation. OPatch
detects such situations and raises an error when a it detects a conflict.
What is OPTACH ?
One-off bug fixes , we can use opatch to apply them. Opatch assists to
apply interim patches to Oracle’s software and removes interim patches
from Oracle software. Opatch also able to Report already installed interim
patch and can detect confilict ( when already interim patch has been applied).
Opatch Supports
For the latest information about the OPatch utility, to check for
updates, and to get the latest versions , from (MOS).
$ export PATH=$ORACLE_HOME/OPatch:$PATH
$ which opatch
$ cd $ORACLE_HOME/OPatch
$ opatch -help
$ cd $ORACLE_HOME/OPatch
$ opatch lsinventory
Copyright (c) 2005, Oracle Corporation. All rights reserved..
Interim patches that are installed with Oracle's OPatch Utility can be listed
by invoking the linux> opatch command with the lsinventory option.
We can verify whether the Opatch version for RDBMS release is correct or
not using metalink note [ ID 357221.1.].
OUI vs Opatch
POINTS TO REMEMBER
Always should read the README.txt before applying the patch. This file
contains important information and instructions that must be followed prior to
applying patch.
Generic patches are generally contains a correction for an SQL script (.sql) ,
a PL/SQL script (.sql, .plb), or a Java class. It can be identify from the name of
the patch file: p<patchid>_<release>_GENERIC.zip.
We can no longer remove a patch set that has been applied. When you apply a
patch set, the Oracle version also changes (for example, 10.2.0.2, 10.2.0.4).
If we apply wrong patch to oracle home, we can always rollback the patch
using following comamnd. opatch rollback -id <Patch Number>.
If we facing any regular errors which are not resolved by efforts and should
go to oracle support for those errors and if they recommend to upgrade
then should do the upgrade activity.
Patch no : 6810189
explained separately.