SlideShare une entreprise Scribd logo
1  sur  20
Télécharger pour lire hors ligne
Anibal.Garcia@Atos.net
#AgarciaDBA
Over 18 years of experience in Oracle , started in 1996.
Vice-President Oracle User group in Guatemala since 2014
Member of LAOUC ( Latin America Oracle User
Community) Since 2012
Distinguished Member of
Oracle Hispanic community Latin America
(http://comunidadoraclehispana.ning.com)
Wrote Co-Blog Partner Fernando Garcia –Argentina Oracle Ace
(https://oracleconprecision.wordpress.com/about)
…..In summary a self study
Person like you
PROPERTIES OF PERFORMANCE
P O I N T O F V I E W
( E N D U S E R )
• They expected some
benefit in business
perspective.
• They always will confirm in
their system the result of
our work.
• Measurement is based on
a perception of historical
performance.
P O I N T O F V I E W
( T E C H N I C A L U S E R )
• Optimize system resources
according to the request of
user.
• Need to be logged and
compared with a SLA
• Measurement is based on
a Response Time.
THROUGHPUT INDICATORS
Improve Throughput means optimizing the components and create load
balancing of resources to relieve the containment . A strategy include
indicators for both and a method to focus your work across different
components in order to achieve a better Performance (decrease response
time)
TUNING EVERYTHING ?
The challenge of it is achieve the expectations of performance that users define
as acceptable, the lack of a consistent result in the operation, despite the
introduction of new system components or growth of customer requests, result
a demand user to tune the system.
THE GOLD PIECE
(AVG RESPONSE TIME)
The tests of scalability and performance monitoring shows in detail each
component of the system pointing to the average response time. The goal is
to achieve average response time acceptable complying with the user (SLA)
and have the least variation so it is predictable
Now , you need to use Average, variance, deviation , index of variation
(VMR) to observe how much predictable is a process.
Average ( or Mean) 24
Variance 313.1111
Dev Standard 17.69495
Variance to mean ration (VMR) 13.0463
The mean is similar in this case , but the dispersion of data is very
different
Example 2
Example 1
> 1 skewed far
away of the mean.
HOW PRECISELY IS THIS TOOL ?
The change on mean
do not dramatically
change, but the index
of dispersion give us
an idea something
happen
You can
inspect the
detail around
2PM
WHERE DO YOU NEED TUNING ?
ANALYZE THE CASES ?
AVG RESPONSE TIME FOR THE SAME QUERY
Easy to see
what is Max
Limit ,
(Tolerance)
More than 50% is below of mean,
candidate to review why sometimes
take to long to finish.
More than 50% is
over of Mean,
candidate to review
the execution plan
DEMO 1 ( JOBS) ORACLE COLLECTED ALL THE
TIMES
create table job_timings_test1
as
select job_name,
count(job_name) executions,
round(avg(elapsed_time),3) average,
round(median(elapsed_time),3) median,
round(variance(elapsed_time),3) variance,
round(variance(elapsed_time)/avg(elapsed_time),3) vmr
from job_history
where start_dat_time > '20013-12-31 23:59:59'
and start_dat_time < '2014-01-01 00:00:01'
and elapsed_time != 0
group by job_name
order by job_name ;
ROBUST PERFORMANCE
Taguchi Methods for Robust Design by Yuin Wu
and Alan Wu (ASME Press, 2000) defines robustness as follows:
… the condition used to describe a product or process
design that functions with limited variability in spite of
diverse and changing environmental conditions, wear, or
component-tocomponent variation. A product or process
is robust when it has limited or reduced functional
variation even in the presence of noise.
https://en.wikipedia.org/wiki/Taguchi_methods
ROBUST PERFORMANCE
Uncontrollable variables are referred to as noise factors. There are three types of noise
factors, and they are usually explained in manufacturing or product design terms.
However, these types can be easily associated to the “uncontrollable” variables that
affect database systems:
•
External causes: Users or operators, any system issue external to the database
•
Internal causes: Data growth or changes to code within the database
• Component-to-component factors: System resource contention or systemwide changes
that affect more than the intended process
USUAL APPROACH TO SEE PERFORMANCE
CREATE YOUR OWN VERSION TO REVIEW
PERFORMANCE
(LOGGED THE ELAPSED TIME)
Go time: DBMS_UTILITY.get_time (at start)
Stop time: DBMS_UTILITY.get_time (at stop)
Elapsed time: Stop time–go time
CPU go time: DBMS_UTILITY.get_cputime (at start)
CPU stop time: DBMS_UTILITY.get_cputime (at stop)
CPU elapsed time: CPU stop time–CPU go time
UNDERSTANDING THE METRIC IN ORACLE
FIND SLOWEST AND NOT PREDICTABLE
QUERIES
Column ct (Count times executed) = Bucket 1 + Bucket2 + Bucket3 + Bucket4 + Bucket5
Example
SQL_ID=1kahr9dw1rqbu ,executed = 3942 times, Avg = 7 Segs
Bucket1 = [0..98 Segs ] 3862 times 97% , Bucket5 [396-490 Segs] 20 times
Less predictable of SQL_ID 06amz8tcpwtuz and the VMR show this.
DEMO 2 ( BACKUPS)
Select sid,start_time,end_time
From V$RMAN_STATUS
where OPERATION='BACKUP'
select ss.snap_id, ss.instance_number node, begin_interval_time, sql_id,
plan_hash_value,
nvl(executions_delta,0) execs,
(elapsed_time_delta/decode(nvl(executions_delta,0),0,1,executions_delta))/10
00000 avg_etime,
from DBA_HIST_SQLSTAT S, DBA_HIST_SNAPSHOT SS
where sql_id = ccyax0n7jfa7j'
and ss.snap_id = S.snap_id
and ss.instance_number = S.instance_number
and executions_delta > 0
order by 1, 2, 3
DEMO 3 ( QUERY ELAPSED TIME)
SUMMARY
WHY WE NEED CREATE THIS METRICS?
working on the measuring the system, we also gain more knowledge how
works everything.
We get the opportunity to test our hypothesis and deny the speculations of
other groups with a precarious position ( The application not change / is
almost the same size of data / not a large variation of users …etc)
A good DBA do not work with assumptions , analyze the processes using
the evidence in the metrics.
QUESTIONS
Anibal.Garcia@Atos.net
#AgarciaDBA
You want more Demos ?
• Network Activity
• Spike of Connections
• Balance workload in Rac
• Bottleneck in Memory/CPU
• …. etc

Contenu connexe

Tendances

Tendances (20)

Oracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New FeaturesOracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New Features
 
RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)
 
Optimizing your Database Import!
Optimizing your Database Import! Optimizing your Database Import!
Optimizing your Database Import!
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new features
 
Install oracle binaris or clonse oracle home
Install oracle binaris or clonse oracle homeInstall oracle binaris or clonse oracle home
Install oracle binaris or clonse oracle home
 
Oracle Database 12.1.0.2 New Features
Oracle Database 12.1.0.2 New FeaturesOracle Database 12.1.0.2 New Features
Oracle Database 12.1.0.2 New Features
 
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
 
Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?
 
Best New Features of Oracle Database 12c
Best New Features of Oracle Database 12cBest New Features of Oracle Database 12c
Best New Features of Oracle Database 12c
 
Oracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New FeaturesOracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New Features
 
Rapid Home Provisioning
Rapid Home ProvisioningRapid Home Provisioning
Rapid Home Provisioning
 
Oracle GoldenGate for Oracle DBAs
Oracle GoldenGate for Oracle DBAsOracle GoldenGate for Oracle DBAs
Oracle GoldenGate for Oracle DBAs
 
Oracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam BashaOracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam Basha
 
Oracle Rac Performance Tunning Tips&Tricks
Oracle Rac Performance Tunning Tips&TricksOracle Rac Performance Tunning Tips&Tricks
Oracle Rac Performance Tunning Tips&Tricks
 
Aioug vizag oracle12c_new_features
Aioug vizag oracle12c_new_featuresAioug vizag oracle12c_new_features
Aioug vizag oracle12c_new_features
 
RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA
 
Oracle 21c: New Features and Enhancements of Data Pump & TTS
Oracle 21c: New Features and Enhancements of Data Pump & TTSOracle 21c: New Features and Enhancements of Data Pump & TTS
Oracle 21c: New Features and Enhancements of Data Pump & TTS
 
Oracle 12c Multi Tenant
Oracle 12c Multi TenantOracle 12c Multi Tenant
Oracle 12c Multi Tenant
 
RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)
 
