Escolar Documentos
Profissional Documentos
Cultura Documentos
http://fatdba.com/2013/03/29/what-and-whycatbundle-sql/
https://learnwithme11g.wordpress.com/tag/catbun
dle-sql/
Types of patches
1) Patchset : A group of patches form a patch set. Patchsets are
applied by invoking OUI (Oracle Universal Installer) . Patchsets are
generally applied for Upgradation purpose . This results in a version
change for our Oracle software, for example, from Oracle Database
11.2.0.1.0 to Oracle Database 11.2.0.3.0.
I.
II. Patch Set Updates (PSU) are the same cumulative patches that
include both the security fixes and priority fixes. The key with PSUs
is they are minor version upgrades (e.g., 11.2.0.1.1 to 11.2.0.1.2).
Once a PSU is applied, only PSUs can be applied in future
quarters until the database is upgraded to a new base version.
III. Security Patch Update (SPU) terminology is introduced in the
October 2012 Critical Patch Update as the term for the quarterly
security patch. SPU patches are the same as previous CPU patches,
just a new name . For the database, SPUs can not be applied once
PSUs have been applied until the database is upgraded to a new
base version.
IV. Bundle Patches are the quarterly patches for Windows and Exadata
which include both the quarterly security patches as well as
recommended fixes.
On the patch search section enter patch number and select the platform of
your database.
Click search.
On the search results page, download the zip file.
4) Check Conflicts:
Run the following command to check whether there are any conflicts among
the patches to be applied, which will check if there are any conflicts among
the patches to be applied, by giving out the detailed information about the
conflicts/supersets:
opatch prereq CheckConflictAgainstOHWithDetail
-phBaseDir ./12827726
If result is passed and succeeded then there is no conflict.
7) Apply OPatches:
Set our current directory to the directory where the patch is located and then
run the OPatch utility by entering the following commands:
$ export PATH=$ORACLE_HOME/OPatch:$PATH:
$ opatch apply
8) Post Installation:
Once, the Opatch installation completed successfully. Perform the post
Installation steps . Startup the oracle database with new patched
software and run catbundle.sql scripts which is found in
$ORACLE_HOME/rdbms/admin directory .
sql> @catbundle.sql cpu apply (or run
'@?/rdbms/admin/catbundle.sql cpu apply' )
sql> @catbundle.sql psu apply (or run
'@?/rdbms/admin/catbundle.sql psu apply' )
from dba_registry_history
order by action_time
Notes :
i) If we are using a Data Guard Physical Standby database, we must install
this patch on both the primary database and the physical standby
database .
ii.) While applying patching take care of mount point status .There should be
sufficient Space .