SlideShare una empresa de Scribd logo
1 de 12
Descargar para leer sin conexión
Oracle 数据库存储结构健康检查
ParnassusData 诗檀软件
Senior Product Management Director
Maclean Liu
古希腊的Delphi(世界中心),屹立着Parnassus
Mount(诗檀山),山上有一座阿波罗神庙,庙中住着
女祭司(Oracle)
Oracle 数据库存储结构健康检查 常见手段
• 11g以前Hcheck脚本检测数据字典完整性、一致性
• 11g以后Health Monitor Checks ,DBMS_HM DBKH、KTUD
• Log Scanner 日志扫描
• ASM Health Checker
• Etc
• hcmon - Health Check Monitor
• dbping - DBping Monitor
• logscan - Log Scanner Monitor
• ParnassusData recovery managerHM
• ORACLE 健康监控设计文档HM_INV.doc
• http://docs.oracle.com/cd/B28359_01/server.111/b28310/diag0
07.htm#ADMIN11273
Hcheck脚本
• 一个纯粹的SQL脚本
• 其输出如OPRHAN TAB$、TABPART$
• hcheck.sql 2013年3月最后一次更新
• 本质上是hcheck package
• 典型的查询如下:
11g Health Monitor Checks
• Dbkh DBK Health monitor main layer、 KTU
Diagnosability etc
– Checks for dictionary consistency
– Checks for data corruptions
– Checks for undo/redo corruptions
– Checks for memory corruptions and fragmentation issues
– Checks for RAC (global cache and global enqueues) issues
– Checks for Shared cursors (unusual growth of child
cursors)
11g Health Monitor Checks
• DB Structure Integrity Check
• Data Block Integrity Check
• Redo Integrity Check
• Transaction Integrity Check
• Undo Segment Integrity Check
• Dictionary Integrity Check
Asm health check
• kfhm.c - Kernel Files Health Monitor Checker functions
• Checkers in 11.2
• Allocation failure due to OutOfSpace errors
• Mount failure due to MissingDisks
• Add/Online disk failure due to ClusterwideVisibility
issues
• FileDrop fails
• Mount failure due to InsufficientDisks
• Mount failure due to TooManyOfflineDisks
字典检测
• prvtsqtk.sql - Package for building SQL
Toolkit Checker Meta-data
• The Component for these checks will be
DICTIONARY with a sub component of
CORE_DICTIONARY
• Single row checks will be named
<object_name>_single_row_check
• Cross Row checks will be named
<object_name>_cross_row_check
• Relationship checks will be named
<object_name>_relationship_check
字典检测
• Dictionary Integrity Check—This check examines the
integrity of core dictionary objects, such as tab$ and col$.
It performs the following operations:
– Verifies the contents of dictionary entries for each dictionary
object.
– Performs a cross-row level check, which verifies that logical
constraints on rows in the dictionary are enforced.
– Performs an object relationship check, which verifies that parent-
child relationships between dictionary objects are enforced.
• The Dictionary Integrity Check operates on the following
dictionary objects:
• tab$, clu$, fet$, uet$, seg$, undo$, ts$, file$, obj$, ind$,
icol$, col$, user$, con$, cdef$, ccol$, bootstrap$, objauth
$, ugroup$, tsq$, syn$, view$,typed_view$, superobj$, seq$,
lob$, coltype$, subcoltype$, ntab$, refcon$, opqtype$, depen
dency$, access$, viewcon$, icoldep$, dual$, sysauth$,objpriv
$, defrole$, and ecol$.
其他检测
• krbb0.h - Kernel Recovery Backup/restore Backup
private declarations Design Specification for
Transaction Layer Diagnosability 11gR1
• ktud.h - KTU Diagnosability undo
• kcidr.h - Kernal Cache Intelligent Data Repair
Header
• dbkstk.c - Database Kernel Sql ToolKit
我们要做的
• Dictionary 字典检测 -- 比较清晰
• ASM检测 --比较清晰
• Undo、Redo、transaction 技术上复杂,是否考虑
做?
Thank You
www.parnassusdata.com
+86 13764045638

Más contenido relacionado

Destacado

