SlideShare a Scribd company logo
1 of 19
Insert Picture Here
Scalablity and Benchmark in
MySQL performance
Amrendra Kumar
Principlal Member of Tech Staff
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.2
The following is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract.
It is not a commitment to deliver any material, code, or functionality, and should not be
relied upon in making purchasing decisions. The development, release, and timing of
any features or functionality described for Oracle’s products remains at the sole
discretion of Oracle.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.4
Why MySQL Performance ?..
● Any solution may look “good enough”...
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.5
Why MySQL Performance ?..
● Until it did not reach its limit..
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.6
Why MySQL Performance ?..
● And reach a similar limit..
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.7
Why MySQL Performance ?..
● And even improved solution may not resist to increasing load..
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.8
Why MySQL Performance ?..
● Analyzing your workload performance and testing your limits may
help you to understand ahead the resistance of your solution to
incoming potentialproblems ;-)
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.9
The MySQL Performance
Best Practice #1 is... ???..
USE Common Sense!!!... ;-)
● Any benchmark is fine but you must test
it in your h/w and environment
● Test to believe
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.10
The MySQL Performance
Best Practice #1 is... ???..
USE Common Sense!!!... ;-)
Main Slides now :)
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.11
#2 - Monitoring is THE MUST ! �
even don’t start to touch anything �
without monitoring.. ;-)
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.12
MySQL Enterprise Monitor
• Fantastic tool!
• Did you already try it?.. Did you see it live?..
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.13
Other Monitoring Tools
Cacti, Zabbix, Nagios, Solarwinds, etc…..
• dim_STAT
• well, I'm using this one, sorry ;-)
• all graphs within presentation were made with it
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.14
A Word about Monitoring…
always validate the impact of your Monitoring on your Production ;-)
• taking 1sec measurements is fine, except :
• if it’s eating 100% CPU time on one or more CPU cores..
• reducing your network traffic / latency..
• eats your RAM, etc.
• avoid to be too much intrusive on MySQL/InnoDB internals..
• you may easily create an additional overhead
• as well you may add artificial locks on your workflow
• for ex: run in loop “show processlist”, etc..
• well, nothing is coming for free, so think about what you’re doing !
• (#1 best practice once again ;-))
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.15
• Single MySQL Instance Performance & Scalability
• single HW host
• no replication
• just to understand how far MySQL Server may scale..
• what are the limits
• what to care about ahead
• which situations are absolutely to avoid.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.16
Why Scalability ?..
• will x2 times faster CPU increase your performance by x2 ?..
• CPU cores : more and more over year-to-year..
• Intel 2CPU : 36cores-HT (2015)
• intel 2CPU : 44cores-HT (March 2016)..
• …
• Scalability In Few Words :
• your software is able to deliver a higher throughput if more HW resources are
available..
• (then, scaling it well or not is another story ;-))
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.17
interpretation of Scalability…
Scale upto N connections
Both are scaling up to 64 connections,
but only one is able to keep a higher load..
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.18
“Generic” Test Workloads @MySQL
• Sysbench <= “Entry Ticket”
• OLTP, RO/RW, N-tables, lots test workload load options, deadlocks
• DBT2 / TPCC-like
• OLTP, RW, very complex, growing db, no options, deadlocks
• In fact using mostly only 2 tables! (thanks Performance Schema ;-))
• dbSTRESS
• OLTP, RO/RW, several tables, one most hot, configurable, no deadlocks
• iiBench
• pure INSERT (time series) + SELECT
• LinkBench (Facebook)
• OLTP, RW, very intensive, IO-hungry..
• DBT3
• DWH, RO, complex heavy query, loved by Optimizer Team ;-)
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.19
RO Point-Selects @MySQL 5.7 (Apr.2016)
• 1.8M QPS Sysbench Point-Selects 8-tab, 72cores-HT :
• or even more, if you really run after numbers.. ;-))
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.20
Q & A now...
Reference:https://www.percona.com/live/data-performance-conference-2016/sessions/mysql-performance-scalability-benchmarks

More Related Content

What's hot

MySQL Manchester TT - 5.7 Whats new
MySQL Manchester TT - 5.7 Whats newMySQL Manchester TT - 5.7 Whats new
MySQL Manchester TT - 5.7 Whats newMark Swarbrick
 
