ashdump* scripts and post-load processing of MMNL traces (Doc ID 555303.1)
In this Document
Purpose |
Requirements |
Configuring |
Instructions |
Script |
References |
Applies to:
Oracle Server - Enterprise Edition - Version 10.2.0.1 and laterInformation in this document applies to any platform.
The scripts help upload and process MMNL trace files.
Similar scripts can be found on he Oracle CD companion.
Purpose
The scripts in this document are to be used in conjunction with Document 243132.1 10g and above Active Session History (Ash) And Analysis Of Ash Online And Offline
Script Details
============
1. ashdump_loader Main script to run with one argument. Argument is the the name of the tracefile.
2. ashdump_table.sql Called by the main script to create the table called ASHDUMP.
3. ashdump_sqlldr.ctl Called by main script to load the trace file into table ASHDUMP.
4.ashdump_post.sql Post-Load processing of the data once loaded.
Requirements
SQL*Plus and SQL*Loader 10gR2.
Configuring
1) Place attached scripts in a directory
2) Copy the MMNL files to upload to the same directory
3) $ sqlplus system @ashdump_table.sql
Instructions
1) run ashdump_loader giving as parameter each of the MMNL files to upload.
2) Run once : $ sqlplus system @ashdump_post.sql
Caution
Proofread this sample code before using it! Due to the differences in the way text editors, e-mail packages and operating systems handle text formatting (spaces, tabs and carriage returns), this sample code may not be in an executable state when you first receive it. Check over the sample code to ensure that errors of this type are corrected.
Script
Attached Script
1. Attachment 555303.1:LDRashdump_loader
2. Attachment 555303.1:TBLashdump_table.sql
3. Attachment 555303.1:CTLashdump_sqlldr.ctl
4. Attachment 555303.1:PSTashdump_post.sql
References
|
- ashdump_loader(0.05 KB)
- ashdump_post.sql(0.18 KB)
- ashdump_sqlldr.ctl(1.24 KB)
- ashdump_table.sql(0.08 KB)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1135378/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Common Diagnostic Scripts for AUM problems (Doc ID 746173.1)
- AUM Common Analysis/Diagnostic Scripts (Doc ID 877613.1)
- 修改vip (Doc ID 276434.1)
- dba_enabled_traces 資料
- 你唯一需要的是“Wide Events”,而非“Metrics、Logs、Traces”IDE
- Android APT(Annotation Processing Tool) 實踐AndroidAPT
- Recursive Algorithm for Sliding Signal ProcessingGo
- shell scripts
- Sql scriptsSQL
- HANGFG User Guide (Doc ID 362094.1)GUIIDE
- Multicore processing for client-side Java applicationsclientIDEJavaAPP
- How to Prepare Storage for ASM (Doc ID 452924.1)ASM
- Oracle DBA ScriptsOracle
- Tuning Scripts
- Data Server ScriptsServer
- Android Studio--》Gradle Scripts配置說明AndroidGradle
- oracle資料庫mmnl日誌很大Oracle資料庫
- Android開發簡單教程.docAndroid
- SQLT Diagnostic Tool (Doc ID 215187.1)SQL
- Oracle Text Health Check (Doc ID 823649.1)Oracle
- The DBMS_SUPPORT Package (Doc ID 62294.1)Package
- DBMS_REPAIR example (Doc ID 68013.1)AI
- Overview of Parameter Reference Notes (Doc ID 68462.1)View
- Linux OS Service 'ntpd' (Doc ID 551704.1)Linux
- MMNL absent ,資料庫無法連線資料庫
- 神奇的npm -- scriptsNPM
- 清理日誌 scripts
- dba_dependencies scripts
- Rman Scripts (Linux)Linux
- oracle cold backup scriptsOracle
- DP rman backup scripts
- Oracle 最新PSU (Doc ID 2118136.2)Oracle
- Backup and Recovery Scenarios (Doc ID 94114.1)iOS
- * Master Note: Database Performance Overview (Doc ID 402983.1)ASTDatabaseORMView
- HP-UX: Asynchronous i/o (Doc ID 139272.1)UX
- Troubleshooting Database Hang Issues (Doc ID 1378583.1)Database
- No Response from the Server, Does it Hang or Spin? (Doc ID 68738.1)Server
- How to Duplicate a Database in NOARCHIVELOG mode (Doc ID 275480.1)DatabaseHive