B2 b social media marketing summit london final presentation uehss_haywardfinal
B2 b social media marketing summit london final presentation uehss_haywardfinalB2 b social media marketing summit london final presentation uehss_haywardfinal
B2 b social media marketing summit london final presentation uehss_haywardfinal
Björn Ühss (500+) ★ Bjoern Uehss
 
Comparison table jan lokpal bill govt lokpal bill and ncpri drafts
Comparison table  jan lokpal bill govt lokpal bill and ncpri draftsComparison table  jan lokpal bill govt lokpal bill and ncpri drafts
Comparison table jan lokpal bill govt lokpal bill and ncpri drafts
DEEPAK YADAV
 
Mauna loa glæru-kynning
Mauna loa glæru-kynningMauna loa glæru-kynning
Mauna loa glæru-kynning
sudaratkaenjan
 
Permen tahun2013 nomor81a_lampiran4
Permen tahun2013 nomor81a_lampiran4Permen tahun2013 nomor81a_lampiran4
Permen tahun2013 nomor81a_lampiran4
Irma Muthiara Sari
 
Bolts circulator pump
Bolts circulator pumpBolts circulator pump
Bolts circulator pump
laurenztack
 
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
maclean liu
 
The Sum of All Wonders
The Sum of All WondersThe Sum of All Wonders
The Sum of All Wonders
luisagreen1
 
Research wire salarysurvey-2009
Research wire salarysurvey-2009Research wire salarysurvey-2009
Research wire salarysurvey-2009
maclean liu
 
สุขศึกษา
สุขศึกษาสุขศึกษา
สุขศึกษา
saly12300
 

Destacado (20)

Hallgrímur.P.
Hallgrímur.P.Hallgrímur.P.
Hallgrímur.P.
 
контекстная реклама
контекстная рекламаконтекстная реклама
контекстная реклама
 
B2 b social media marketing summit london final presentation uehss_haywardfinal
B2 b social media marketing summit london final presentation uehss_haywardfinalB2 b social media marketing summit london final presentation uehss_haywardfinal
B2 b social media marketing summit london final presentation uehss_haywardfinal
 
Comparison table jan lokpal bill govt lokpal bill and ncpri drafts
Comparison table  jan lokpal bill govt lokpal bill and ncpri draftsComparison table  jan lokpal bill govt lokpal bill and ncpri drafts
Comparison table jan lokpal bill govt lokpal bill and ncpri drafts
 
Mauna loa glæru-kynning
Mauna loa glæru-kynningMauna loa glæru-kynning
Mauna loa glæru-kynning
 
Permen tahun2013 nomor81a_lampiran4
Permen tahun2013 nomor81a_lampiran4Permen tahun2013 nomor81a_lampiran4
Permen tahun2013 nomor81a_lampiran4
 
New Zealand Franchising Confidence Index | July 2013
New Zealand Franchising Confidence Index | July 2013New Zealand Franchising Confidence Index | July 2013
New Zealand Franchising Confidence Index | July 2013
 
真正读懂oracle sql执行计划execution plan v20131025
真正读懂oracle sql执行计划execution plan v20131025真正读懂oracle sql执行计划execution plan v20131025
真正读懂oracle sql执行计划execution plan v20131025
 
Bolts circulator pump
Bolts circulator pumpBolts circulator pump
Bolts circulator pump
 
Valentine
ValentineValentine
Valentine
 
如何在Aix上运行prm for oracle database
如何在Aix上运行prm for oracle database如何在Aix上运行prm for oracle database
如何在Aix上运行prm for oracle database
 
Diverse recruitment
Diverse recruitmentDiverse recruitment
Diverse recruitment
 
Abecedario mandalas2
Abecedario mandalas2Abecedario mandalas2
Abecedario mandalas2
 
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
 
The Sum of All Wonders
The Sum of All WondersThe Sum of All Wonders
The Sum of All Wonders
 
Research wire salarysurvey-2009
Research wire salarysurvey-2009Research wire salarysurvey-2009
Research wire salarysurvey-2009
 
Adjetivos (avanzado)
Adjetivos (avanzado)Adjetivos (avanzado)
Adjetivos (avanzado)
 
สุขศึกษา
สุขศึกษาสุขศึกษา
สุขศึกษา
 
