Oracle数据库实用脚本
Script:收集Enterprise Manager Grid Control/Agent/Database Control診斷信息 Script:收集Exadata診斷信息 Script:收集RAC診斷信息 Script:收集自動SGA內存管理ASMM診斷信息 Script:Collect vip resource Diagnostic Information 11g新特性:hangdiag.sql實例hang診斷腳本 Script:verify Oracle Object timestamp discrepancy Script:SQL調優健康檢查腳本 Script:列出本會話的細節信息 利用rowid分塊實現非分區表的并行update與delete Script:計算Oracle Streams進程所占用的內存大小 利用RMAN檢測數據庫壞塊的腳本 Script:利用外部表實現SQL查詢Oracle告警日志Alert.log Script: 收集RAC DRM 診斷信息 Script:10g中不用EM顯示Active Session Count by Wait Class Script:數據庫最近的性能度量 Script:收集數據庫中用戶的角色和表空間等信息 Script:收集介質恢復診斷信息 Script:收集Flashback Database Log診斷信息 Script:列出Oracle每小時的redo重做日志產生量 Script:收集11g Oracle實例IO性能信息 Script:檢查數據庫當前是否有備份操作在執行中 Script:List Schema/Table Constraints Script:RAC Failover檢驗腳本loop.sh Script:Diagnostic Resource Manager Script:List Grid Control Jobs Script:GridControl Repository Health Check Script:診斷Scheduler信息 Script:優化crs_stat命令的輸出 Script:Diagnostic Oracle Locks Script:列出用戶表空間的定額 Backup Script:Expdp Schema to ASM Storage Script:Speed Up Large Index Create or Rebuild Script:列出失效索引或索引分區 Script:列出數據庫中5%以上鏈式行的表 Script:列出沒有主鍵或唯一索引的表 Script:收集ASM診斷信息 Script:收集Oracle備份恢復信息 監控一個大事務的回滾 Script to Collect DB Upgrade/Migrate Diagnostic Information (dbupgdiag.sql) Script:partition table into rowid extent chunks Script:Oracle EBS數據庫初始化參數健康檢查腳本 Script:Monitoring Memory and Swap Usage to Avoid A Solaris Hang SQL腳本:監控當前重做日志文件使用情況 Streams Health Check on 10g Release 2 從視圖查詢表分區的相關信息 Script To Monitor RDBMS Session UGA and PGA Current And Maximum Usage Over Time Script:收集RAC性能診斷信息 Script:收集UNDO診斷信息 Script:列出數據庫中子表上沒有對應索引的外鍵 Script: Listing Memory Used By All Sessions Collecting Diagnostic Data for OCFS2 Issues Script to Identify Objects and Amount of Blocks in the Buffer Pools – Default, Keep, Recycle, nK Cache Script:Generate A DDL Script For A Table SCRIPT TO CHECK FOR FOREIGN KEY LOCKING ISSUES 如何找出Oracle中需要或值得重建的索引 Script:Diagnostic ORA-01000 maximum open cursors exceeded ORA-4030 PGA Usage Diagnostic Script Script:Tune Very Large Hash Join Script to Collect Log File Sync Diagnostic Information (lfsdiag.sql) Script:List Buffer Cache Details Script:List NLS Parameters and Timezone Script:List SORT ACTIVITY Script:List OBJECT DEPENDENT Script:Logfile Switch Frequency Map Script:Tablespace Report Script:收集數據庫安全風險評估信息 腳本:格式化的V$SQL_SHARED_CURSOR報告 腳本:監控并行進程狀態 腳本:監控數據庫中的活躍用戶及其運行的SQL 腳本:監控臨時表空間使用率 Script to show Active Distributed Transactions Gather DBMS_STATS Default parameter Script:Datafile Report Script to Collect Data Guard Diagnostic Information Script:To Report Information on Indexes ORA-4031 Common Analysis/Diagnostic Scripts Script:when transaction will finish rollback Script: Computing Table Size Script to Detect Tablespace Fragmentation "hcheck.sql" script to check for known problems in Oracle8i, Oracle9i, Oracle10g and Oracle 11g Script to Prevent Excessive Spill of Message From the Streams Buffer Queue To Disk Oracle Systemstate dump analytic tool: ASS.AWK V1.09 SCRIPT TO GENERATE SQL*LOADER CONTROL FILE
轉載于:https://blog.51cto.com/maclean/1278254
總結
以上是生活随笔為你收集整理的Oracle数据库实用脚本的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Dev控件使用 - 皮肤
- 下一篇: 使用 Apache OpenJPA 开发