SlideShare a Scribd company logo
Database Performance Tuning
On Premise Cloud
Introduction to Performance Tuning
Atul Kumar
Oracle ACE & Author
Rajeev K.
Database Expert
/company/k21academy /k21academy /k21academy /k21academy contact@k21academy.com
Atul Kumar
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
Rajeev.K
 Expert in Oracle Database & Cloud
 12+ Years Experience Managing Team of 25+
 Based in USA working with top Consultancy
 Trained 300+ trainees and 30+ corporate clients
 Oracle Certified Professional
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
support@k21academy.com
Getting Help
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
 Learn general concepts of database tuning
 Review the System Development Life Cycle
 Identify tuning goals and measurements
 Roles of DBA
 Oracle tuning tools
 Summary
Agenda: Module
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
Learn general concepts of
database tuning
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
 Database tuning is the ongoing process of optimizing the
operation of a database configuration based on attainable
tuning goals
 There are no quick formulas or specific methods for
tuning a database
 It depends on the “art” of developing good designs and
creativity in troubleshooting and analyzing problems as
well as the “science” of using technical tools to detect
problems before they occur
Database Tuning Overview
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
Review the System
Development Life Cycle
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
 System Development Life Cycle
 Agile Development
 Rapid application development
 Prototyping development
 Waterfall development
System Development Methodologies
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
 Referred to as the SDLC
 Purpose of the SDLC
 Establishes a consistent framework for development
 Provides a solution to solve a problem
 Delivers the application design and code that has
been reviewed and signed off by technical leads
System Development Methodologies
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
 Short-cutting the SDLC leads to
 Inferior system design
 Poor system architecture
 Inefficient application code
 Performance problems
 Lower user productivity
System Development Methodologies
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
System Development Methodologies
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
System Development Methodologies
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
Identify tuning goals and
measurements
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
 Performance-tuning goals must be measured by the
following criteria:
 Database response time
 Database availability
 Database statistics and ratios
 CPU utilization
 Memory utilization
 Disk thrashing or paging
 Excessive I/O (caused by reads and writes)
Tuning Goals
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
Tuning Goals
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
Tuning Goals
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
 Performance problems are classified as follows:
 Contention problems
 Resource consumption problems
 Scalability problems
 Architectural problems
 Application problems
 Network problems
Performance Problems
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
Roles Of DBA
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
 A DBA must be involved in all phases of the SDLC
 DBA tasks for each of the SDLC phases:
 Planning phase:
 Identify new resources and capacities that are required for
the new system
 Analyze the business functions of the new system to
determine database features and functions
 Identify database performance goals and objectives
DBA Tasks
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
 Logical design phase:
 Identify the type of database application
 Gather data from existing system and business requirements
 Analyze data and identify all entities
 Identify relationships between entities
 Create a conceptual data model
 Identify degrees of relationships and cardinalities
 Identify data constraints and validation techniques
 Normalize data model
DBA Tasks
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
 Physical design phase:
 Decide which database management system will be employed
 Examine the features of the database management system to
be used
 Create a storage capacity plan
 Analyze initial data and growth
 Design database procedures to implement business rules
 Identify data migration procedures
 Identify and create backup and recovery strategies
DBA Tasks
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
 Continuous Development
 Decide which database management system will be employed
 Examine the features of the database management system to
be used
 Create a storage capacity plan
 Analyze initial data and growth
 Design database procedures to implement business rules
 Identify data migration procedures
 Identify and create backup and recovery strategies
DBA Tasks
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
 Continuous Integration
 Test database connections
 Test all database procedures and scripts
 Identify database configuration problems
 Document database maintenance procedures and Devops
tasks
 Test backup and recovery strategies
DBA Tasks
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
 Continuous Deployment
 Identify problematic queries
 Use tools to monitor the database and install scripts
 Tune and improve database performance as required
 Gather database statistics and analyze results to determine
whether performance goals are met
 Perform Devops tasks
 Verify backups and perform random recovery testing
DBA Tasks
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
 The DBA should be focused on the following activities:
 Be involved in all SDLC phases
 Recommend best practices in data modeling and database
designs
 Educate developers on how to optimize their code (queries)
 Work with designers and developers
 Recommend to developers SQL tuning tools
 Monitor database performance
 Collect and analyze database statistics
 Educate users on best practices for working with database