Puntuaciones provisionales (miércoles 26 a las 16h)
Puntuaciones provisionales (miércoles 26 a las 16h)Puntuaciones provisionales (miércoles 26 a las 16h)
Puntuaciones provisionales (miércoles 26 a las 16h)
 
追求Jdbc on oracle最佳性能?如何才好?
追求Jdbc on oracle最佳性能?如何才好?追求Jdbc on oracle最佳性能?如何才好?
追求Jdbc on oracle最佳性能?如何才好?
 

Similar a PRM DUL Oracle Database Health Check

Chris Gates - Attacking Oracle Web Applications With Metasploit (and wXf)
Chris Gates - Attacking Oracle Web Applications With Metasploit (and wXf)Chris Gates - Attacking Oracle Web Applications With Metasploit (and wXf)
Chris Gates - Attacking Oracle Web Applications With Metasploit (and wXf)
Source Conference
 
SOURCE Boston --Attacking Oracle Web Applications with Metasploit & wXf
SOURCE Boston --Attacking Oracle Web Applications with Metasploit & wXfSOURCE Boston --Attacking Oracle Web Applications with Metasploit & wXf
SOURCE Boston --Attacking Oracle Web Applications with Metasploit & wXf
Chris Gates
 
Elasticsearch in Production
Elasticsearch in ProductionElasticsearch in Production
Elasticsearch in Production
foundsearch
 
Advanced Apache Cayenne
Advanced Apache CayenneAdvanced Apache Cayenne
Advanced Apache Cayenne
WO Community
 
backgroundcommunicationandwaitevents-180124221026.pdf
backgroundcommunicationandwaitevents-180124221026.pdfbackgroundcommunicationandwaitevents-180124221026.pdf
backgroundcommunicationandwaitevents-180124221026.pdf
ssuser785ce21
 

Similar a PRM DUL Oracle Database Health Check (20)

BP-1 Performance and Scalability
BP-1 Performance and ScalabilityBP-1 Performance and Scalability
BP-1 Performance and Scalability
 
Apache solr
Apache solrApache solr
Apache solr
 
XFILES, the APEX 4 version - The truth is in there
XFILES, the APEX 4 version - The truth is in thereXFILES, the APEX 4 version - The truth is in there
XFILES, the APEX 4 version - The truth is in there
 
Laravel ppt
Laravel pptLaravel ppt
Laravel ppt
 
From SQL to MongoDB
From SQL to MongoDBFrom SQL to MongoDB
From SQL to MongoDB
 
Summer training oracle
Summer training   oracle Summer training   oracle
Summer training oracle
 
Concise at NTU Graduate Institute of Linguistics
Concise at NTU Graduate Institute of Linguistics Concise at NTU Graduate Institute of Linguistics
Concise at NTU Graduate Institute of Linguistics
 
Solr Indexing and Analysis Tricks
Solr Indexing and Analysis TricksSolr Indexing and Analysis Tricks
Solr Indexing and Analysis Tricks
 
Solr Indexing and Analysis Tricks
Solr Indexing and Analysis TricksSolr Indexing and Analysis Tricks
Solr Indexing and Analysis Tricks
 
Chris Gates - Attacking Oracle Web Applications With Metasploit (and wXf)
Chris Gates - Attacking Oracle Web Applications With Metasploit (and wXf)Chris Gates - Attacking Oracle Web Applications With Metasploit (and wXf)
Chris Gates - Attacking Oracle Web Applications With Metasploit (and wXf)
 
SOURCE Boston --Attacking Oracle Web Applications with Metasploit & wXf
SOURCE Boston --Attacking Oracle Web Applications with Metasploit & wXfSOURCE Boston --Attacking Oracle Web Applications with Metasploit & wXf
SOURCE Boston --Attacking Oracle Web Applications with Metasploit & wXf
 
Oracle DB
Oracle DBOracle DB
Oracle DB
 
Summer training oracle
Summer training   oracle Summer training   oracle
Summer training oracle
 
Евгений Бобров "Powered by OSS. Масштабируемая потоковая обработка и анализ б...
Евгений Бобров "Powered by OSS. Масштабируемая потоковая обработка и анализ б...Евгений Бобров "Powered by OSS. Масштабируемая потоковая обработка и анализ б...
Евгений Бобров "Powered by OSS. Масштабируемая потоковая обработка и анализ б...
 
