Solved

A Question about catcpu.sql file related to Oracle patching

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
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.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

776 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