LogMiner 學習
Using LogMiner :
To run LogMiner , you use two PL/SQL packages:
l DBMS_LOGMNR
Contains the procedures necessary to initialize and run LogMiner. These procedures include interfaces to specify log filenames,filter criteria, and LogMiner session characteristics.
l DBMS_LOGMNR_D
Queries the dictionary tables of the current database and creates a LogMiner dictionary file.
LogMiner Views :
V$LOGMNR_CONTENTS
V$LOGMNR_DICTIONARY
V$LOGMNR_LOGS
V$LOGMNR_PARAMS
UTL_FILE_DIR :
Steps in a typical LogMiner session:
1 , Extracting a Dictionary
2 , Specifying Redo Log Files for Analysis
3 , Starting LogMiner
4 , Analyzing Output from V$LOGMNR_CONTENTS
5 , Using LogMiner to Perform Object-Level Recovery
6 , Ending a LogMiner Session
Steps in a typical LogMiner session
--- Extracting a Dictionary
------- Extracting the Dictionary to a Flat File
1 , set UTL_FILE_DIR = "d:database_backuputl_file_dir"
2 , sqlplus> startup
3 , sqlplus> execute dbms_logmnr_d.build('dictionary.ora','d:database_backuputl_file_dir',options=>DBMS_LOGMNR_D.STORE_IN_FLAT_FILE);
--- Specifying Redo Log Files for Analysis
------- Specifying Redo Log Files for Analysis
1 , startup
2 , execute DBMS_LOGMNR.ADD_LOGFILE(LOGFILENAME=>'',OPTIONS=>DBMS_LOGMNR.NEW);
execute DBMS_LOGMNR.ADD_LOGFILE(LOGFILENAME=>'',OPTIONS=>DBMS_LOGMNR.ADDFILE);
execute DBMS_LOGMNR.ADD_LOGFILE(LOGFILENAME=>'',OPTIONS=>DBMS_LOGMNR.REMOVEFILE);
--- Starting LogMiner
--- Analyzing Output from V$LOGMNR_CONTENTS
--- Using LogMiner to Perform Object-Level Recovery
--- Ending a LogMiner Session
1 , set UTL_FILE_DIR = "d:database_backuputl_file_dir"
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/66634/viewspace-809060/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle logminer學習Oracle
- logminer工具的學習
- 有關logminer的學習:
- Oracle LogMinerOracle
- LogMiner詳解
- logminer總結
- 使用LogMiner工具
- [zt] Oracle LogMinerOracle
- Oracle logminer(轉)Oracle
- Logminer日誌挖掘
- DBA 分析利器 LogMiner
- LogMiner 用法淺談
- Oracle Logminer 說明Oracle
- LOGMINER日誌分析
- LogMiner 字典安裝
- logminer 日誌分析案例
- logminer抽取日誌案例
- ORACLE logminer 日誌挖掘Oracle
- (轉)Oracle Logminer 說明Oracle
- oracle之logminer的使用Oracle
- Oracle高可用之LogMinerOracle
- oracle 10g logminerOracle 10g
- 安裝oracle 的LogMinerOracle
- 學習學習再學習
- 【Oracle】Oracle logminer功能介紹Oracle
- logminer日誌挖掘技術
- ORACLE的日誌挖掘 logminerOracle
- 記一次Oracle logminerOracle
- [zt] Oracle LogMiner 終結版Oracle
- 安裝和使用LogMiner工具
- logminer如何安裝配置使用
- LogMiner的安裝和使用
- LOGMINER的記憶體消耗記憶體
- 淺談LogMiner的使用 (轉)
- Logminer如何檢視日誌
- 深度學習——學習目錄——學習中……深度學習
- 使用oracle的logminer同步資料Oracle
- Oracle 12c logminer測試Oracle