SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

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
 

Mais procurados (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...
 

Destaque

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
 

Destaque (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...
 

Semelhante a 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
 

Semelhante a 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
 

Último

%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benonimasabamasaba
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Hararemasabamasaba
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...masabamasaba
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxAnnaArtyushina1
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...chiefasafspells
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationJuha-Pekka Tolvanen
 

Último (20)

%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 

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

Notas do Editor

  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