How to Secure Your Scylla Deployment: Authorization, Encryption, LDAP Authent...
How to Secure Your Scylla Deployment: Authorization, Encryption, LDAP Authent...How to Secure Your Scylla Deployment: Authorization, Encryption, LDAP Authent...
How to Secure Your Scylla Deployment: Authorization, Encryption, LDAP Authent...ScyllaDB
 
Make 2016 your year of SMACK talk
Make 2016 your year of SMACK talkMake 2016 your year of SMACK talk
Make 2016 your year of SMACK talkDataStax Academy
 
Apache Kafka at LinkedIn
Apache Kafka at LinkedInApache Kafka at LinkedIn
Apache Kafka at LinkedInGuozhang Wang
 
How to upgrade like a boss to my sql 8.0?
How to upgrade like a boss to my sql 8.0?How to upgrade like a boss to my sql 8.0?
How to upgrade like a boss to my sql 8.0?Alkin Tezuysal
 
Oracle to Cassandra Core Concepts Guid Part 1: A new hope
Oracle to Cassandra Core Concepts Guid Part 1: A new hopeOracle to Cassandra Core Concepts Guid Part 1: A new hope
Oracle to Cassandra Core Concepts Guid Part 1: A new hopeDataStax
 
Ansible for large scale deployment
Ansible for large scale deploymentAnsible for large scale deployment
Ansible for large scale deploymentKarthik .P.R
 
Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360Carlos Sierra
 
MySQL HA Percona cluster @ MySQL meetup Mumbai
MySQL HA Percona cluster @ MySQL meetup MumbaiMySQL HA Percona cluster @ MySQL meetup Mumbai
MySQL HA Percona cluster @ MySQL meetup MumbaiRemote MySQL DBA
 
SAS Institute on Changing All Four Tires While Driving an AdTech Engine at Fu...
SAS Institute on Changing All Four Tires While Driving an AdTech Engine at Fu...SAS Institute on Changing All Four Tires While Driving an AdTech Engine at Fu...
SAS Institute on Changing All Four Tires While Driving an AdTech Engine at Fu...ScyllaDB
 
Dr. Elephant: Achieving Quicker, Easier, and Cost-Effective Big Data Analytic...
Dr. Elephant: Achieving Quicker, Easier, and Cost-Effective Big Data Analytic...Dr. Elephant: Achieving Quicker, Easier, and Cost-Effective Big Data Analytic...
Dr. Elephant: Achieving Quicker, Easier, and Cost-Effective Big Data Analytic...Spark Summit
 
Spark introduction and architecture
Spark introduction and architectureSpark introduction and architecture
Spark introduction and architectureSohil Jain
 
Introducing DataStax Enterprise 4.7
Introducing DataStax Enterprise 4.7Introducing DataStax Enterprise 4.7
Introducing DataStax Enterprise 4.7DataStax
 
mParticle's Journey to Scylla from Cassandra
mParticle's Journey to Scylla from CassandramParticle's Journey to Scylla from Cassandra
mParticle's Journey to Scylla from CassandraScyllaDB
 
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)Andrew Morgan
 
MySQL Query Optimization (Basics)
MySQL Query Optimization (Basics)MySQL Query Optimization (Basics)
MySQL Query Optimization (Basics)Karthik .P.R
 
20171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v120171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v1Ivan Ma
 
Designing Resilient Application Platforms with Apache Cassandra - Hayato Shim...
Designing Resilient Application Platforms with Apache Cassandra - Hayato Shim...Designing Resilient Application Platforms with Apache Cassandra - Hayato Shim...
Designing Resilient Application Platforms with Apache Cassandra - Hayato Shim...jaxLondonConference
 
Webinar slides: Introduction to Database Proxies (for MySQL)
Webinar slides: Introduction to Database Proxies (for MySQL)Webinar slides: Introduction to Database Proxies (for MySQL)
Webinar slides: Introduction to Database Proxies (for MySQL)Continuent
 
DataStax: How to Roll Cassandra into Production Without Losing your Health, M...
DataStax: How to Roll Cassandra into Production Without Losing your Health, M...DataStax: How to Roll Cassandra into Production Without Losing your Health, M...
DataStax: How to Roll Cassandra into Production Without Losing your Health, M...DataStax Academy
 

What's hot (20)

