Solved

A Question about catcpu.sql file related to Oracle patching

Posted on 2012-03-17
2
1,361 Views
Last Modified: 2012-06-21
Dear Sir,

While I am reading README files of Oracle CPU patches, I saw every time after patched DB, we have to run a file called catcpu.sql

My questions here are,

(1). What is this file and what is the purpose of this?

(2). With each and every Oracle CPU patch, Does Oracle send this file?

(3). After apply Oracle CPU patch, should  we run this file definitly? if not what will be happened?

Thank You in advance.
Pradeep.
0
Comment
Question by:uompradeep
  • 2
2 Comments
 
LVL 16

Accepted Solution

by:
Wasim Akram Shaik earned 500 total points
ID: 37734146
(1). What is this file and what is the purpose of this?

Catcpu.sql inturn calls a script called catbundle.sql which is located under $ORACLE_HOME/rdbms/admin

This script will load sql files in database by looking in bundledata_CPU.xml for file information for particular patch. It will be creating a dynamic apply sql file and run it.



(2). With each and every Oracle CPU patch, Does Oracle send this file?

--Yes

(3). After apply Oracle CPU patch, should  we run this file definitly? if not what will be happened?

Its simple, some of the data which is a part of the the patching activity doesn't get applied to db, due to which the patch may not work properly...

Same question has been asked in numerous forums in the past years, just google it, here are some of the references to those sites

https://kr.forums.oracle.com/forums/thread.jspa?threadID=855641
http://www.forum.askdba.org/topic/cpu-patch-and-catcpusql
0
 
LVL 16

Expert Comment

by:Wasim Akram Shaik
ID: 37793706
author, can i know the reason for the grade penalty???

wasn't the question answered well?? if yes, then can you let me know what more were you expecting in this??
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now