applications
DBA Tasks
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
Oracle tuning tools
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
 Performance Views (V$ Views)
 Data dictionary views
 Oracle Optimizer
 Oracle Optimizer Hints
 Explain Plan Statement
 SQL Trace
 Stored Outlines or SQL Plan Management
 SQL Profiles
Oracle Tuning Utilities
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
 Enterprise Manager Diagnostic Pack:
 AWR Reports
 Performance Page
 ASH Analytics Page
 ADDM Page
 Adaptive thresholds and metrics pages
Oracle Tuning Tools
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
 Enterprise Manager Tuning Pack:
 SQL Real-Time Monitoring Page
 SQL Details Page
 SQL Tuning Advisor
 SQL Tuning Set
 SQL Performance Analyzer
Oracle Tuning Tools
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
 Introduction to Oracle Optimizer
 Cost Based Optimizer Fundamentals
 Traditional costing model
 CPU costing model
 Writing efficient SQL
 Query Transformations
 Summary
Summary Module
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
https://www.facebook.com/K21Academy
http://twitter.com/k21Academy
https://www.linkedin.com/company/k21academy
https://www.youtube.com/k21academy
Find Us
www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved

More Related Content

Similar to M01_Introduction+to+Performance+Tuning_ed1.pdf

Serverless patterns
Serverless patternsServerless patterns
Serverless patterns
Jesse Butler
 
SSE Practices Overview
SSE Practices OverviewSSE Practices Overview
SSE Practices Overview
IBM Rational software
 
Enterprise Metadata Integration, Cloudera
Enterprise Metadata Integration, ClouderaEnterprise Metadata Integration, Cloudera
Enterprise Metadata Integration, Cloudera
Neo4j
 
(Oracle) DBA and Other Skills Needed in 2020
(Oracle) DBA and Other Skills Needed in 2020(Oracle) DBA and Other Skills Needed in 2020
(Oracle) DBA and Other Skills Needed in 2020
Markus Michalewicz
 
A7 getting value from big data how to get there quickly and leverage your c...
A7   getting value from big data how to get there quickly and leverage your c...A7   getting value from big data how to get there quickly and leverage your c...
A7 getting value from big data how to get there quickly and leverage your c...Dr. Wilfred Lin (Ph.D.)
 
SharePoint Site Redesign : Information Architecture and User-centered Design ...
SharePoint Site Redesign : Information Architecture and User-centered Design ...SharePoint Site Redesign : Information Architecture and User-centered Design ...
SharePoint Site Redesign : Information Architecture and User-centered Design ...
arsathe
 
Odi course curriculumn
Odi course curriculumnOdi course curriculumn
Odi course curriculumn
Amit Sharma
 
What Is My Enterprise Data Maturity 2021
What Is My Enterprise Data Maturity 2021What Is My Enterprise Data Maturity 2021
What Is My Enterprise Data Maturity 2021
DATAVERSITY
 
