SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Downloaden Sie, um offline zu lesen
Enteros, Inc.
Starwest 2012
Database Load Testing
and Performance Analysis:
New Approaches for Fast Results
Presentation outline
By Enteros CTO
Ron Warshawsky
ron@enteros.com
408-207-8408
October 1, 2013
2
Enteros STARWEST 2012
Load Testing – Why database load testing approach?
1) Faster way to reveal root causes of bottlenecks
2) Faster way to end results
3) Easier to develop
4) Easier to maintain
3
Enteros STARWEST 2012
Fact: Database is the resource that is hardest to scale.
Thus it’s optimization is of critical importance.
Benefits to expect from database optimization
1) SLA compliance of business flows
2) Increase in system availability
3) Increase in system scalability
4) Better resistance to resource spikes
4
Enteros STARWEST 2012
Databases overview
5
Enteros STARWEST 2012
Database architecture (Oracle):
6
Enteros STARWEST 2012
Database architecture (SQL Server):
7
Enteros STARWEST 2012
Database architecture (Hadoop):
8
Enteros STARWEST 2012
Database contentions:
9
Enteros STARWEST 2012
Database performance metrics:
10
Enteros STARWEST 2012
Database load testing process
11
Enteros STARWEST 2012
Database load testing process
1) Capture production database traffic or individual business
flows (Network and SQL trace)
2) Convert captured traffic into database load test scenario
3) Prepare load test database
4) Execute load test scenario to generate load
5) Analyze results of load testing, get optimization
suggestions
6) Implement optimizations
7) Retest
12
Enteros STARWEST 2012
Capture database network traffic
1) Windows - Wireshark
2) UNIX – tcpdump
3) Network switch mirror port / SPAN
13
Enteros STARWEST 2012
Capture database SQL traffic
1) Oracle RAT – real application testing
Oracle EE only, 11g replay, 10g/11g capture (9i with special
patch bundle)
2) Oracle 10046 trace
http://www.oracle-base.com/articles/10g/sql-trace-10046-trcsess-and-tkprof-
10g.php
3) SQL Server Profiler – profiler traces
1) http://msdn.microsoft.com/en-us/library/ms187929(v=sql.105).aspx
14
Enteros STARWEST 2012
Convert traffic into load test
1) Convert database TCP traffic
Mostly commercial implementations:
Enteros Load2Test for Databases
2) Convert Oracle SQL traffic
Oracle RAT
Custom traffic parser for Oracle 10046 trace (Perl, Python)
3) Convert SQL Server SQL traffic
Profiler
Custom traffic parser (Perl, Python)
15
Enteros STARWEST 2012
Create database load test scenario – similar to UI
load testing
1) Identify load testing databases
2) Identify proper mix of business flows or production
replay scenario
3) Identify sessions concurrency
4) Set rendezvous points
5) Set load test duration
16
Enteros STARWEST 2012
Execute load test
1) Monitor and capture load test activity
2) Monitor and capture database activity
3) Monitor and capture OS activity
17
Enteros STARWEST 2012
Database load testing tools
1) Oracle RAT (production traffic)
2) SQL Server trace replay
3) Enteros Load2Test for Databases (production traffic and
business flows)
4) Hammerora (open source, 10046 trace) and SwingBench –
TPC-C, TPC-H
5) Quest benchmark factory (TPC-C, SQL flows, 10046 trace)
6) Grinder (open source) – custom, business flows
18
Enteros STARWEST 2012
Analyze load test results
1) Correlate database analysis timeline with spikes in business
flow response time
2) Start with waits and look for spikes correlated with spikes in
flow response time
3) Drill down to SQLs correlated with waits (different types),
eliminate waits is possible
4) Drill down to SQL consuming Top amount of CPU, tune SQL
5) Drill down to I/O contentions
6) Drill down to SQL consuming Top amount of I/O, tune SQL
7) Drill down to segments and datafiles consuming Top amount
of I/O, tune I/O subsystem
19
Enteros STARWEST 2012
Analyze load test results
20
Enteros STARWEST 2012
Analyze load test results (2)
21
Enteros STARWEST 2012
Analyze load test results (3)
22
Enteros STARWEST 2012
Analyze load test results (4)
23
Enteros STARWEST 2012
Analyze database load test results
1) Visual Tools
Oracle OEM, SPA
Enteros Performance Explorer-i
Enteros High Load Capture
SQL Server management studio, MDB reports
2) Text/HTML Report Tools
Oracle AWR/Statspack reports
Oracle ASH reports
Oracle AWR SQL reports
SQL Server performance views / MDW
24
Enteros STARWEST 2012
Analyze OS load test results
1) Windows – perfmon, Oracle OS Watcher for Windows
UI: PAL – perfmon analysis tool - http://pal.codeplex.com/
UI: Enteros High Load Capture
2) UNIX/Linux – Oracle OS Watcher
Oracle OS Watcher
Oracle support note: OS Watcher Black Box User Guide [ID
301137.1]
UI - Enteros High Load Capture
OS performance tools: top, vmstat, iostat, mpstat, sar
UI – Nagios, cacti
 Questions?
 Email: ron@enteros.com
 Site: http//www.enteros.com
 Enteros: oil in database engine