Oracle Database 12c - New Features for Developers and DBAs
Oracle Database 12c  - New Features for Developers and DBAsOracle Database 12c  - New Features for Developers and DBAs
Oracle Database 12c - New Features for Developers and DBAs
 

En vedette

En vedette (10)

Re-­Think Mobile… Beyond Mobile­‐First: Oracle Mobile Strategy and Overview
Re-­Think Mobile… Beyond Mobile­‐First: Oracle Mobile Strategy and OverviewRe-­Think Mobile… Beyond Mobile­‐First: Oracle Mobile Strategy and Overview
Re-­Think Mobile… Beyond Mobile­‐First: Oracle Mobile Strategy and Overview
 
Monitoreo del performance de linux con sar
Monitoreo del performance de linux con sarMonitoreo del performance de linux con sar
Monitoreo del performance de linux con sar
 
Diagnóstico de problemas de red para DBAs
Diagnóstico de problemas de red para DBAsDiagnóstico de problemas de red para DBAs
Diagnóstico de problemas de red para DBAs
 
Gestión de grandes volúmenes de información
Gestión de grandes volúmenes de informaciónGestión de grandes volúmenes de información
Gestión de grandes volúmenes de información
 
Building Better Mobile Backends with Oracle Mobile Cloud Service
Building Better Mobile Backends with Oracle Mobile Cloud Service	Building Better Mobile Backends with Oracle Mobile Cloud Service
Building Better Mobile Backends with Oracle Mobile Cloud Service
 
