How to view the content of the Oracle control file: Dump

Source: Internet
Author: User
SQL> select name from V $ controlfile//View the storage path of the Control File

 

 
Log on firstSQL * Plus, I useSystem/system @ TestLogin, after entering:
 
SQL>

   

    
     
Conn

    

   /As sysdba
 
Connected
 
SQL> oradebug setmyid
 
SQL> oradebug dump controlf 3

 

 
In this caseControl File dumpToUser_dump_destUnder the directory specified by the initialization parameter,
 
ViewUser_dump_destInitialize parameters:

SQL> show parameter user_dump_dest

Name type value
-----------------------------------------------------------------------------
User_dump_dest string c: \ oracle \ product \ 10.1.0 \ admin
\ Video \ udump





 




In the specified directory, the generatedTRCFile. We can see from the date that it was just generated.

 

Find information:

 
SQL> oradebug help//You can viewOradebugAll commands and explanations
 
SQL> oradebug help setmypid
 
SetmypidDebug current process
 
It indicates debugging the current process.
 
SQL> oradebug help dump
Dump<Dump_name> <LVL> [ADDR]Invoke named dump
 
Call and copy the file.3Yes. It is used to control the downloaded content.
 
Available onlineOradebugDownload the explanatory document:
 
Http://www.itpub.net/477123.html
------------------------------------------------------------
Or:
Two methods:
1. Alter Database Backup controlfile to trace
View the <Sid> _ ora _ <pid>. TRC file in the udmp directory

2. Alter Databse backup controlfiel to file name
Query this file
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.