Enteros Q&A

Weitere ähnliche Inhalte

Was ist angesagt?

Microsoft SQL Server - Files and Filegroups
Microsoft SQL Server - Files and FilegroupsMicrosoft SQL Server - Files and Filegroups
Microsoft SQL Server - Files and FilegroupsNaji El Kotob
 
Real Time Operational Analytics with Microsoft Sql Server 2016 [Liviu Ieran]
Real Time Operational Analytics with Microsoft Sql Server 2016 [Liviu Ieran]Real Time Operational Analytics with Microsoft Sql Server 2016 [Liviu Ieran]
Real Time Operational Analytics with Microsoft Sql Server 2016 [Liviu Ieran]ITCamp
 
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expr...
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata  Expr...Oracle Database 12c Release 2 - New Features On Oracle Database Exadata  Expr...
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expr...Alex Zaballa
 
MS SQL Server 2008, Implementation and Maintenance
MS SQL Server 2008, Implementation and MaintenanceMS SQL Server 2008, Implementation and Maintenance
MS SQL Server 2008, Implementation and MaintenanceVitaliy Fursov
 
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 DBAsAlex Zaballa
 
An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)Marco Gralike
 
Oracle 12c Multi Tenant
Oracle 12c Multi TenantOracle 12c Multi Tenant
Oracle 12c Multi TenantRed Stack Tech
 
Oracle Basics and Architecture
Oracle Basics and ArchitectureOracle Basics and Architecture
Oracle Basics and ArchitectureSidney Chen
 
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 & TTSChristian Gohmann
 
PGConf.ASIA 2019 Bali - Upcoming Features in PostgreSQL 12 - John Naylor
PGConf.ASIA 2019 Bali - Upcoming Features in PostgreSQL 12 - John NaylorPGConf.ASIA 2019 Bali - Upcoming Features in PostgreSQL 12 - John Naylor
PGConf.ASIA 2019 Bali - Upcoming Features in PostgreSQL 12 - John NaylorEqunix Business Solutions
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new featuresRemote DBA Services
 
Experience sql server on l inux and docker
Experience sql server on l inux and dockerExperience sql server on l inux and docker
Experience sql server on l inux and dockerBob Ward
 
Sql server 2016 it just runs faster sql bits 2017 edition
Sql server 2016 it just runs faster   sql bits 2017 editionSql server 2016 it just runs faster   sql bits 2017 edition
Sql server 2016 it just runs faster sql bits 2017 editionBob Ward
 
Connecting Hadoop and Oracle
Connecting Hadoop and OracleConnecting Hadoop and Oracle
Connecting Hadoop and OracleTanel Poder
 
