Solved

view control file

Posted on 2013-06-26
4
220 Views
Last Modified: 2013-07-13
I cannot see the controfile

.ctl is not viewable

It is not in readable format
The purpose is to run the controlfile script
0
Comment
Question by:walkerdba
  • 2
4 Comments
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39279909
Oracle control files are binary.  You should NEVER try to edit one.

What are you trying to do?
0
 
LVL 23

Accepted Solution

by:
David earned 500 total points
ID: 39279930
To view a copy:
ALTER DATABASE backup controlfile to trace;

Find the trace file and view the readable output.
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39279936
If you use the above code, it's a pain to track down the correct trace file.

You can simplify it by providing the path.

For example in Unix:
ALTER DATABASE backup controlfile to trace '/tmp/myfile.txt';
0
 

Author Closing Comment

by:walkerdba
ID: 39324249
yes
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

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the dā€¦
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 shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
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

762 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

22 Experts available now in Live!

Get 1:1 Help Now