Elasticsearch in Production
Elasticsearch in ProductionElasticsearch in Production
Elasticsearch in Production
 
DevOps, Yet Another IT Revolution
DevOps, Yet Another IT RevolutionDevOps, Yet Another IT Revolution
DevOps, Yet Another IT Revolution
 
AMIS Oracle ADF 12c Launch event 06 Steven Davelaar future REST features
AMIS Oracle ADF 12c Launch event 06 Steven Davelaar future REST features AMIS Oracle ADF 12c Launch event 06 Steven Davelaar future REST features
AMIS Oracle ADF 12c Launch event 06 Steven Davelaar future REST features
 
An intro to Azure Data Lake
An intro to Azure Data LakeAn intro to Azure Data Lake
An intro to Azure Data Lake
 
Advanced Apache Cayenne
Advanced Apache CayenneAdvanced Apache Cayenne
Advanced Apache Cayenne
 
backgroundcommunicationandwaitevents-180124221026.pdf
backgroundcommunicationandwaitevents-180124221026.pdfbackgroundcommunicationandwaitevents-180124221026.pdf
backgroundcommunicationandwaitevents-180124221026.pdf
 

Más de maclean liu

基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案
基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案
基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案
maclean liu
 
Shoug at apouc2015 4min pitch_biotwang_v2
Shoug at apouc2015 4min pitch_biotwang_v2Shoug at apouc2015 4min pitch_biotwang_v2
Shoug at apouc2015 4min pitch_biotwang_v2
maclean liu
 
Apouc 4min pitch_biotwang_v2
Apouc 4min pitch_biotwang_v2Apouc 4min pitch_biotwang_v2
Apouc 4min pitch_biotwang_v2
maclean liu
 
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
maclean liu
 
Oracle prm安装说明
Oracle prm安装说明Oracle prm安装说明
Oracle prm安装说明
maclean liu
 

Más de maclean liu (20)

Mysql企业备份发展及实践
Mysql企业备份发展及实践Mysql企业备份发展及实践
Mysql企业备份发展及实践
 
Oracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアル
Oracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアルOracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアル
Oracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアル
 
【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略
【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略
【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略
 
基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案
基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案
基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案
 
TomCat迁移步骤简述以及案例
TomCat迁移步骤简述以及案例TomCat迁移步骤简述以及案例
TomCat迁移步骤简述以及案例
 
dbdao.com 汪伟华 my-sql-replication复制高可用配置方案
dbdao.com 汪伟华 my-sql-replication复制高可用配置方案dbdao.com 汪伟华 my-sql-replication复制高可用配置方案
dbdao.com 汪伟华 my-sql-replication复制高可用配置方案
 
Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响
 
【诗檀软件】Mysql高可用方案
【诗檀软件】Mysql高可用方案【诗檀软件】Mysql高可用方案
【诗檀软件】Mysql高可用方案
 
Shoug at apouc2015 4min pitch_biotwang_v2
Shoug at apouc2015 4min pitch_biotwang_v2Shoug at apouc2015 4min pitch_biotwang_v2
Shoug at apouc2015 4min pitch_biotwang_v2
 
Apouc 4min pitch_biotwang_v2
Apouc 4min pitch_biotwang_v2Apouc 4min pitch_biotwang_v2
Apouc 4min pitch_biotwang_v2
 
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
 
诗檀软件 Oracle开发优化基础
诗檀软件 Oracle开发优化基础 诗檀软件 Oracle开发优化基础
诗檀软件 Oracle开发优化基础
 
Orclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wang
Orclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wangOrclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wang
Orclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wang
 
诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24
诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24
诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24
 
使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践
使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践
使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践
 
Prm dul is an oracle database recovery tool database
Prm dul is an oracle database recovery tool   databasePrm dul is an oracle database recovery tool   database
Prm dul is an oracle database recovery tool database
 
Oracle prm dul, jvm and os
Oracle prm dul, jvm and osOracle prm dul, jvm and os
Oracle prm dul, jvm and os
 