Inside SQL Server In-Memory OLTP
Inside SQL Server In-Memory OLTPInside SQL Server In-Memory OLTP
Inside SQL Server In-Memory OLTPBob Ward
 

Was ist angesagt? (18)

Microsoft SQL Server - Files and Filegroups
Microsoft SQL Server - Files and FilegroupsMicrosoft SQL Server - Files and Filegroups
Microsoft SQL Server - Files and Filegroups
 
Real Time Operational Analytics with Microsoft Sql Server 2016 [Liviu Ieran]
Real Time Operational Analytics with Microsoft Sql Server 2016 [Liviu Ieran]Real Time Operational Analytics with Microsoft Sql Server 2016 [Liviu Ieran]
Real Time Operational Analytics with Microsoft Sql Server 2016 [Liviu Ieran]
 
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expr...
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata  Expr...Oracle Database 12c Release 2 - New Features On Oracle Database Exadata  Expr...
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expr...
 
MS SQL Server 2008, Implementation and Maintenance
MS SQL Server 2008, Implementation and MaintenanceMS SQL Server 2008, Implementation and Maintenance
MS SQL Server 2008, Implementation and Maintenance
 
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
 
An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)
 
Oracle 12c Multi Tenant
Oracle 12c Multi TenantOracle 12c Multi Tenant
Oracle 12c Multi Tenant
 
Oracle Basics and Architecture
Oracle Basics and ArchitectureOracle Basics and Architecture
Oracle Basics and Architecture
 
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
 
PGConf.ASIA 2019 Bali - Upcoming Features in PostgreSQL 12 - John Naylor
PGConf.ASIA 2019 Bali - Upcoming Features in PostgreSQL 12 - John NaylorPGConf.ASIA 2019 Bali - Upcoming Features in PostgreSQL 12 - John Naylor
PGConf.ASIA 2019 Bali - Upcoming Features in PostgreSQL 12 - John Naylor
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new features
 
Experience sql server on l inux and docker
Experience sql server on l inux and dockerExperience sql server on l inux and docker
Experience sql server on l inux and docker
 
Sql server 2016 it just runs faster sql bits 2017 edition
Sql server 2016 it just runs faster   sql bits 2017 editionSql server 2016 it just runs faster   sql bits 2017 edition
Sql server 2016 it just runs faster sql bits 2017 edition
 
Postgresql
PostgresqlPostgresql
Postgresql
 
Connecting Hadoop and Oracle
Connecting Hadoop and OracleConnecting Hadoop and Oracle
Connecting Hadoop and Oracle
 
Oracle 10g Introduction 1
Oracle 10g Introduction 1Oracle 10g Introduction 1
Oracle 10g Introduction 1
 
Inside SQL Server In-Memory OLTP
Inside SQL Server In-Memory OLTPInside SQL Server In-Memory OLTP
Inside SQL Server In-Memory OLTP
 
SQL server Backup Restore Revealed
SQL server Backup Restore RevealedSQL server Backup Restore Revealed
SQL server Backup Restore Revealed
 

Andere mochten auch

Delphix and Pure Storage partner
Delphix and Pure Storage partnerDelphix and Pure Storage partner
Delphix and Pure Storage partnerKyle Hailey
 
Pure Storage Customer Business and IT Transformation
Pure Storage Customer Business and IT TransformationPure Storage Customer Business and IT Transformation
Pure Storage Customer Business and IT TransformationPure Storage
 
[Basic HTML/CSS] 0. introduction
[Basic HTML/CSS] 0. introduction[Basic HTML/CSS] 0. introduction
[Basic HTML/CSS] 0. introductionHyejin Oh
 
שבוע אורקל 2016
שבוע אורקל 2016שבוע אורקל 2016
שבוע אורקל 2016Aaron Shilo
 
All of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL DeveloperAll of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL DeveloperJeff Smith
 
An Overview of Oracle's Use of Its Own Software and Hardware
	An Overview of Oracle's Use of Its Own Software and Hardware	An Overview of Oracle's Use of Its Own Software and Hardware