Indexes From the Concept to Internals
Indexes From the Concept to InternalsIndexes From the Concept to Internals
Indexes From the Concept to Internals
 
Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination
 
Cutting edge Essbase
Cutting edge EssbaseCutting edge Essbase
Cutting edge Essbase
 
Oracle WebLogic Server 12c with Docker
Oracle WebLogic Server 12c with DockerOracle WebLogic Server 12c with Docker
Oracle WebLogic Server 12c with Docker
 
Oracle Insert Statements for DBAs and Developers
Oracle Insert Statements for DBAs and DevelopersOracle Insert Statements for DBAs and Developers
Oracle Insert Statements for DBAs and Developers
 

Similaire à Crating a Robust Performance Strategy

Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Aaron Shilo
 
שבוע אורקל 2016
שבוע אורקל 2016שבוע אורקל 2016
שבוע אורקל 2016
Aaron Shilo
 
Sfeldman performance bb_worldemea07
Sfeldman performance bb_worldemea07Sfeldman performance bb_worldemea07
Sfeldman performance bb_worldemea07
Steve Feldman
 

Similaire à Crating a Robust Performance Strategy (20)

Understanding System Performance
Understanding System PerformanceUnderstanding System Performance
Understanding System Performance
 
Training - What is Performance ?
Training  - What is Performance ?Training  - What is Performance ?
Training - What is Performance ?
 
Collaborate 2019 - How to Understand an AWR Report
Collaborate 2019 - How to Understand an AWR ReportCollaborate 2019 - How to Understand an AWR Report
Collaborate 2019 - How to Understand an AWR Report
 
Performing Oracle Health Checks Using APEX
Performing Oracle Health Checks Using APEXPerforming Oracle Health Checks Using APEX
Performing Oracle Health Checks Using APEX
 
Webinar: Performance Tuning + Optimization
Webinar: Performance Tuning + OptimizationWebinar: Performance Tuning + Optimization
Webinar: Performance Tuning + Optimization
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
 
Oracle Database Performance Tuning Basics
Oracle Database Performance Tuning BasicsOracle Database Performance Tuning Basics
Oracle Database Performance Tuning Basics
 
