Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

A Question about catcpu.sql file related to Oracle patching

Posted on 2012-03-17
2
Medium Priority
?
1,569 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:Pradeep Siriwardana
  • 2
2 Comments
 
LVL 16

Accepted Solution

by:
Wasim Akram Shaik earned 1500 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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

Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to recover a database from a user managed backup
Suggested Courses

916 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