An Overview of Oracle's Use of Its Own Software and HardwareVladimir Begun
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to htmlvikasgaur31
 

Andere mochten auch (9)

Delphix and Pure Storage partner
Delphix and Pure Storage partnerDelphix and Pure Storage partner
Delphix and Pure Storage partner
 
Links - IntraPage
Links - IntraPageLinks - IntraPage
Links - IntraPage
 
Web server
Web serverWeb server
Web server
 
Pure Storage Customer Business and IT Transformation
Pure Storage Customer Business and IT TransformationPure Storage Customer Business and IT Transformation
Pure Storage Customer Business and IT Transformation
 
[Basic HTML/CSS] 0. introduction
[Basic HTML/CSS] 0. introduction[Basic HTML/CSS] 0. introduction
[Basic HTML/CSS] 0. introduction
 
שבוע אורקל 2016
שבוע אורקל 2016שבוע אורקל 2016
שבוע אורקל 2016
 
All of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL DeveloperAll of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL Developer
 
An Overview of Oracle's Use of Its Own Software and Hardware
	An Overview of Oracle's Use of Its Own Software and Hardware	An Overview of Oracle's Use of Its Own Software and Hardware
An Overview of Oracle's Use of Its Own Software and Hardware
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 

Ähnlich wie Enteros StarWest 2012 - Database load testing

Ebs performance tune2_con9030_pdf_9030_0002
Ebs performance tune2_con9030_pdf_9030_0002Ebs performance tune2_con9030_pdf_9030_0002
Ebs performance tune2_con9030_pdf_9030_0002jucaab
 
Getting optimal performance from oracle e-business suite presentation
Getting optimal performance from oracle e-business suite presentationGetting optimal performance from oracle e-business suite presentation
Getting optimal performance from oracle e-business suite presentationBerry Clemens
 
Ebs performance tune_con9030_pdf_9030_0001
Ebs performance tune_con9030_pdf_9030_0001Ebs performance tune_con9030_pdf_9030_0001
Ebs performance tune_con9030_pdf_9030_0001jucaab
 
Perfsystems- Consulting Services
Perfsystems- Consulting ServicesPerfsystems- Consulting Services
Perfsystems- Consulting ServicesPerfsys Tems
 
Oracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationOracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationFrancisco Alvarez
 
MySQL Replication Performance in the Cloud
MySQL Replication Performance in the CloudMySQL Replication Performance in the Cloud
MySQL Replication Performance in the CloudVitor Oliveira
 
Getting optimal performance from oracle e business suite
Getting optimal performance from oracle e business suiteGetting optimal performance from oracle e business suite
Getting optimal performance from oracle e business suiteaioughydchapter
 
Getting optimal performance from oracle e business suite(aioug aug2015)
Getting optimal performance from oracle e business suite(aioug aug2015)Getting optimal performance from oracle e business suite(aioug aug2015)
Getting optimal performance from oracle e business suite(aioug aug2015)pasalapudi123
 
Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15Bobby Curtis
 
ISE 730 flash enabled Hybrid Storage Array, 60,000 IOPS @ full capacity
ISE 730 flash enabled Hybrid Storage Array, 60,000 IOPS @ full capacityISE 730 flash enabled Hybrid Storage Array, 60,000 IOPS @ full capacity
ISE 730 flash enabled Hybrid Storage Array, 60,000 IOPS @ full capacityX-IO Technologies
 
Comparison between rdbms and nosql
Comparison between rdbms and nosqlComparison between rdbms and nosql
Comparison between rdbms and nosqlbharati k
 
Ebs dba con4696_pdf_4696_0001
Ebs dba con4696_pdf_4696_0001Ebs dba con4696_pdf_4696_0001
Ebs dba con4696_pdf_4696_0001jucaab
 

Ähnlich wie Enteros StarWest 2012 - Database load testing (20)