MySQL Manchester TT - 5.7 Whats new
MySQL Manchester TT - 5.7 Whats newMySQL Manchester TT - 5.7 Whats new
MySQL Manchester TT - 5.7 Whats new
 
How to Secure Your Scylla Deployment: Authorization, Encryption, LDAP Authent...
How to Secure Your Scylla Deployment: Authorization, Encryption, LDAP Authent...How to Secure Your Scylla Deployment: Authorization, Encryption, LDAP Authent...
How to Secure Your Scylla Deployment: Authorization, Encryption, LDAP Authent...
 
Make 2016 your year of SMACK talk
Make 2016 your year of SMACK talkMake 2016 your year of SMACK talk
Make 2016 your year of SMACK talk
 
Apache Kafka at LinkedIn
Apache Kafka at LinkedInApache Kafka at LinkedIn
Apache Kafka at LinkedIn
 
How to upgrade like a boss to my sql 8.0?
How to upgrade like a boss to my sql 8.0?How to upgrade like a boss to my sql 8.0?
How to upgrade like a boss to my sql 8.0?
 
Oracle to Cassandra Core Concepts Guid Part 1: A new hope
Oracle to Cassandra Core Concepts Guid Part 1: A new hopeOracle to Cassandra Core Concepts Guid Part 1: A new hope
Oracle to Cassandra Core Concepts Guid Part 1: A new hope
 
Ansible for large scale deployment
Ansible for large scale deploymentAnsible for large scale deployment
Ansible for large scale deployment
 
Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360
 
MySQL HA Percona cluster @ MySQL meetup Mumbai
MySQL HA Percona cluster @ MySQL meetup MumbaiMySQL HA Percona cluster @ MySQL meetup Mumbai
MySQL HA Percona cluster @ MySQL meetup Mumbai
 
SAS Institute on Changing All Four Tires While Driving an AdTech Engine at Fu...
SAS Institute on Changing All Four Tires While Driving an AdTech Engine at Fu...SAS Institute on Changing All Four Tires While Driving an AdTech Engine at Fu...
SAS Institute on Changing All Four Tires While Driving an AdTech Engine at Fu...
 
Dr. Elephant: Achieving Quicker, Easier, and Cost-Effective Big Data Analytic...
Dr. Elephant: Achieving Quicker, Easier, and Cost-Effective Big Data Analytic...Dr. Elephant: Achieving Quicker, Easier, and Cost-Effective Big Data Analytic...
Dr. Elephant: Achieving Quicker, Easier, and Cost-Effective Big Data Analytic...
 
Spark introduction and architecture
Spark introduction and architectureSpark introduction and architecture
Spark introduction and architecture
 
Introducing DataStax Enterprise 4.7
Introducing DataStax Enterprise 4.7Introducing DataStax Enterprise 4.7
Introducing DataStax Enterprise 4.7
 
mParticle's Journey to Scylla from Cassandra
mParticle's Journey to Scylla from CassandramParticle's Journey to Scylla from Cassandra
mParticle's Journey to Scylla from Cassandra
 
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
 
MySQL Query Optimization (Basics)
MySQL Query Optimization (Basics)MySQL Query Optimization (Basics)
MySQL Query Optimization (Basics)
 
20171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v120171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v1
 
Designing Resilient Application Platforms with Apache Cassandra - Hayato Shim...
Designing Resilient Application Platforms with Apache Cassandra - Hayato Shim...Designing Resilient Application Platforms with Apache Cassandra - Hayato Shim...
Designing Resilient Application Platforms with Apache Cassandra - Hayato Shim...
 
Webinar slides: Introduction to Database Proxies (for MySQL)
Webinar slides: Introduction to Database Proxies (for MySQL)Webinar slides: Introduction to Database Proxies (for MySQL)
Webinar slides: Introduction to Database Proxies (for MySQL)
 
DataStax: How to Roll Cassandra into Production Without Losing your Health, M...
DataStax: How to Roll Cassandra into Production Without Losing your Health, M...DataStax: How to Roll Cassandra into Production Without Losing your Health, M...
DataStax: How to Roll Cassandra into Production Without Losing your Health, M...
 

Viewers also liked

ILoveYouLA Wireframe 1
ILoveYouLA Wireframe 1ILoveYouLA Wireframe 1
ILoveYouLA Wireframe 1Nicole Filia
 
