Solved

A Question about catcpu.sql file related to Oracle patching

Posted on 2012-03-17
2
1,418 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines

828 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