In Oracle,How to use dump
It is often useful to dump the internal contents of Oracle internal structures such as the control files, library cache, and redo log headers. The following undocumented Oracle commands can be used for this purpose.
For each of these commands, a trace file will be generated in your UDUMP directory. After issuing the command, you can go to your UDUMP directory to view the contents of the dump.
[@more@]1 – SCN Dump - This command dumps the control file contents to see SCN information. The SCN information is especially useful when doing a database recovery.
alter session set events 'immediate trace name CONTROLF level 10';
2 – File Header Dump - Here is the command to dump file headers. This dump is also quite useful if you have a corrupt database or a failure from rman in doing a database recovery.
alter session set events 'immediate trace name FILE_HDRS level 10';
3 - Dump redo log headers – This command will dump all of the redo log header information.
alter session set events 'immediate trace name REDOHDR level 10';
4 – System state dump – This command will dump the system state to your trace file.
alter session set events 'immediate trace name SYSTEMSTATE level 10';
5 – Process state dump – This command will dump the process state for all active processes in your database:
alter session set events 'immediate trace name PROCESSSTATE level 10';
6 – Library Cache Dump – This command is very useful for examining library Cache details, especially when you are having high library cache reloads or SQL access contention:
alter session set events 'immediate trace name library_cache level 10';
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/38542/viewspace-941175/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- How to use hints in Oracle sql for performanceOracleSQLORM
- how to use typeset?
- how to use coffee script
- 翻譯|How to Use the useReducer HookuseReducerHook
- how to use ghd hair straightenerAI
- How to use Form6i connect Oracle 10gORMOracle 10g
- How to use Qt Designed Ui fileQTUI
- How to use rman backup a noarchivelog databaseHiveDatabase
- How to use sql result stored on shell variable?SQL
- How to use "for/" batch command in Dos extentionBAT
- How To Use Virtual Column-Based Partitioning
- How to use the Automatic Database Diagnostic Monitor(一)Database
- React 16.0+ 新特性初探(How to use)React
- How to use ASMCA in silent mode to configure ASMASM
- how to use oidpasswd to admin your AS/OID account
- GPFS use with OracleOracle
- oracle dump blockOracleBloC
- ORACLE BLOCK DUMPOracleBloC
- ORACLE dump kshOracle
- oracle dump 命令Oracle
- How To Use Google Logging Library (glog)Go
- How to: Use Resources to Set Property Values in Web Server ControlsWebServer
- oracle hint_use_concat_use_nl_with_indexOracleIndex
- oracle dump詳解Oracle
- oracle dump 函式Oracle函式
- oracle dump commandOracle
- Oracle dump函式Oracle函式
- Oracle常用dump命令Oracle
- dump oracle events(轉)Oracle
- Oracle 常用dump命令Oracle
- How Oracle Works!Oracle
- How to Study OracleOracle
- How To Use DBMS_ADVISOR.TUNE_MVIEW Tuning Materialized ViewsViewZed
- Api32 keygen: learn how to use RSA (4千字)API
- How to config JBoss to use log4j and jdk1.5JDK
- Linguistics-English-Would, Should, and Could: How to Use Them CorrectlyNGUI
- Oracle的dump函式Oracle函式
- 轉:Oracle常用dump命令Oracle