שבוע אורקל 2016
שבוע אורקל 2016שבוע אורקל 2016
שבוע אורקל 2016
 
Explain the explain_plan
Explain the explain_planExplain the explain_plan
Explain the explain_plan
 
Oracle Sql Tuning
Oracle Sql TuningOracle Sql Tuning
Oracle Sql Tuning
 
Performance tuning Grails applications
 Performance tuning Grails applications Performance tuning Grails applications
Performance tuning Grails applications
 
Sfeldman performance bb_worldemea07
Sfeldman performance bb_worldemea07Sfeldman performance bb_worldemea07
Sfeldman performance bb_worldemea07
 
553: Oracle Database Performance: Are Database Users Telling Me The Truth?
553: Oracle Database Performance: Are  Database Users Telling Me The Truth?553: Oracle Database Performance: Are  Database Users Telling Me The Truth?
553: Oracle Database Performance: Are Database Users Telling Me The Truth?
 
Oracle database performance are database users telling me the truth
Oracle database performance are database users telling me the truthOracle database performance are database users telling me the truth
Oracle database performance are database users telling me the truth
 
Oracle database performance diagnostics - before your begin
Oracle database performance diagnostics  - before your beginOracle database performance diagnostics  - before your begin
Oracle database performance diagnostics - before your begin
 
Oracle EBS Production Support - Recommendations
Oracle EBS Production Support - RecommendationsOracle EBS Production Support - Recommendations
Oracle EBS Production Support - Recommendations
 
Improving The Quality of Existing Software
Improving The Quality of Existing SoftwareImproving The Quality of Existing Software
Improving The Quality of Existing Software
 
Crud and jad
Crud and jadCrud and jad
Crud and jad
 
Performance testing
Performance testing Performance testing
Performance testing
 
Need for Speed: How to Performance Test the right way by Annie Bhaumik
Need for Speed: How to Performance Test the right way by Annie BhaumikNeed for Speed: How to Performance Test the right way by Annie Bhaumik
Need for Speed: How to Performance Test the right way by Annie Bhaumik
 

Plus de Guatemala User Group

Plus de Guatemala User Group (20)

La transformacion digital en nuestra vida cotidiana. Un vistazo a las APIs
La transformacion digital en nuestra vida cotidiana. Un vistazo a las APIsLa transformacion digital en nuestra vida cotidiana. Un vistazo a las APIs
La transformacion digital en nuestra vida cotidiana. Un vistazo a las APIs
 
Cloud Integration for Human Resources: Connect with Your talent in the Cloud
Cloud Integration for Human Resources: Connect with Your talent in the CloudCloud Integration for Human Resources: Connect with Your talent in the Cloud
Cloud Integration for Human Resources: Connect with Your talent in the Cloud
 
Oracle 12c New Features
Oracle 12c New FeaturesOracle 12c New Features
Oracle 12c New Features
 
Best Features of Multitenant 12c
Best Features of Multitenant 12cBest Features of Multitenant 12c
Best Features of Multitenant 12c
 
Why to Upgrade to Oracle 12c
Why to Upgrade to Oracle 12cWhy to Upgrade to Oracle 12c
Why to Upgrade to Oracle 12c
 
ADF 12c como Backend
ADF 12c como BackendADF 12c como Backend
ADF 12c como Backend
 
Improving the Performance of PL/SQL function calls from SQL
Improving the Performance of PL/SQL function calls from SQLImproving the Performance of PL/SQL function calls from SQL
Improving the Performance of PL/SQL function calls from SQL
 
Integracion Continua en Oracle ADF
Integracion Continua en Oracle ADFIntegracion Continua en Oracle ADF
Integracion Continua en Oracle ADF
 
Gestión de infraestructura tomcat/Tom EE con tfactory
Gestión de infraestructura tomcat/Tom EE con tfactoryGestión de infraestructura tomcat/Tom EE con tfactory
Gestión de infraestructura tomcat/Tom EE con tfactory
 
Pluggable Databases: What they will break and why you should use them anyway!
Pluggable Databases: What they will break and why you should use them anyway!Pluggable Databases: What they will break and why you should use them anyway!
Pluggable Databases: What they will break and why you should use them anyway!
 
