oracle performance project public
TRANSCRIPT
![Page 1: Oracle performance project public](https://reader033.vdocument.in/reader033/viewer/2022052900/55621939d8b42a7d028b5760/html5/thumbnails/1.jpg)
Oracle Database Performance Project
Carlos Oliveira / May 31, 2012
![Page 2: Oracle performance project public](https://reader033.vdocument.in/reader033/viewer/2022052900/55621939d8b42a7d028b5760/html5/thumbnails/2.jpg)
Agenda
Oracle Text OverviewIntroductionProblemPropositionReasoningTuning AreaSolutionApplication TuningTraining & ReferenceQuestions
![Page 3: Oracle performance project public](https://reader033.vdocument.in/reader033/viewer/2022052900/55621939d8b42a7d028b5760/html5/thumbnails/3.jpg)
IntroductionI am a forward-looking Information Systems Architect with a solid Oracle DBA background comprising the daily infrastructure tasks of the DBA, several projects as a Data Modeler, and performance management projects.
I Started on the mainframe business, and soon had a deep dive in application development for Oracle databases. After acquiring an Oracle certification, I worked on performance enhancement for applications using Oracle databases, and later worked several years as an infrastructure DBA, later I worked on data modeling projects and more recently a performance management project, on both application and database layers.
![Page 4: Oracle performance project public](https://reader033.vdocument.in/reader033/viewer/2022052900/55621939d8b42a7d028b5760/html5/thumbnails/4.jpg)
“Knowledge is of two kinds. We know a subject ourselves, or we know where we can findinformation upon it.
Samuel Johnson
![Page 5: Oracle performance project public](https://reader033.vdocument.in/reader033/viewer/2022052900/55621939d8b42a7d028b5760/html5/thumbnails/5.jpg)
• Business Disruption• Call Centers Losing Sales• Loss of Customer Trust & Satisfaction
Problem
• Applications• Not designed for best performance• Frequent changes
• Servers• Upgrades limited by hardware• New server - not a long term solution
![Page 6: Oracle performance project public](https://reader033.vdocument.in/reader033/viewer/2022052900/55621939d8b42a7d028b5760/html5/thumbnails/6.jpg)
Proposition• Applications
• Do not act within application with only application knowledge
• Servers and Database• Do not act within database with only database knowledge
Do act within Application with Servers and Database knowledge
![Page 7: Oracle performance project public](https://reader033.vdocument.in/reader033/viewer/2022052900/55621939d8b42a7d028b5760/html5/thumbnails/7.jpg)
Reasoning• Where should the tuning effort be directed? • Database Design:
Poor system performance usually results from a poor database design.
• Application Tuning: Experience shows that approximately 80% of all Oracle system performance
problems are resolved by coding optimal SQL.
• Memory Tuning: Properly size your database buffers by looking at your wait events, buffer hit ratios,
system swapping and paging, etc.
• Disk I/O Tuning: Database files needs to be properly sized and placed to provide maximum disk
subsystem throughput.
• Eliminate Database Contention: Study database locks, latches and wait events carefully and eliminate where
possible.
• Tune the Operating System: Monitor and tune operating system CPU, I/O and memory utilization.
(Source: http://www.orafaq.com/wiki/Oracle_database_Performance_Tuning_FAQ)
![Page 8: Oracle performance project public](https://reader033.vdocument.in/reader033/viewer/2022052900/55621939d8b42a7d028b5760/html5/thumbnails/8.jpg)
Tuning Area Chosen
Desig
n
Applic
atio
n
Mem
ory
I/O
Conte
ntio
nOS
0%10%20%30%40%50%60%70%80%90%
Impact
Impact
It’s clear we should prioritize Application Tuning due to its impact in performance
* Most cost-effective approach on solving performance problems.
![Page 9: Oracle performance project public](https://reader033.vdocument.in/reader033/viewer/2022052900/55621939d8b42a7d028b5760/html5/thumbnails/9.jpg)
ToolsSoftware
CommercialIn-house
TrainingSharepoint
LibraryBest practicesGuidelinesUseful scripts
SolutionMonitoring
Real-time monitoringAd hoc monitoring
ConsultingWalkthroughReviewFinal acceptanceCommunication
![Page 10: Oracle performance project public](https://reader033.vdocument.in/reader033/viewer/2022052900/55621939d8b42a7d028b5760/html5/thumbnails/10.jpg)
Application TuningStarts with good knowledge of SQL and PL/SQLOracle Database features (special indexes, materialized views, execution plan, …)Metalink:
Oracle Performance Diagnostic Guide (OPDG) [ID 390374.1]
Tools:ADDM (Automated Database Diagnostics Monitor) Oracle 10g TKProf Trace and Trace AnalyzerStatspack Oracle Enterprise Manager - Tuning Pack (cost option) Old UTLBSTAT.SQL and UTLESTAT.SQL - Begin and end stats monitoring
![Page 11: Oracle performance project public](https://reader033.vdocument.in/reader033/viewer/2022052900/55621939d8b42a7d028b5760/html5/thumbnails/11.jpg)
TrainingResources at Oracle website
•Performance Tuning Guide and Referencehttp://docs.oracle.com/cd/B10500_01/server.920/a96533/toc.htm
•SQL Referencehttp://docs.oracle.com/cd/B10500_01/server.920/a96540/toc.htm
•PL/SQL User's Guide and Referencehttp://docs.oracle.com/cd/B10500_01/appdev.920/a96624/toc.htmLook at my publications in LinkedIn for specific tuning approaches.
![Page 12: Oracle performance project public](https://reader033.vdocument.in/reader033/viewer/2022052900/55621939d8b42a7d028b5760/html5/thumbnails/12.jpg)
Thank you
http://linkedin.com/in/carlosoliveira
Carlos Oliveira / May 31, 2012