Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Oracle 12C: database PSU patch installation

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

I. Description of environment

Red Hat Enterprise Linux Server release 7.2 (Maipo)

Oracle Release 12.1.0.2.0

II. Installation Package Download

p6880880_121010_Linux-x86-64.zip

p25171037_121020_Linux-x86-64.zip

III. Verification before PSU installation

decompression

unzip p25171037_12102_.zip

pre-installation checks

cd 25171037

opatch prereq CheckConflictAgainstOHWithDetail -ph ./

IV. Patching

Unzip p6880880_121010_Linux-x86-64.zip to ORACLE_HOME

patching

opatch apply

Kaiku

Update data dictionary

cd $ORACLE_HOME/OPatch

./ datapatch -verbose

V. Verification

OPATCH

opatch lsinventory

SQL

SELECT PATCH_ID, VERSION, ACTION, STATUS, ACTION_TIME FROM DBA_REGISTRY_SQLPATCH; VI, 12c Change--Datapatch

Datapatch determines the required application/rollback operation by matching an internal repository with the patch inventory. Datapatch resides in the opatch directory, the $ORACLE_HOME/OPatch folder.

Database 12c Datapatch supports Oracle multi-tenancy and simplifies and speeds the patching of multiple databases.

Which patch tools use Datapatch?

Opatchauto

OPatchAuto automatically calls datapatch to complete the binary patch installation and restart the post patch operation.

Enterprise Manager Cloud Control

Starting with version 12.1, EMCC now calls datapatch to perform post patch operations after any 12c or later database restart

upgrade

Catctl.pl and DBUA now invoke Datapatch during upgrade

OPatch

Integration of Datapatch with OPatch is impossible. Because OPatch executes when the database is closed, datapatch requires that the database be open to complete its activity.

SQL Patch Registry table

This table contains information about which SQL patches have been applied and/or rolled back to a given database. Each database has a SQL patch registry, so if you run multiple databases in the same Oracle home, each database has its own SQL patch registry.

To check datapatch entries in the registry, type the following command from an SQL prompt:

SELECT PATCH_ID, VERSION, ACTION, STATUS, ACTION_TIME FROM DBA_REGISTRY_SQLPATCH;

Database 12.1.0.2 feature enhancements

The following enhancements were introduced in Database 12c Patch Set 12.1.0.2:

dba_registry_history is no longer used as patch information

datapatch -rollbackall option is available to roll back all currently installed SQL patches

Catbundle is integrated into datapatch

Datapatch supported patch types:

"Napply" Patch

Composite Patches

One-off Patches

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report