Solved

A Question about catcpu.sql file related to Oracle patching

Posted on 2012-03-17
2
1,486 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

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…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
Via a live example, show how to take different types of Oracle backups using RMAN.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
Suggested Courses

628 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