Programming Without Coding Technology (PWCT) - Label Control
Programming Without Coding Technology (PWCT) - Label ControlProgramming Without Coding Technology (PWCT) - Label Control
Programming Without Coding Technology (PWCT) - Label ControlMahmoud Samir Fayed
 
사설토토 <&&>§∇♤kid85.com○∇§ <&&>사설토토 사설토토
사설토토 <&&>§∇♤kid85.com○∇§ <&&>사설토토 사설토토사설토토 <&&>§∇♤kid85.com○∇§ <&&>사설토토 사설토토
사설토토 <&&>§∇♤kid85.com○∇§ <&&>사설토토 사설토토segtdfghfdh
 
Trovas de Ivone Boechat
Trovas de Ivone BoechatTrovas de Ivone Boechat
Trovas de Ivone BoechatIvone Boechat
 
Авторська грунтована текстильна іграшка
Авторська грунтована текстильна  іграшкаАвторська грунтована текстильна  іграшка
Авторська грунтована текстильна іграшкаorganizatorwa
 
MoLe: Motion Leaks through Smartwatch Sensors
MoLe: Motion Leaks through Smartwatch SensorsMoLe: Motion Leaks through Smartwatch Sensors
MoLe: Motion Leaks through Smartwatch SensorsJoon Young Park
 
Basking in his fullness
Basking in his fullnessBasking in his fullness
Basking in his fullnessScott Odigie
 
pgconfasia2016 lt ssd2gpu
pgconfasia2016 lt ssd2gpupgconfasia2016 lt ssd2gpu
pgconfasia2016 lt ssd2gpuKohei KaiGai
 
Data-Driven Marketing: Less ‘Spray’ more ‘Prey.’ The Journey to Better Custom...
Data-Driven Marketing: Less ‘Spray’ more ‘Prey.’ The Journey to Better Custom...Data-Driven Marketing: Less ‘Spray’ more ‘Prey.’ The Journey to Better Custom...
Data-Driven Marketing: Less ‘Spray’ more ‘Prey.’ The Journey to Better Custom...Braden Ford
 

Viewers also liked (14)

A bíblia do bebê
A bíblia do bebêA bíblia do bebê
A bíblia do bebê
 
Degree
DegreeDegree
Degree
 
ILoveYouLA Wireframe 1
ILoveYouLA Wireframe 1ILoveYouLA Wireframe 1
ILoveYouLA Wireframe 1
 
Programming Without Coding Technology (PWCT) - Label Control
Programming Without Coding Technology (PWCT) - Label ControlProgramming Without Coding Technology (PWCT) - Label Control
Programming Without Coding Technology (PWCT) - Label Control
 
사설토토 <&&>§∇♤kid85.com○∇§ <&&>사설토토 사설토토
사설토토 <&&>§∇♤kid85.com○∇§ <&&>사설토토 사설토토사설토토 <&&>§∇♤kid85.com○∇§ <&&>사설토토 사설토토
사설토토 <&&>§∇♤kid85.com○∇§ <&&>사설토토 사설토토
 
Ullas-Resume
Ullas-ResumeUllas-Resume
Ullas-Resume
 
Trovas de Ivone Boechat
Trovas de Ivone BoechatTrovas de Ivone Boechat
Trovas de Ivone Boechat
 
Досалиева Наталья 1 курс IBM
Досалиева Наталья 1 курс IBMДосалиева Наталья 1 курс IBM
Досалиева Наталья 1 курс IBM
 
Авторська грунтована текстильна іграшка
Авторська грунтована текстильна  іграшкаАвторська грунтована текстильна  іграшка
Авторська грунтована текстильна іграшка
 
MoLe: Motion Leaks through Smartwatch Sensors
MoLe: Motion Leaks through Smartwatch SensorsMoLe: Motion Leaks through Smartwatch Sensors
MoLe: Motion Leaks through Smartwatch Sensors
 
Energy days Zenica
Energy days Zenica Energy days Zenica
Energy days Zenica
 
Basking in his fullness
Basking in his fullnessBasking in his fullness
Basking in his fullness
 
pgconfasia2016 lt ssd2gpu
pgconfasia2016 lt ssd2gpupgconfasia2016 lt ssd2gpu
pgconfasia2016 lt ssd2gpu
 