Ebs performance tune2_con9030_pdf_9030_0002
Ebs performance tune2_con9030_pdf_9030_0002Ebs performance tune2_con9030_pdf_9030_0002
Ebs performance tune2_con9030_pdf_9030_0002
 
Getting optimal performance from oracle e-business suite presentation
Getting optimal performance from oracle e-business suite presentationGetting optimal performance from oracle e-business suite presentation
Getting optimal performance from oracle e-business suite presentation
 
Ebs performance tune_con9030_pdf_9030_0001
Ebs performance tune_con9030_pdf_9030_0001Ebs performance tune_con9030_pdf_9030_0001
Ebs performance tune_con9030_pdf_9030_0001
 
KarenResumeDBA
KarenResumeDBAKarenResumeDBA
KarenResumeDBA
 
KarenResumeDBA
KarenResumeDBAKarenResumeDBA
KarenResumeDBA
 
Using AWR for SQL Analysis
Using AWR for SQL AnalysisUsing AWR for SQL Analysis
Using AWR for SQL Analysis
 
Perfsystems- Consulting Services
Perfsystems- Consulting ServicesPerfsystems- Consulting Services
Perfsystems- Consulting Services
 
Oracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationOracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c Presentation
 
MySQL Replication Performance in the Cloud
MySQL Replication Performance in the CloudMySQL Replication Performance in the Cloud
MySQL Replication Performance in the Cloud
 
Getting optimal performance from oracle e business suite
Getting optimal performance from oracle e business suiteGetting optimal performance from oracle e business suite
Getting optimal performance from oracle e business suite
 
Getting optimal performance from oracle e business suite(aioug aug2015)
Getting optimal performance from oracle e business suite(aioug aug2015)Getting optimal performance from oracle e business suite(aioug aug2015)
Getting optimal performance from oracle e business suite(aioug aug2015)
 
Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15
 
ISE 730 flash enabled Hybrid Storage Array, 60,000 IOPS @ full capacity
ISE 730 flash enabled Hybrid Storage Array, 60,000 IOPS @ full capacityISE 730 flash enabled Hybrid Storage Array, 60,000 IOPS @ full capacity
ISE 730 flash enabled Hybrid Storage Array, 60,000 IOPS @ full capacity
 
Comparison between rdbms and nosql
Comparison between rdbms and nosqlComparison between rdbms and nosql
Comparison between rdbms and nosql
 
Oracle analysis 101_v1.0_ext
Oracle analysis 101_v1.0_extOracle analysis 101_v1.0_ext
Oracle analysis 101_v1.0_ext
 
Oracle
OracleOracle
Oracle
 
AMIS Oracle OpenWorld 2013 Review Part 1 - Intro Overview Innovation, Hardwar...
AMIS Oracle OpenWorld 2013 Review Part 1 - Intro Overview Innovation, Hardwar...AMIS Oracle OpenWorld 2013 Review Part 1 - Intro Overview Innovation, Hardwar...
AMIS Oracle OpenWorld 2013 Review Part 1 - Intro Overview Innovation, Hardwar...
 
User Group3009
User Group3009User Group3009
User Group3009
 
Vineet Kurrewar
Vineet KurrewarVineet Kurrewar
Vineet Kurrewar
 
Ebs dba con4696_pdf_4696_0001
Ebs dba con4696_pdf_4696_0001Ebs dba con4696_pdf_4696_0001
Ebs dba con4696_pdf_4696_0001
 

Kürzlich hochgeladen

Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfVideogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfinfogdgmi
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UbiTrack UK
 
How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?IES VE
 
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfJamie (Taka) Wang
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAshyamraj55
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxGDSC PJATK
 
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCostKubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCostMatt Ray
 
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024D Cloud Solutions
 
UiPath Clipboard AI: "A TIME Magazine Best Invention of 2023 Unveiled"
UiPath Clipboard AI: "A TIME Magazine Best Invention of 2023 Unveiled"UiPath Clipboard AI: "A TIME Magazine Best Invention of 2023 Unveiled"
UiPath Clipboard AI: "A TIME Magazine Best Invention of 2023 Unveiled"DianaGray10
 