Introduction to Oracle Clusterware 12c
Introduction to Oracle Clusterware 12cIntroduction to Oracle Clusterware 12c
Introduction to Oracle Clusterware 12c
 
What's next after Upgrade to 12c
What's next after Upgrade to 12cWhat's next after Upgrade to 12c
What's next after Upgrade to 12c
 
Upgrade/Migrate to Oracle 12c: Live and Uncensored!
Upgrade/Migrate to Oracle 12c: Live and Uncensored!Upgrade/Migrate to Oracle 12c: Live and Uncensored!
Upgrade/Migrate to Oracle 12c: Live and Uncensored!
 
How to Upgrade Hundreds or Thousands of Databases
How to Upgrade Hundreds or Thousands of DatabasesHow to Upgrade Hundreds or Thousands of Databases
How to Upgrade Hundreds or Thousands of Databases
 
Deep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and TricksDeep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and Tricks
 
How Oracle Single/Multitenant will change a DBA's life
How Oracle Single/Multitenant will change a DBA's lifeHow Oracle Single/Multitenant will change a DBA's life
How Oracle Single/Multitenant will change a DBA's life
 
Integration Cloud Service vs SOA
Integration Cloud Service vs SOAIntegration Cloud Service vs SOA
Integration Cloud Service vs SOA
 
SOA y Microservices Diferencias y Aplicaciones
SOA y Microservices Diferencias y AplicacionesSOA y Microservices Diferencias y Aplicaciones
SOA y Microservices Diferencias y Aplicaciones
 
It's raining data! Oracle databases in the cloud
It's raining data! Oracle databases in the cloudIt's raining data! Oracle databases in the cloud
It's raining data! Oracle databases in the cloud
 