HOW TO SAVE PILEs of $$$ BY CREATING THE BEST DATA MODEL THE FIRST TIME (Ksc...
HOW TO SAVE  PILEs of $$$BY CREATING THE BEST DATA MODEL THE FIRST TIME (Ksc...HOW TO SAVE  PILEs of $$$BY CREATING THE BEST DATA MODEL THE FIRST TIME (Ksc...
HOW TO SAVE PILEs of $$$ BY CREATING THE BEST DATA MODEL THE FIRST TIME (Ksc...
Kent Graziano
 
2010/09 - Database Architechs - Performance & Tuning Tool
2010/09 - Database Architechs - Performance & Tuning Tool2010/09 - Database Architechs - Performance & Tuning Tool
2010/09 - Database Architechs - Performance & Tuning Tool
Database Architechs
 
Microsoft Dynamics strategy for small to medium size business: a new solution
Microsoft Dynamics strategy for small to medium size business: a new solutionMicrosoft Dynamics strategy for small to medium size business: a new solution
Microsoft Dynamics strategy for small to medium size business: a new solution
DXC Eclipse
 
AWS Well-Architected Workshop
AWS Well-Architected WorkshopAWS Well-Architected Workshop
AWS Well-Architected Workshop
Amazon Web Services
 
AMIS Oracle OpenWorld & CodeOne Review - Pillar 2 - SaaS and Standard Applica...
AMIS Oracle OpenWorld & CodeOne Review - Pillar 2 - SaaS and Standard Applica...AMIS Oracle OpenWorld & CodeOne Review - Pillar 2 - SaaS and Standard Applica...
AMIS Oracle OpenWorld & CodeOne Review - Pillar 2 - SaaS and Standard Applica...
Lucas Jellema
 
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaS
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaSAMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaS
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaS
Getting value from IoT, Integration and Data Analytics
 
Embedded-ml(ai)applications - Bjoern Staender
Embedded-ml(ai)applications - Bjoern StaenderEmbedded-ml(ai)applications - Bjoern Staender
Embedded-ml(ai)applications - Bjoern Staender
Dataconomy Media
 
Engineering_Campus_Presentation_2022 (1)-compressed.pptx
Engineering_Campus_Presentation_2022 (1)-compressed.pptxEngineering_Campus_Presentation_2022 (1)-compressed.pptx
Engineering_Campus_Presentation_2022 (1)-compressed.pptx
Manikaahuja4
 
EBS ECC Data Discovery and Visualization.pdf
EBS ECC Data Discovery and Visualization.pdfEBS ECC Data Discovery and Visualization.pdf
EBS ECC Data Discovery and Visualization.pdf
ssuserf605b8
 
Continuous Performance Monitoring of a Distributed Application [CON4730]
Continuous Performance Monitoring of a Distributed Application [CON4730]Continuous Performance Monitoring of a Distributed Application [CON4730]
Continuous Performance Monitoring of a Distributed Application [CON4730]
Ashish Srivastava
 
Achieving digital transformation with Siebel CRM and Oracle Cloud
Achieving digital transformation with Siebel CRM and Oracle Cloud Achieving digital transformation with Siebel CRM and Oracle Cloud
Achieving digital transformation with Siebel CRM and Oracle Cloud
Sonia Wadhwa
 
Strategies for Implementing Aras Innovator
Strategies for Implementing Aras InnovatorStrategies for Implementing Aras Innovator
Strategies for Implementing Aras InnovatorAras
 

Similar to M01_Introduction+to+Performance+Tuning_ed1.pdf (20)

Serverless patterns
Serverless patternsServerless patterns
Serverless patterns
 
SSE Practices Overview
SSE Practices OverviewSSE Practices Overview
SSE Practices Overview
 
Enterprise Metadata Integration, Cloudera
Enterprise Metadata Integration, ClouderaEnterprise Metadata Integration, Cloudera
Enterprise Metadata Integration, Cloudera
 
(Oracle) DBA and Other Skills Needed in 2020
(Oracle) DBA and Other Skills Needed in 2020(Oracle) DBA and Other Skills Needed in 2020
(Oracle) DBA and Other Skills Needed in 2020
 
A7 getting value from big data how to get there quickly and leverage your c...
A7   getting value from big data how to get there quickly and leverage your c...A7   getting value from big data how to get there quickly and leverage your c...
A7 getting value from big data how to get there quickly and leverage your c...
 
SharePoint Site Redesign : Information Architecture and User-centered Design ...
SharePoint Site Redesign : Information Architecture and User-centered Design ...SharePoint Site Redesign : Information Architecture and User-centered Design ...
SharePoint Site Redesign : Information Architecture and User-centered Design ...
 
Odi course curriculumn
Odi course curriculumnOdi course curriculumn
Odi course curriculumn
 
What Is My Enterprise Data Maturity 2021
What Is My Enterprise Data Maturity 2021What Is My Enterprise Data Maturity 2021
What Is My Enterprise Data Maturity 2021
 
HOW TO SAVE PILEs of $$$ BY CREATING THE BEST DATA MODEL THE FIRST TIME (Ksc...
HOW TO SAVE  PILEs of $$$BY CREATING THE BEST DATA MODEL THE FIRST TIME (Ksc...HOW TO SAVE  PILEs of $$$BY CREATING THE BEST DATA MODEL THE FIRST TIME (Ksc...
HOW TO SAVE PILEs of $$$ BY CREATING THE BEST DATA MODEL THE FIRST TIME (Ksc...
 
2010/09 - Database Architechs - Performance & Tuning Tool
2010/09 - Database Architechs - Performance & Tuning Tool2010/09 - Database Architechs - Performance & Tuning Tool
2010/09 - Database Architechs - Performance & Tuning Tool
 
Microsoft Dynamics strategy for small to medium size business: a new solution
Microsoft Dynamics strategy for small to medium size business: a new solutionMicrosoft Dynamics strategy for small to medium size business: a new solution
Microsoft Dynamics strategy for small to medium size business: a new solution
 
AWS Well-Architected Workshop
AWS Well-Architected WorkshopAWS Well-Architected Workshop
AWS Well-Architected Workshop
 
AMIS Oracle OpenWorld & CodeOne Review - Pillar 2 - SaaS and Standard Applica...
AMIS Oracle OpenWorld & CodeOne Review - Pillar 2 - SaaS and Standard Applica...AMIS Oracle OpenWorld & CodeOne Review - Pillar 2 - SaaS and Standard Applica...
AMIS Oracle OpenWorld & CodeOne Review - Pillar 2 - SaaS and Standard Applica...
 
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaS
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaSAMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaS
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaS
 
Embedded-ml(ai)applications - Bjoern Staender
Embedded-ml(ai)applications - Bjoern StaenderEmbedded-ml(ai)applications - Bjoern Staender
Embedded-ml(ai)applications - Bjoern Staender
 
Engineering_Campus_Presentation_2022 (1)-compressed.pptx
Engineering_Campus_Presentation_2022 (1)-compressed.pptxEngineering_Campus_Presentation_2022 (1)-compressed.pptx
Engineering_Campus_Presentation_2022 (1)-compressed.pptx
 
EBS ECC Data Discovery and Visualization.pdf
EBS ECC Data Discovery and Visualization.pdfEBS ECC Data Discovery and Visualization.pdf
EBS ECC Data Discovery and Visualization.pdf
 
Continuous Performance Monitoring of a Distributed Application [CON4730]
Continuous Performance Monitoring of a Distributed Application [CON4730]Continuous Performance Monitoring of a Distributed Application [CON4730]
Continuous Performance Monitoring of a Distributed Application [CON4730]
 
Achieving digital transformation with Siebel CRM and Oracle Cloud
Achieving digital transformation with Siebel CRM and Oracle Cloud Achieving digital transformation with Siebel CRM and Oracle Cloud
Achieving digital transformation with Siebel CRM and Oracle Cloud
 
Strategies for Implementing Aras Innovator
Strategies for Implementing Aras InnovatorStrategies for Implementing Aras Innovator
Strategies for Implementing Aras Innovator
 

Recently uploaded

Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
Kamal Acharya
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
symbo111
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
itech2017
 
The Role of Electrical and Electronics Engineers in IOT Technology.pdf
The Role of Electrical and Electronics Engineers in IOT Technology.pdfThe Role of Electrical and Electronics Engineers in IOT Technology.pdf
The Role of Electrical and Electronics Engineers in IOT Technology.pdf
Nettur Technical Training Foundation
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERSCW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
veerababupersonal22
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
top1002
 

Recently uploaded (20)

Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
 
The Role of Electrical and Electronics Engineers in IOT Technology.pdf
The Role of Electrical and Electronics Engineers in IOT Technology.pdfThe Role of Electrical and Electronics Engineers in IOT Technology.pdf
The Role of Electrical and Electronics Engineers in IOT Technology.pdf
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERSCW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
 

M01_Introduction+to+Performance+Tuning_ed1.pdf

  • 1. Database Performance Tuning On Premise Cloud Introduction to Performance Tuning Atul Kumar Oracle ACE & Author Rajeev K. Database Expert /company/k21academy /k21academy /k21academy /k21academy contact@k21academy.com
  • 2. Atul Kumar www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 3. Rajeev.K  Expert in Oracle Database & Cloud  12+ Years Experience Managing Team of 25+  Based in USA working with top Consultancy  Trained 300+ trainees and 30+ corporate clients  Oracle Certified Professional www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 4. support@k21academy.com Getting Help www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 5.  Learn general concepts of database tuning  Review the System Development Life Cycle  Identify tuning goals and measurements  Roles of DBA  Oracle tuning tools  Summary Agenda: Module www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 6. Learn general concepts of database tuning www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 7.  Database tuning is the ongoing process of optimizing the operation of a database configuration based on attainable tuning goals  There are no quick formulas or specific methods for tuning a database  It depends on the “art” of developing good designs and creativity in troubleshooting and analyzing problems as well as the “science” of using technical tools to detect problems before they occur Database Tuning Overview www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 8. Review the System Development Life Cycle www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 9.  System Development Life Cycle  Agile Development  Rapid application development  Prototyping development  Waterfall development System Development Methodologies www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 10.  Referred to as the SDLC  Purpose of the SDLC  Establishes a consistent framework for development  Provides a solution to solve a problem  Delivers the application design and code that has been reviewed and signed off by technical leads System Development Methodologies www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 11.  Short-cutting the SDLC leads to  Inferior system design  Poor system architecture  Inefficient application code  Performance problems  Lower user productivity System Development Methodologies www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 12. System Development Methodologies www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 13. System Development Methodologies www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 14. Identify tuning goals and measurements www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 15.  Performance-tuning goals must be measured by the following criteria:  Database response time  Database availability  Database statistics and ratios  CPU utilization  Memory utilization  Disk thrashing or paging  Excessive I/O (caused by reads and writes) Tuning Goals www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 16. Tuning Goals www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 17. Tuning Goals www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 18.  Performance problems are classified as follows:  Contention problems  Resource consumption problems  Scalability problems  Architectural problems  Application problems  Network problems Performance Problems www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 19. Roles Of DBA www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 20.  A DBA must be involved in all phases of the SDLC  DBA tasks for each of the SDLC phases:  Planning phase:  Identify new resources and capacities that are required for the new system  Analyze the business functions of the new system to determine database features and functions  Identify database performance goals and objectives DBA Tasks www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 21.  Logical design phase:  Identify the type of database application  Gather data from existing system and business requirements  Analyze data and identify all entities  Identify relationships between entities  Create a conceptual data model  Identify degrees of relationships and cardinalities  Identify data constraints and validation techniques  Normalize data model DBA Tasks www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 22.  Physical design phase:  Decide which database management system will be employed  Examine the features of the database management system to be used  Create a storage capacity plan  Analyze initial data and growth  Design database procedures to implement business rules  Identify data migration procedures  Identify and create backup and recovery strategies DBA Tasks www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 23.  Continuous Development  Decide which database management system will be employed  Examine the features of the database management system to be used  Create a storage capacity plan  Analyze initial data and growth  Design database procedures to implement business rules  Identify data migration procedures  Identify and create backup and recovery strategies DBA Tasks www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 24.  Continuous Integration  Test database connections  Test all database procedures and scripts  Identify database configuration problems  Document database maintenance procedures and Devops tasks  Test backup and recovery strategies DBA Tasks www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 25.  Continuous Deployment  Identify problematic queries  Use tools to monitor the database and install scripts  Tune and improve database performance as required  Gather database statistics and analyze results to determine whether performance goals are met  Perform Devops tasks  Verify backups and perform random recovery testing DBA Tasks www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 26.  The DBA should be focused on the following activities:  Be involved in all SDLC phases  Recommend best practices in data modeling and database designs  Educate developers on how to optimize their code (queries)  Work with designers and developers  Recommend to developers SQL tuning tools  Monitor database performance  Collect and analyze database statistics  Educate users on best practices for working with database applications DBA Tasks www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 27. Oracle tuning tools www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 28.  Performance Views (V$ Views)  Data dictionary views  Oracle Optimizer  Oracle Optimizer Hints  Explain Plan Statement  SQL Trace  Stored Outlines or SQL Plan Management  SQL Profiles Oracle Tuning Utilities www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 29.  Enterprise Manager Diagnostic Pack:  AWR Reports  Performance Page  ASH Analytics Page  ADDM Page  Adaptive thresholds and metrics pages Oracle Tuning Tools www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 30.  Enterprise Manager Tuning Pack:  SQL Real-Time Monitoring Page  SQL Details Page  SQL Tuning Advisor  SQL Tuning Set  SQL Performance Analyzer Oracle Tuning Tools www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved
  • 31.  Introduction to Oracle Optimizer  Cost Based Optimizer Fundamentals  Traditional costing model  CPU costing model  Writing efficient SQL  Query Transformations  Summary Summary Module www.k21academy.com/joincloud © Copyright 2018 | K21 Academy | All Rights Reserved