Data-Driven Marketing: Less ‘Spray’ more ‘Prey.’ The Journey to Better Custom...
Data-Driven Marketing: Less ‘Spray’ more ‘Prey.’ The Journey to Better Custom...Data-Driven Marketing: Less ‘Spray’ more ‘Prey.’ The Journey to Better Custom...
Data-Driven Marketing: Less ‘Spray’ more ‘Prey.’ The Journey to Better Custom...
 

Similar to Scalablity and benchmark in mysql performance

MySql's NoSQL -- best of both worlds on the same disks
MySql's NoSQL -- best of both worlds on the same disksMySql's NoSQL -- best of both worlds on the same disks
MySql's NoSQL -- best of both worlds on the same disksDave Stokes
 
10 Razões para Usar MySQL em Startups
10 Razões para Usar MySQL em Startups10 Razões para Usar MySQL em Startups
10 Razões para Usar MySQL em StartupsMySQL Brasil
 
Using MySQL Enterprise Monitor for Continuous Performance Improvement
Using MySQL Enterprise Monitor for Continuous Performance ImprovementUsing MySQL Enterprise Monitor for Continuous Performance Improvement
Using MySQL Enterprise Monitor for Continuous Performance ImprovementMark Matthews
 
20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech UpdatesRyusuke Kajiyama
 
Oracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLOracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLMario Beck
 
New Not Your Father's Enterprise Manager
New Not Your Father's Enterprise ManagerNew Not Your Father's Enterprise Manager
New Not Your Father's Enterprise ManagerKellyn Pot'Vin-Gorman
 
MySQL enterprise edition
MySQL enterprise edition MySQL enterprise edition
MySQL enterprise edition Mark Swarbrick
 
MySQL Enterprise Edition Overview
MySQL Enterprise Edition OverviewMySQL Enterprise Edition Overview
MySQL Enterprise Edition OverviewMario Beck
 
01 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv101 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv1Ivan Ma
 
MySQL Cluster as Transactional NoSQL (KVS)
MySQL Cluster as Transactional NoSQL (KVS)MySQL Cluster as Transactional NoSQL (KVS)
MySQL Cluster as Transactional NoSQL (KVS)Ryusuke Kajiyama
 
Oracle Open World Exadata Monitoring and Management with EM12c
Oracle Open World Exadata Monitoring and Management with EM12cOracle Open World Exadata Monitoring and Management with EM12c
Oracle Open World Exadata Monitoring and Management with EM12cKellyn Pot'Vin-Gorman
 
Change Management for Oracle Database with SQLcl
Change Management for Oracle Database with SQLcl Change Management for Oracle Database with SQLcl
Change Management for Oracle Database with SQLcl Jeff Smith
 
Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQLNetherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQLMark Swarbrick
 
Mastering DevOps With Oracle
Mastering DevOps With OracleMastering DevOps With Oracle
Mastering DevOps With OracleKelly Goetsch
 
Coherence 12.1.3 hidden gems
Coherence 12.1.3 hidden gemsCoherence 12.1.3 hidden gems
Coherence 12.1.3 hidden gemsharvraja
 
Oracle Cloud Platform - Migrer vers la Database 12c
Oracle Cloud Platform - Migrer vers la Database 12cOracle Cloud Platform - Migrer vers la Database 12c
Oracle Cloud Platform - Migrer vers la Database 12cBastien Leblanc
 
20150110 my sql-performanceschema
20150110 my sql-performanceschema20150110 my sql-performanceschema
20150110 my sql-performanceschemaIvan Ma
 
20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptx20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptxIvan Ma
 

Similar to Scalablity and benchmark in mysql performance (20)

MySql's NoSQL -- best of both worlds on the same disks
MySql's NoSQL -- best of both worlds on the same disksMySql's NoSQL -- best of both worlds on the same disks
MySql's NoSQL -- best of both worlds on the same disks
 
10 Razões para Usar MySQL em Startups
10 Razões para Usar MySQL em Startups10 Razões para Usar MySQL em Startups
10 Razões para Usar MySQL em Startups
 
Using MySQL Enterprise Monitor for Continuous Performance Improvement
Using MySQL Enterprise Monitor for Continuous Performance ImprovementUsing MySQL Enterprise Monitor for Continuous Performance Improvement
Using MySQL Enterprise Monitor for Continuous Performance Improvement
 