Oracle dba必备技能 使用os watcher工具监控系统性能负载
Oracle dba必备技能   使用os watcher工具监控系统性能负载Oracle dba必备技能   使用os watcher工具监控系统性能负载
Oracle dba必备技能 使用os watcher工具监控系统性能负载
 
Parnassus data recovery manager for oracle database user guide v0.3
Parnassus data recovery manager for oracle database user guide v0.3Parnassus data recovery manager for oracle database user guide v0.3
Parnassus data recovery manager for oracle database user guide v0.3
 
Oracle prm安装说明
Oracle prm安装说明Oracle prm安装说明
Oracle prm安装说明
 

Último

AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 

Último (20)

The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...
 

PRM DUL Oracle Database Health Check

  • 3. Oracle 数据库存储结构健康检查 常见手段 • 11g以前Hcheck脚本检测数据字典完整性、一致性 • 11g以后Health Monitor Checks ,DBMS_HM DBKH、KTUD • Log Scanner 日志扫描 • ASM Health Checker • Etc • hcmon - Health Check Monitor • dbping - DBping Monitor • logscan - Log Scanner Monitor • ParnassusData recovery managerHM • ORACLE 健康监控设计文档HM_INV.doc • http://docs.oracle.com/cd/B28359_01/server.111/b28310/diag0 07.htm#ADMIN11273
  • 4. Hcheck脚本 • 一个纯粹的SQL脚本 • 其输出如OPRHAN TAB$、TABPART$ • hcheck.sql 2013年3月最后一次更新 • 本质上是hcheck package • 典型的查询如下:
  • 5. 11g Health Monitor Checks • Dbkh DBK Health monitor main layer、 KTU Diagnosability etc – Checks for dictionary consistency – Checks for data corruptions – Checks for undo/redo corruptions – Checks for memory corruptions and fragmentation issues – Checks for RAC (global cache and global enqueues) issues – Checks for Shared cursors (unusual growth of child cursors)
  • 6. 11g Health Monitor Checks • DB Structure Integrity Check • Data Block Integrity Check • Redo Integrity Check • Transaction Integrity Check • Undo Segment Integrity Check • Dictionary Integrity Check
  • 7. Asm health check • kfhm.c - Kernel Files Health Monitor Checker functions • Checkers in 11.2 • Allocation failure due to OutOfSpace errors • Mount failure due to MissingDisks • Add/Online disk failure due to ClusterwideVisibility issues • FileDrop fails • Mount failure due to InsufficientDisks • Mount failure due to TooManyOfflineDisks
  • 8. 字典检测 • prvtsqtk.sql - Package for building SQL Toolkit Checker Meta-data • The Component for these checks will be DICTIONARY with a sub component of CORE_DICTIONARY • Single row checks will be named <object_name>_single_row_check • Cross Row checks will be named <object_name>_cross_row_check • Relationship checks will be named <object_name>_relationship_check
  • 9. 字典检测 • Dictionary Integrity Check—This check examines the integrity of core dictionary objects, such as tab$ and col$. It performs the following operations: – Verifies the contents of dictionary entries for each dictionary object. – Performs a cross-row level check, which verifies that logical constraints on rows in the dictionary are enforced. – Performs an object relationship check, which verifies that parent- child relationships between dictionary objects are enforced. • The Dictionary Integrity Check operates on the following dictionary objects: • tab$, clu$, fet$, uet$, seg$, undo$, ts$, file$, obj$, ind$, icol$, col$, user$, con$, cdef$, ccol$, bootstrap$, objauth $, ugroup$, tsq$, syn$, view$,typed_view$, superobj$, seq$, lob$, coltype$, subcoltype$, ntab$, refcon$, opqtype$, depen dency$, access$, viewcon$, icoldep$, dual$, sysauth$,objpriv $, defrole$, and ecol$.
  • 10. 其他检测 • krbb0.h - Kernel Recovery Backup/restore Backup private declarations Design Specification for Transaction Layer Diagnosability 11gR1 • ktud.h - KTU Diagnosability undo • kcidr.h - Kernal Cache Intelligent Data Repair Header • dbkstk.c - Database Kernel Sql ToolKit
  • 11. 我们要做的 • Dictionary 字典检测 -- 比较清晰 • ASM检测 --比较清晰 • Undo、Redo、transaction 技术上复杂,是否考虑 做?