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 Qt Designed Ui fileQTUI
- 翻譯|How to Use the useReducer HookuseReducerHook
- How to Dump Redo Log File Information --metalinkORM
- How to Use the Stdin, Stderr, and Stdout Streams in Bash
- How to use “cat” command on “find” command's output?
- React 16.0+ 新特性初探(How to use)React
- Linguistics-English-Would, Should, and Could: How to Use Them CorrectlyNGUI
- [20190522]How to get dump or list parameters set at session level.txtSession
- oracle之 如何 dump logfileOracle
- How to use VS Code to debug Next.js applications All In OneJSAPP
- Linux Use ODBC Connect OracleLinuxOracle
- Quartz叢集增強版_00.How to use?(如何使用)quartz
- How Oracle Store Number internal(zt)Oracle
- How to Install EMC PowerPath on Oracle VM 3.4Oracle
- use azure data studio to create external table for oracleOracle
- Oracle redo解析之-2、BBED & DUMP工具使用Oracle Redo
- How To Deal With Split Brain In Oracle 19c RacAIOracle
- Oracle 12.2 How to Generate AWRs in Active Data Guard Standby DatabasesOracleDatabase
- [20221222]How to Enable and Disable Database Options in oracle 11g.txtDatabaseOracle
- How To Deal With Split Brain In Oracle 19c Rac-202203AIOracle
- How To Replicate Data from Oracle to Postgres Using GoldenGate (Doc ID 1544137.1OracleGo
- oracle資料庫瘋狂生成dump把目錄撐滿Oracle資料庫
- 【轉載】Kano Model — Ways to use it and NOT use it
- 7.81 DUMP
- 高通進dump和抓取解析dump log
- nginx useNginx
- How to ssh
- Be better to use NPMNPM
- WireGuard Use Notes
- plsql use skillsSQL
- How to find dependency
- JVM dump和分析JVM
- ASM Metadata Dump UtilityASM
- Linux core dump使用Linux
- Use PHP7PHP
- efcore This MySqlConnection is already in useMySql
- the NTP socket is in use, exiting
- [Typescript] Use Bitwise FlagsTypeScript
- [Vue] Use render functionVueFunction