Governance in SharePoint Premium:What's in the box?
Governance in SharePoint Premium:What's in the box?Governance in SharePoint Premium:What's in the box?
Governance in SharePoint Premium:What's in the box?Juan Carlos Gonzalez
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024SkyPlanner
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesMd Hossain Ali
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsSafe Software
 
Bird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystemBird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystemAsko Soukka
 
UiPath Studio Web workshop series - Day 5
UiPath Studio Web workshop series - Day 5UiPath Studio Web workshop series - Day 5
UiPath Studio Web workshop series - Day 5DianaGray10
 
Nanopower In Semiconductor Industry.pdf
Nanopower  In Semiconductor Industry.pdfNanopower  In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdfPedro Manuel
 
20230202 - Introduction to tis-py
20230202 - Introduction to tis-py20230202 - Introduction to tis-py
20230202 - Introduction to tis-pyJamie (Taka) Wang
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Adtran
 

Kürzlich hochgeladen (20)

Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfVideogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdf
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
 
How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?
 
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
 
20230104 - machine vision
20230104 - machine vision20230104 - machine vision
20230104 - machine vision
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptx
 
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCostKubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
 
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024
 
UiPath Clipboard AI: "A TIME Magazine Best Invention of 2023 Unveiled"
UiPath Clipboard AI: "A TIME Magazine Best Invention of 2023 Unveiled"UiPath Clipboard AI: "A TIME Magazine Best Invention of 2023 Unveiled"
UiPath Clipboard AI: "A TIME Magazine Best Invention of 2023 Unveiled"
 
Governance in SharePoint Premium:What's in the box?
Governance in SharePoint Premium:What's in the box?Governance in SharePoint Premium:What's in the box?
Governance in SharePoint Premium:What's in the box?
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
 
Bird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystemBird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystem
 
UiPath Studio Web workshop series - Day 5
UiPath Studio Web workshop series - Day 5UiPath Studio Web workshop series - Day 5
UiPath Studio Web workshop series - Day 5
 
Nanopower In Semiconductor Industry.pdf
Nanopower  In Semiconductor Industry.pdfNanopower  In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdf
 
20230202 - Introduction to tis-py
20230202 - Introduction to tis-py20230202 - Introduction to tis-py
20230202 - Introduction to tis-py
 
201610817 - edge part1
201610817 - edge part1201610817 - edge part1
201610817 - edge part1
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™
 

