Atikh's DBA blog
  • Home
  • Oracle
  • MySQL
  • MongoDB
  • PostgreSQL
  • Snowflake
  • About Me
  • Contact Us

Oracle Patching Process and Commands

 Atikh Shaikh     oracle     No comments   

Keeping Oracle database software up to date is crucial for maintaining system security, stability, and performance of the database. Below, we will see a structured approach to patching Oracle environments using OPatch, Oracle’s patching utility. Let’s break down the process and commands in detail.

Types of Oracle Patches

Patch Type

Description

Typical Use

One-Off Patch

Fixes a single issue

Urgent bug fix

PSU (Patch Set Update)

Security and bug fixes

Regular maintenance

RU (Release Update)

Security, bug, and functional fixes

Broader updates

RUR (Release Update Revision)

Smaller revision of RU

Minor improvements

 


Follow these steps for a smooth and safe patching experience in production environments:

1 .Check Current Version

SELECT * FROM v$version;

Confirms the current Oracle version before applying any patch

 

2. Plan & Take Backup

Use RMAN for database backup and copy the Oracle Home directory.

 

3. Pre-Patch Checks

Verify patch readiness, available space, and potential conflicts.

 

4. Stop Services 

Shutdown Database, Listener, and ASM if required to prevent conflicts.

 

5. Apply Patch

opatch apply

 

6. Run Datapatch

datapatch -verbose

Updates the database dictionary and applies SQL changes.



7. Start Services

Start the services, such as the database, listener, or ASM.

 

8. Verify Patch

opatch lsinventory

SELECT * FROM dba_registry_sqlpatch;

 

  • Share This:  
  •  Facebook
  •  Twitter
  •  Instagram
  •  Pin
  •  linkedin
  •  reddit
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Author

Atikh Shaikh
View my complete profile

Categories

  • MongoDB (18)
  • Oracle 12c (30)
  • Oracle12cR2 New Feature (3)
  • PostgreSQL (21)
  • RMAN (10)
  • Snowflake (8)
  • mysql (23)
  • oracle (75)

Blog Archive

  • ►  2018 (38)
    • ►  November (25)
    • ►  December (13)
  • ►  2019 (33)
    • ►  January (15)
    • ►  February (6)
    • ►  March (2)
    • ►  April (5)
    • ►  May (5)
  • ►  2020 (5)
    • ►  April (1)
    • ►  May (2)
    • ►  July (2)
  • ►  2021 (8)
    • ►  June (3)
    • ►  July (3)
    • ►  August (1)
    • ►  December (1)
  • ►  2022 (33)
    • ►  May (3)
    • ►  June (10)
    • ►  July (3)
    • ►  August (4)
    • ►  September (8)
    • ►  October (3)
    • ►  November (2)
  • ►  2023 (14)
    • ►  February (1)
    • ►  April (5)
    • ►  May (2)
    • ►  June (1)
    • ►  September (1)
    • ►  October (1)
    • ►  December (3)
  • ►  2024 (5)
    • ►  January (2)
    • ►  March (3)
  • ►  2025 (7)
    • ►  March (1)
    • ►  April (3)
    • ►  May (2)
    • ►  August (1)
  • ▼  2026 (3)
    • ►  January (1)
    • ▼  May (2)
      • Oracle Patching Process and Commands
      • Oracle AI Database 26ai: Redefining Operational Co...

Popular Posts

Labels

oracle Oracle 12c mysql PostgreSQL MongoDB oracle 19c Oracle23c oracle19c Orale PDB-CDB oracle12c python AWS Oracle ASM Virtualbox pluggable database storage engine

Pages

  • Disclaimer
  • Privacy Policy

Follow TechnoDBA

Copyright © Atikh's DBA blog | Powered by Blogger