The best Oracle Database 12c Tuning Features for Developers
The best Oracle Database 12c Tuning Features for DevelopersThe best Oracle Database 12c Tuning Features for Developers
The best Oracle Database 12c Tuning Features for Developers
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Crating a Robust Performance Strategy

  • 2. Over 18 years of experience in Oracle , started in 1996. Vice-President Oracle User group in Guatemala since 2014 Member of LAOUC ( Latin America Oracle User Community) Since 2012 Distinguished Member of Oracle Hispanic community Latin America (http://comunidadoraclehispana.ning.com) Wrote Co-Blog Partner Fernando Garcia –Argentina Oracle Ace (https://oracleconprecision.wordpress.com/about) …..In summary a self study Person like you
  • 3. PROPERTIES OF PERFORMANCE P O I N T O F V I E W ( E N D U S E R ) • They expected some benefit in business perspective. • They always will confirm in their system the result of our work. • Measurement is based on a perception of historical performance. P O I N T O F V I E W ( T E C H N I C A L U S E R ) • Optimize system resources according to the request of user. • Need to be logged and compared with a SLA • Measurement is based on a Response Time.
  • 4. THROUGHPUT INDICATORS Improve Throughput means optimizing the components and create load balancing of resources to relieve the containment . A strategy include indicators for both and a method to focus your work across different components in order to achieve a better Performance (decrease response time)
  • 5. TUNING EVERYTHING ? The challenge of it is achieve the expectations of performance that users define as acceptable, the lack of a consistent result in the operation, despite the introduction of new system components or growth of customer requests, result a demand user to tune the system.
  • 6. THE GOLD PIECE (AVG RESPONSE TIME) The tests of scalability and performance monitoring shows in detail each component of the system pointing to the average response time. The goal is to achieve average response time acceptable complying with the user (SLA) and have the least variation so it is predictable Now , you need to use Average, variance, deviation , index of variation (VMR) to observe how much predictable is a process.
  • 7. Average ( or Mean) 24 Variance 313.1111 Dev Standard 17.69495 Variance to mean ration (VMR) 13.0463 The mean is similar in this case , but the dispersion of data is very different Example 2 Example 1 > 1 skewed far away of the mean.
  • 8. HOW PRECISELY IS THIS TOOL ? The change on mean do not dramatically change, but the index of dispersion give us an idea something happen You can inspect the detail around 2PM
  • 9. WHERE DO YOU NEED TUNING ?
  • 10. ANALYZE THE CASES ? AVG RESPONSE TIME FOR THE SAME QUERY Easy to see what is Max Limit , (Tolerance) More than 50% is below of mean, candidate to review why sometimes take to long to finish. More than 50% is over of Mean, candidate to review the execution plan
  • 11. DEMO 1 ( JOBS) ORACLE COLLECTED ALL THE TIMES create table job_timings_test1 as select job_name, count(job_name) executions, round(avg(elapsed_time),3) average, round(median(elapsed_time),3) median, round(variance(elapsed_time),3) variance, round(variance(elapsed_time)/avg(elapsed_time),3) vmr from job_history where start_dat_time > '20013-12-31 23:59:59' and start_dat_time < '2014-01-01 00:00:01' and elapsed_time != 0 group by job_name order by job_name ;
  • 12. ROBUST PERFORMANCE Taguchi Methods for Robust Design by Yuin Wu and Alan Wu (ASME Press, 2000) defines robustness as follows: … the condition used to describe a product or process design that functions with limited variability in spite of diverse and changing environmental conditions, wear, or component-tocomponent variation. A product or process is robust when it has limited or reduced functional variation even in the presence of noise. https://en.wikipedia.org/wiki/Taguchi_methods
  • 13. ROBUST PERFORMANCE Uncontrollable variables are referred to as noise factors. There are three types of noise factors, and they are usually explained in manufacturing or product design terms. However, these types can be easily associated to the “uncontrollable” variables that affect database systems: • External causes: Users or operators, any system issue external to the database • Internal causes: Data growth or changes to code within the database • Component-to-component factors: System resource contention or systemwide changes that affect more than the intended process
  • 14. USUAL APPROACH TO SEE PERFORMANCE
  • 15. CREATE YOUR OWN VERSION TO REVIEW PERFORMANCE (LOGGED THE ELAPSED TIME) Go time: DBMS_UTILITY.get_time (at start) Stop time: DBMS_UTILITY.get_time (at stop) Elapsed time: Stop time–go time CPU go time: DBMS_UTILITY.get_cputime (at start) CPU stop time: DBMS_UTILITY.get_cputime (at stop) CPU elapsed time: CPU stop time–CPU go time
  • 17. FIND SLOWEST AND NOT PREDICTABLE QUERIES Column ct (Count times executed) = Bucket 1 + Bucket2 + Bucket3 + Bucket4 + Bucket5 Example SQL_ID=1kahr9dw1rqbu ,executed = 3942 times, Avg = 7 Segs Bucket1 = [0..98 Segs ] 3862 times 97% , Bucket5 [396-490 Segs] 20 times Less predictable of SQL_ID 06amz8tcpwtuz and the VMR show this.
  • 18. DEMO 2 ( BACKUPS) Select sid,start_time,end_time From V$RMAN_STATUS where OPERATION='BACKUP' select ss.snap_id, ss.instance_number node, begin_interval_time, sql_id, plan_hash_value, nvl(executions_delta,0) execs, (elapsed_time_delta/decode(nvl(executions_delta,0),0,1,executions_delta))/10 00000 avg_etime, from DBA_HIST_SQLSTAT S, DBA_HIST_SNAPSHOT SS where sql_id = ccyax0n7jfa7j' and ss.snap_id = S.snap_id and ss.instance_number = S.instance_number and executions_delta > 0 order by 1, 2, 3 DEMO 3 ( QUERY ELAPSED TIME)
  • 19. SUMMARY WHY WE NEED CREATE THIS METRICS? working on the measuring the system, we also gain more knowledge how works everything. We get the opportunity to test our hypothesis and deny the speculations of other groups with a precarious position ( The application not change / is almost the same size of data / not a large variation of users …etc) A good DBA do not work with assumptions , analyze the processes using the evidence in the metrics.
  • 20. QUESTIONS Anibal.Garcia@Atos.net #AgarciaDBA You want more Demos ? • Network Activity • Spike of Connections • Balance workload in Rac • Bottleneck in Memory/CPU • …. etc