20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates
 
Oracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLOracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQL
 
New Not Your Father's Enterprise Manager
New Not Your Father's Enterprise ManagerNew Not Your Father's Enterprise Manager
New Not Your Father's Enterprise Manager
 
MySQL enterprise edition
MySQL enterprise edition MySQL enterprise edition
MySQL enterprise edition
 
MySQL Enterprise Edition Overview
MySQL Enterprise Edition OverviewMySQL Enterprise Edition Overview
MySQL Enterprise Edition Overview
 
01 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv101 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv1
 
MySQL Cluster as Transactional NoSQL (KVS)
MySQL Cluster as Transactional NoSQL (KVS)MySQL Cluster as Transactional NoSQL (KVS)
MySQL Cluster as Transactional NoSQL (KVS)
 
Oracle Open World Exadata Monitoring and Management with EM12c
Oracle Open World Exadata Monitoring and Management with EM12cOracle Open World Exadata Monitoring and Management with EM12c
Oracle Open World Exadata Monitoring and Management with EM12c
 
Change Management for Oracle Database with SQLcl
Change Management for Oracle Database with SQLcl Change Management for Oracle Database with SQLcl
Change Management for Oracle Database with SQLcl
 
Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQLNetherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
 
Mastering DevOps With Oracle
Mastering DevOps With OracleMastering DevOps With Oracle
Mastering DevOps With Oracle
 
Coherence 12.1.3 hidden gems
Coherence 12.1.3 hidden gemsCoherence 12.1.3 hidden gems
Coherence 12.1.3 hidden gems
 
Oracle Cloud Platform - Migrer vers la Database 12c
Oracle Cloud Platform - Migrer vers la Database 12cOracle Cloud Platform - Migrer vers la Database 12c
Oracle Cloud Platform - Migrer vers la Database 12c
 
MySQL NoSQL APIs
MySQL NoSQL APIsMySQL NoSQL APIs
MySQL NoSQL APIs
 
20150110 my sql-performanceschema
20150110 my sql-performanceschema20150110 my sql-performanceschema
20150110 my sql-performanceschema
 
20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptx20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptx
 
UKOUG
UKOUG UKOUG
UKOUG
 

Recently uploaded

Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringHironori Washizaki
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentationvaddepallysandeep122
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
cpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.pptcpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.pptrcbcrtm
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalLionel Briand
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 

Recently uploaded (20)

Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their Engineering
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your BusinessAdvantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
 
cpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.pptcpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.ppt
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 

