You are on page 1of 4

12/26/2018 opatch apply – Talip Hakan Ozturk's ORACLE BLOG


Talip Hakan Ozturk's ORACLE BLOG

The secret of success is at your fingertips!…

Tag: opatch apply

How To Enable HCC (Hybrid


Columnar Compression) in Oracle
Databases Running On ZFS
Storage Appliance?

ON FEBRUARY 11, 2013 / BY TALIPHAKANOZTURK / IN


HCC (HYBRID COLUMNAR COMPRESSION), ZFS STORAGE
APPLIANCE / 1 COMMENT
HCC (Hybrid Columnar Compression) is appeared only with Exadata
but has recently become available to Oracle Databases using ZFS
Storage Appliance and Pillar as the database storage. HCC is actually
free with Oracle Database Enterprise Edition. No additional database
options and no additional ZFS Storage Appliance options are required.
HCC requires Oracle Database version 11.2.0.3. To enable HCC in
Oracle Databases running on ZFS Storage Appliance, we need to install
patch set update of 13343438.

1- Determine whether any currently installed one-off patches conflict


with the psu (patch set update) as follows.

unzip p13343438_112030_Linux-x86-64.zip
opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir ./13343438

Note: Please download correct psu file for your platform


(p13343438_11203_.zip)

2- Set your current directory to the directory where the patch is located
and then run the OPatch utility as follows.

https://taliphakanozturken.wordpress.com/tag/opatch-apply/ 1/4
12/26/2018 opatch apply – Talip Hakan Ozturk's ORACLE BLOG

cd 13343438
$ORACLE_HOME/OPatch/opatch apply

3- The following step loads modified SQL files into the database. For a
RAC environment, perform these steps on only one node. For each
database instance running on the Oracle home being patched, connect
to the database using SQL*Plus and run the catbundle.sql script as
follows.

cd $ORACLE_HOME/rdbms/admin
sqlplus / as sysdba
SQL> STARTUP
SQL> @catbundle.sql psu apply

4- Check the following log files for any errors.

vi $ORACLE_BASE/cfgtoollogs/catbundle/catbundle_PSU__APPLY_.log
vi
$ORACLE_BASE/cfgtoollogs/catbundle/catbundle_PSU__GENERATE_.log

5- If you are using the RMAN, the catalog needs to be upgraded. Enter
the following command to upgrade catalog.

rman catalog username/password@tns


RMAN> UPGRADE CATALOG;

Now, you can use HCC in Oracle Databases running on Oracle ZFS
Storage Appliance.

Talip Hakan Öztürk

Advertisements

Oracle Software Patching Using


OPatch – Interim Patches

ON NOVEMBER 1, 2011MARCH 27, 2012 / BY


TALIPHAKANOZTURK / IN DATABASE UPGRADE, ORACLE
TOOLS / 1 COMMENT
OPatch is an Oracle utility that assists you to apply interim patches to
Oracle’s rdbms software. You can find opatch utility in
$ORACLE_HOME/Opatch directory. For example, let’s apply patch
number 8943287 to our 10.2.0.5 database.

Applying Patch:

1- Backup Oracle Home directory.


https://taliphakanozturken.wordpress.com/tag/opatch-apply/ 2/4
12/26/2018 opatch apply – Talip Hakan Ozturk's ORACLE BLOG

$ tar -cf ora10g.tar ora10g

2- Download patch file p8943287_10205_Linux-x86-64.zip via metalink.


And copy it to database server.

3- Unzip the patch file.

$ unzip p8943287_10205_Linux-x86-64.zip

4- Apply patch with opatch utility.

$ cd 8943287

$ ORACLE_HOME/OPatch/opatch apply

To see list of applied patches :

$ORACLE_HOME/OPatch/opatch lsinventory

For example:

$ORACLE_HOME/OPatch/opatch lsinventory

Invoking OPatch 10.2.0.4.9

Oracle Interim Patch Installer version 10.2.0.4.9

Copyright (c) 2009, Oracle Corporation. All rights reserved.

Oracle Home : /oracle/ora10g

Central Inventory : /oracle/oraInventory

from : /etc/oraInst.loc

OPatch version : 10.2.0.4.9

OUI version : 10.2.0.5.0

OUI location : /oracle/ora10g/oui

Log file location : /oracle/ora10g/cfgtoollogs/opatch/opatch2011-10-


28_12-14-12PM.log

Patch history file: /oracle/ora10g/cfgtoollogs/opatch/opatch_history.txt

Lsinventory Output file location :


/oracle/ora10g/cfgtoollogs/opatch/lsinv/lsinventory2011-10-28_12-14-
12PM.txt

——————————————————————————–

Installed Top-level Products (3):

https://taliphakanozturken.wordpress.com/tag/opatch-apply/ 3/4
12/26/2018 opatch apply – Talip Hakan Ozturk's ORACLE BLOG

Oracle Database 10g 10.2.0.1.0

Oracle Database 10g Release 2 Patch Set 3 10.2.0.4.0

Oracle Database 10g Release 2 Patch Set 4 10.2.0.5.0

There are 3 products installed in this Oracle Home.

Interim patches (2) :

Patch 8943287 : applied on Fri Oct 21 20:39:46 EEST 2011

Unique Patch ID: 12722995

Created on 23 Aug 2010, 11:45:16 hrs PST8PDT

Bugs fixed:

8943287

——————————————————————————–

Rollback applied patch:

Sometimes a patch is applied to the system may need to take back


because of its effect. In this case, rollback is performed as follows.

$ORACLE_HOME/OPatch/opatch rollback -id 8943287

Talip Hakan ÖZTÜRK

CREATE A FREE WEBSITE OR BLOG AT WORDPRESS.COM.

https://taliphakanozturken.wordpress.com/tag/opatch-apply/ 4/4

You might also like