Enteros StarWest 2012 - Database load testing

  • 1. Enteros, Inc. Starwest 2012 Database Load Testing and Performance Analysis: New Approaches for Fast Results Presentation outline By Enteros CTO Ron Warshawsky ron@enteros.com 408-207-8408 October 1, 2013
  • 2. 2 Enteros STARWEST 2012 Load Testing – Why database load testing approach? 1) Faster way to reveal root causes of bottlenecks 2) Faster way to end results 3) Easier to develop 4) Easier to maintain
  • 3. 3 Enteros STARWEST 2012 Fact: Database is the resource that is hardest to scale. Thus it’s optimization is of critical importance. Benefits to expect from database optimization 1) SLA compliance of business flows 2) Increase in system availability 3) Increase in system scalability 4) Better resistance to resource spikes
  • 5. 5 Enteros STARWEST 2012 Database architecture (Oracle):
  • 6. 6 Enteros STARWEST 2012 Database architecture (SQL Server):
  • 7. 7 Enteros STARWEST 2012 Database architecture (Hadoop):
  • 9. 9 Enteros STARWEST 2012 Database performance metrics:
  • 10. 10 Enteros STARWEST 2012 Database load testing process
  • 11. 11 Enteros STARWEST 2012 Database load testing process 1) Capture production database traffic or individual business flows (Network and SQL trace) 2) Convert captured traffic into database load test scenario 3) Prepare load test database 4) Execute load test scenario to generate load 5) Analyze results of load testing, get optimization suggestions 6) Implement optimizations 7) Retest
  • 12. 12 Enteros STARWEST 2012 Capture database network traffic 1) Windows - Wireshark 2) UNIX – tcpdump 3) Network switch mirror port / SPAN
  • 13. 13 Enteros STARWEST 2012 Capture database SQL traffic 1) Oracle RAT – real application testing Oracle EE only, 11g replay, 10g/11g capture (9i with special patch bundle) 2) Oracle 10046 trace http://www.oracle-base.com/articles/10g/sql-trace-10046-trcsess-and-tkprof- 10g.php 3) SQL Server Profiler – profiler traces 1) http://msdn.microsoft.com/en-us/library/ms187929(v=sql.105).aspx
  • 14. 14 Enteros STARWEST 2012 Convert traffic into load test 1) Convert database TCP traffic Mostly commercial implementations: Enteros Load2Test for Databases 2) Convert Oracle SQL traffic Oracle RAT Custom traffic parser for Oracle 10046 trace (Perl, Python) 3) Convert SQL Server SQL traffic Profiler Custom traffic parser (Perl, Python)
  • 15. 15 Enteros STARWEST 2012 Create database load test scenario – similar to UI load testing 1) Identify load testing databases 2) Identify proper mix of business flows or production replay scenario 3) Identify sessions concurrency 4) Set rendezvous points 5) Set load test duration
  • 16. 16 Enteros STARWEST 2012 Execute load test 1) Monitor and capture load test activity 2) Monitor and capture database activity 3) Monitor and capture OS activity
  • 17. 17 Enteros STARWEST 2012 Database load testing tools 1) Oracle RAT (production traffic) 2) SQL Server trace replay 3) Enteros Load2Test for Databases (production traffic and business flows) 4) Hammerora (open source, 10046 trace) and SwingBench – TPC-C, TPC-H 5) Quest benchmark factory (TPC-C, SQL flows, 10046 trace) 6) Grinder (open source) – custom, business flows
  • 18. 18 Enteros STARWEST 2012 Analyze load test results 1) Correlate database analysis timeline with spikes in business flow response time 2) Start with waits and look for spikes correlated with spikes in flow response time 3) Drill down to SQLs correlated with waits (different types), eliminate waits is possible 4) Drill down to SQL consuming Top amount of CPU, tune SQL 5) Drill down to I/O contentions 6) Drill down to SQL consuming Top amount of I/O, tune SQL 7) Drill down to segments and datafiles consuming Top amount of I/O, tune I/O subsystem
  • 19. 19 Enteros STARWEST 2012 Analyze load test results
  • 20. 20 Enteros STARWEST 2012 Analyze load test results (2)
  • 21. 21 Enteros STARWEST 2012 Analyze load test results (3)
  • 22. 22 Enteros STARWEST 2012 Analyze load test results (4)
  • 23. 23 Enteros STARWEST 2012 Analyze database load test results 1) Visual Tools Oracle OEM, SPA Enteros Performance Explorer-i Enteros High Load Capture SQL Server management studio, MDB reports 2) Text/HTML Report Tools Oracle AWR/Statspack reports Oracle ASH reports Oracle AWR SQL reports SQL Server performance views / MDW
  • 24. 24 Enteros STARWEST 2012 Analyze OS load test results 1) Windows – perfmon, Oracle OS Watcher for Windows UI: PAL – perfmon analysis tool - http://pal.codeplex.com/ UI: Enteros High Load Capture 2) UNIX/Linux – Oracle OS Watcher Oracle OS Watcher Oracle support note: OS Watcher Black Box User Guide [ID 301137.1] UI - Enteros High Load Capture OS performance tools: top, vmstat, iostat, mpstat, sar UI – Nagios, cacti
  • 25.  Questions?  Email: ron@enteros.com  Site: http//www.enteros.com  Enteros: oil in database engine Enteros Q&A