Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determine Size of Control File

Status
Not open for further replies.

Michael42

Programmer
Joined
Oct 8, 2001
Messages
1,454
Location
US
Hello,

In Oracle 9i on Solaris, how can I determine the current size of the control file?

I cannot look at the file itself as it is on a raw device. OEM gives various stats on the control file but I'm not sure which one should be interpreted as the physical file size.

Thanks for your help,

Michael42
 
The easy and possibly only way I can think of is at the OS level do a ls -altr / or df -k the solaris equivalent on the file
 
donkeyhote,

Thanks for posting. Normally your technique would work but because I am on a clustered file system OS commands cannot determine this.

I have found a solution that I would like to share. :-)

Code:
Alter database backup controlfile to 'filesystem_where_oracle_can_write.ctl';

The size of that file will give you the size of your current controlfile.

Thanks,

Michael42
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top