Opatch打补丁

本文档详细介绍了如何在Oracle数据库中安装和卸载CPU补丁。包括RAC环境和非RAC环境的安装步骤,以及补丁安装后的SQL文件加载和数据库检查。在安装过程中,需确保正确执行OPatch utility,并根据环境关闭实例和监听器。在卸载补丁时,需要执行特定的回滚脚本,并检查日志文件以确认无错误。
摘要由CSDN通过智能技术生成

1、下载了oracle的一个cpu的补丁,想打一下这个补丁
cpu的自许文件中有安装的步骤:

3.2.1 Patch Installation Instructions

Follow these steps:

  1. If you are using a Data Guard Physical Standby database, you must install this patch on both the primary database and the physical standby database, as described by My Oracle Support Note 278641.1.

  2. Do one of the following, depending on whether this is a RAC environment:

    • If this is a RAC environment, choose one of the patch installation methods provided by OPatch (rolling, all node, or minimum downtime), and shutdown instances and listeners as appropriate for the installation method selected.

      This CPU patch is rolling RAC installable. Refer to My Oracle Support Note 244241.1 Rolling Patch - OPatch Support for RAC.

    • If this is not a RAC environment, shut down all instances and listeners associated with the Oracle home that you are updating. For more information, see Oracle Database Administrator's Guide.

  3. Ensure that the $PATH has the following executables: makearld, and nm.

    The location of these executables depends on your operating system. On many operating systems, they are located in /usr/ccs/bin, in which case you can set your PATH as follows:

    export PATH=$PATH:/usr/ccs/bin
    
  4. Set your current directory to the directory where the patch is located and then run the OPatch utility by entering the following commands:

    unzip p13632717_112030_<platform>.zip
    cd 13632717
    opatch napply -skip_subset -skip_duplicate
    

    Should OPatch return conflicts or subsets, refer to Section 3.1.1, "n-Apply CPUs and Patch Conflict Checking" for additional options.

  5. If there are errors, refer to Section 4, "Known Issues".

3.2.2 Patch Post-Installation Instructions

After installing the patch, load modified SQL files into the database, as explained in 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值