Scalablity and benchmark in mysql performance

  • 1. Insert Picture Here Scalablity and Benchmark in MySQL performance Amrendra Kumar Principlal Member of Tech Staff
  • 2. Copyright © 2014, Oracle and/or its affiliates. All rights reserved.2 The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
  • 3. Copyright © 2014, Oracle and/or its affiliates. All rights reserved.4 Why MySQL Performance ?.. ● Any solution may look “good enough”...
  • 4. Copyright © 2014, Oracle and/or its affiliates. All rights reserved.5 Why MySQL Performance ?.. ● Until it did not reach its limit..
  • 5. Copyright © 2014, Oracle and/or its affiliates. All rights reserved.6 Why MySQL Performance ?.. ● And reach a similar limit..
  • 6. Copyright © 2014, Oracle and/or its affiliates. All rights reserved.7 Why MySQL Performance ?.. ● And even improved solution may not resist to increasing load..
  • 7. Copyright © 2014, Oracle and/or its affiliates. All rights reserved.8 Why MySQL Performance ?.. ● Analyzing your workload performance and testing your limits may help you to understand ahead the resistance of your solution to incoming potentialproblems ;-)
  • 8. Copyright © 2014, Oracle and/or its affiliates. All rights reserved.9 The MySQL Performance Best Practice #1 is... ???.. USE Common Sense!!!... ;-) ● Any benchmark is fine but you must test it in your h/w and environment ● Test to believe
  • 9. Copyright © 2014, Oracle and/or its affiliates. All rights reserved.10 The MySQL Performance Best Practice #1 is... ???.. USE Common Sense!!!... ;-) Main Slides now :)
  • 10. Copyright © 2014, Oracle and/or its affiliates. All rights reserved.11 #2 - Monitoring is THE MUST ! � even don’t start to touch anything � without monitoring.. ;-)
  • 11. Copyright © 2014, Oracle and/or its affiliates. All rights reserved.12 MySQL Enterprise Monitor • Fantastic tool! • Did you already try it?.. Did you see it live?..
  • 12. Copyright © 2014, Oracle and/or its affiliates. All rights reserved.13 Other Monitoring Tools Cacti, Zabbix, Nagios, Solarwinds, etc….. • dim_STAT • well, I'm using this one, sorry ;-) • all graphs within presentation were made with it
  • 13. Copyright © 2014, Oracle and/or its affiliates. All rights reserved.14 A Word about Monitoring… always validate the impact of your Monitoring on your Production ;-) • taking 1sec measurements is fine, except : • if it’s eating 100% CPU time on one or more CPU cores.. • reducing your network traffic / latency.. • eats your RAM, etc. • avoid to be too much intrusive on MySQL/InnoDB internals.. • you may easily create an additional overhead • as well you may add artificial locks on your workflow • for ex: run in loop “show processlist”, etc.. • well, nothing is coming for free, so think about what you’re doing ! • (#1 best practice once again ;-))
  • 14. Copyright © 2014, Oracle and/or its affiliates. All rights reserved.15 • Single MySQL Instance Performance & Scalability • single HW host • no replication • just to understand how far MySQL Server may scale.. • what are the limits • what to care about ahead • which situations are absolutely to avoid.
  • 15. Copyright © 2014, Oracle and/or its affiliates. All rights reserved.16 Why Scalability ?.. • will x2 times faster CPU increase your performance by x2 ?.. • CPU cores : more and more over year-to-year.. • Intel 2CPU : 36cores-HT (2015) • intel 2CPU : 44cores-HT (March 2016).. • … • Scalability In Few Words : • your software is able to deliver a higher throughput if more HW resources are available.. • (then, scaling it well or not is another story ;-))
  • 16. Copyright © 2014, Oracle and/or its affiliates. All rights reserved.17 interpretation of Scalability… Scale upto N connections Both are scaling up to 64 connections, but only one is able to keep a higher load..
  • 17. Copyright © 2014, Oracle and/or its affiliates. All rights reserved.18 “Generic” Test Workloads @MySQL • Sysbench <= “Entry Ticket” • OLTP, RO/RW, N-tables, lots test workload load options, deadlocks • DBT2 / TPCC-like • OLTP, RW, very complex, growing db, no options, deadlocks • In fact using mostly only 2 tables! (thanks Performance Schema ;-)) • dbSTRESS • OLTP, RO/RW, several tables, one most hot, configurable, no deadlocks • iiBench • pure INSERT (time series) + SELECT • LinkBench (Facebook) • OLTP, RW, very intensive, IO-hungry.. • DBT3 • DWH, RO, complex heavy query, loved by Optimizer Team ;-)
  • 18. Copyright © 2014, Oracle and/or its affiliates. All rights reserved.19 RO Point-Selects @MySQL 5.7 (Apr.2016) • 1.8M QPS Sysbench Point-Selects 8-tab, 72cores-HT : • or even more, if you really run after numbers.. ;-))
  • 19. Copyright © 2014, Oracle and/or its affiliates. All rights reserved.20 Q & A now... Reference:https://www.percona.com/live/data-performance-conference-2016/sessions/mysql-performance-scalability-benchmarks

Editor's Notes

  1. &amp;lt;number&amp;gt;
  2. point-select is representing a single SQL query reading a row by its primary key (PK) a workload based on such queries is very similar to any generic key-value store solution, but via SQL usually a point-select is extremely fast and doing a round-trip from end-to-end in database engine so any internals overhead in engine code, any contentions, any scalability limits are seen very quickly.. historically such kind of workload did not scale very well on MySQL/InnoDB tandem.. on MySQL Server side there was a huge amount of internal locks around every SQL query execution while on the InnoDB side there was a huge general overhead related to transactions management + related locks.. the first step ahead was made here in MySQL 5.6 but the real changes came only with MySQL 5.7 ;-)
  3. https://www.percona.com/live/data-performance-conference-2016/sessions/mysql-performance-scalability-benchmarks