SlideShare a Scribd company logo
Jervin Real, Michael Coburn
Percona
Preventing and Resolving
MySQL Downtime
About Us
•Jervin Real, Technical Services Manager
• Engineer Engineering Engineers
• APAC
•Michael Coburn, Principal Technical Account Manager
• Responsible for managing technical relationship with Percona's
highest revenue customers
2
What is Downtime?
•When your Application is completely unavailable
•When your Application is in a degraded state
•Whenever your boss says so :)
3
Why Prevent Downtime?
•Your business loses money when the Application is down
•You and your team's reputation suffers
4
•Real world adventures
• Problems
• Solutions
• Prevention
•Putting them all together
Agenda
5
I Had a Crash On You
6
I Had a Crash On You (1): Page Corruption
7
•Disk bad sectors problem, not monitored or checked
•Page corruption on disk level
•Server crashes when reading page from disk
•Keeps crashing :(
I Had a Crash On You (1): Page Corruption >
About
8
•Percona Server, we tried:
• innodb_table_corrupt_action = salvage
•Worked!
•Dropped table, recreated - application back online
•Worst case:
• innodb_force_recovery > 0
• Data Recovery
I Had a Crash On You (1): Page Corruption >
Solutions
9
•Running 5.6.11, early adopter, InnoDB FULLTEXT
•Upgrade to 5.6.18, MySQL crashed
•Data was unusable - bug#72079
I Had a Crash On You (2): Assertion > About
10
•Downgrade and restore from backup
•Re-execute upgrade to avoid the bug
I Had a Crash On You (2): Assertion > Solutions
11
•innodb_corrupt_table_action=salvage / warn
•pt-table-checksum
• Regularly recurse your data and check for errors in error log
•RAID card health checks
• Can vary by vendor
•SMART checks
• Be vigilant for disk level errors
I Had a Crash On You (1): Page Corruption >
Preventions
12
Nobody’s Watching
13
•Percona XtraDB Cluster, 3 nodes
•Few months ago node 3 went down due to conflict, but
nobody noticed
•Few hours ago, node 2 was killed by OOM, cluster lost
quorum
•EVERYBODY NOTICED!
Nobody’s Watching (1): Nobody Cared > About
14
•Bootstrap remaining node
• SET GLOBAL wsrep_provider_options=’pc.bootstrap=1’;
•SST second and 3rd node
•Define wsrep_notify_cmd temporarily
•Implement better alerting
Nobody’s Watching (1): Nobody Cared >
Solutions
15
•New sysadmin received disk space alert
•du -hx --max-depth=1 /
•/var has lots of data
•find /var/ -size +5G -exec rm -rf {} ;
•Bam, ibdata1 gone!
•Restart maintenance occurred later in the day ...
Nobody’s Watching (2): Dropped the Bomb >
About
16
•Restore from backup
•Really, they were lucky!
Nobody’s Watching (2): Dropped the Bomb >
Solutions
17
•Percona Monitoring Plugins
• pmp-check-deleted-files
• pmp-check-mysql-status
• pmp-check-mysql-innodb
•Define a script executable by mysql user
• Triggered on node state changes
•Take backups, and alert on failure
•Don't restart the server - file handles are still open!
Nobody’s Watching: Prevention
18
Self Induced Pain
19
•“Waiting for query cache lock”
root# ~> pt-sift /var/lib/pt-stalk/
...
--processlist--
State
226
90 Waiting for query cache lock
4 Sending data
4 Master has sent all binlog to slave; waiting for binlog to be updated
2 init
Self Induced Pain (1): Query Cache
20
● Global mutex
● Point of contention
● Especially on hot dataset/table
● More so, with large QC
Self Induced Pain (1): Query Cache > About
21
Self Induced Pain (1): Query Cache > Solutions
22
● Set it to small size - to reduce performance overhead
● Disable completely to to avoid contention
● Hint offending queries to skip the query cache i.e. SELECT
SQL_NO_CACHE
Self Induced Pain (2): Buffer Pool Dump/Restore
23
● Dumps buffer pool page list to disk
● Reloads buffer pool based on this list at startup
● Meant to help speed up buffer pool warmup
● Maintenance restart, buffer dump and restore enabled
● Yey! Expecting everything to go well.
● 30mins in performance still really bad, IO trashing
● Large buffer pool, busy read/write
Self Induced Pain (2): Buffer Pool Dump/Restore
> About
24
● Extend your maintenance period to let the server warmup
if possible, otherwise they will contend on IO
● RAID1 of 2 SATA disks is not a license to use buffer pool
warmup on 240GB of buffer pool
Self Induced Pain (2): Buffer Pool Dump/Restore
> Solutions
25
Self-Induced Pain Prevention
•Percona Toolkit
• pt-stalk
• pt-sift
• pt-kill
•Disable OOM killer
•Configure appropriate disk scheduler
•Check the error log for "Buffer pool load complete"
26
MySQL, MySQL! What Have Suffereth Ye Thee?
27
•Slow queries
•Connections build up
•Slow response times
•Long running transactions
•Stop the World scenario
MySQL, MySQL! What Have Suffereth Ye Thee?
(1): Grind to a Halt > About
28
--innodb--
txns: 486xACTIVE (28s) 994xnot (0s) 227xLOCK WAIT (25844s)
0 queries inside InnoDB, 0 queries in queue
Main thread: sleeping, pending reads 0, writes 28, flush 1
Log: lsn = 2147483647, chkp = 2147483647, chkp age =
210625191
MySQL, MySQL! What Have Suffereth Ye Thee?
(1): Grind to a Halt > About
29
---TRANSACTION 230207990, ACTIVE 13779 sec fetching rows
mysql tables in use 1, locked 1
80337 lock struct(s), heap size 8271400, 10979242 row lock(s)
MySQL thread id 671621, OS thread handle 0x7fe03528a700,
query id 37505085 localhost magento Sending data
SELECT `sales_flat_quote_item`.* FROM `sales_flat_quote_item`
LIMIT 376 OFFSET 491056
MySQL, MySQL! What Have Suffereth Ye Thee?
(1): Grind to a Halt > About
30
•KILL long running trx
•pt-kill for persistent long running trx
•Deploy immediate code changes to disable erroring code
MySQL, MySQL! What Have Suffereth Ye Thee?
(1): Grind to a Halt > Solutions
31
•MySQL is still responding
•All sorts of mutexes
• trx_sys->mutex
• block->lock
• lock_sys->mutex
• lock_sys->wait_mutex
•… and is killing latency
•Service impact means lost income
MySQL, MySQL! What Have Suffereth Ye Thee?
(2): CPU Load > About
32
•innodb_thread_concurrency > 0
MySQL, MySQL! What Have Suffereth Ye Thee?
(2): CPU Load > Solutions
33
● “Opening tables”, “Closing tables”
--processlist--
State
578 Opening tables
32 closing tables
MySQL, MySQL! What Have Suffereth Ye Thee?
(3): CPU Load > About
34
● Contention on LOCK_open mutex
● Risk of negative scalability
MySQL, MySQL! What Have Suffereth Ye Thee?
(3): CPU Load > About
35
● Tune table_open_cache/table_definition_cache
● table_open_cache_instances (5.6+)
● Shard either logically/horizontally, run multiple mysql
instances to reduce object size by instance
MySQL, MySQL! What Have Suffereth Ye Thee?
(3) : CPU Load > Solutions
36
•pt-kill --log
•MySQL Server Configuration
a. Remember to tune innodb_thread_ concurrency (default is 0)
b. innodb_table_cache + innodb_table_cache_instances
•Application Stack Configuration (Schema Design)
a. Single tenant per schema
b. Multiple tenants per schema (each table has client_id column)
c. All tenants in one schema
MySQL, MySQL! What Have Suffereth Ye Thee?
(2,3) : Prevention
37
•Disk performance cascading to MySQL to application
Wizard of OS (1): Disk Performance
38
•Slow writes, binlogs, redo logs, syncs
•Transactions stalling on COMMIT, updating, inserting …
•Replication getting delayed if node is a slave
•Translates to latency
Wizard of OS (1): Disk Performance > About
39
● RAID Controller in Write-Through
● Could also be a bad disk!
Wizard of OS (1): Disk Performance > Solutions
40
● Swapping heavily, with significant amount of RAM free
Wizard of OS (2): Swapping
41
● Swapping induces significant amount of IO
● Swapping in and out of disk is mighty expensive
● Affects MySQL in magnificent ways
● Swap Insanity!
Wizard of OS (2): Swapping > About
42
● NUMA Interleave
● Percona Server is NUMA configurable
○ numa_interleave
○ Flush_caches
● Check numastat - perl check_numa.pl
Wizard of OS (2): Swapping > Solutions
43
● Tune:
○ Vm.swappiness
○ NUMA policy
○ disk scheduler
○ mount options appropriately (ext4, xfs)
■ (nobarrier, noatime)
● pt-heartbeat - monitor replication delay
Wizard of OS : Prevention
44
Percona Server Features
•Enable InnoDB Buffer Pool warming
•Enable userstat for table & index statistics
•Enable verbose slow log
•Enable Query Response Time plugin
45
Thank You!
•Jervin Real jervin.real@percona.com
• Technical Services Manager, APAC
•Michael Coburn michael.coburn@percona.com
• Principal Technical Account Manager, USA
46
Ad

More Related Content

What's hot (20)

Universal Userland
Universal UserlandUniversal Userland
Universal Userland
Sean Chittenden
 
Linux Cluster next generation
Linux Cluster next generationLinux Cluster next generation
Linux Cluster next generation
samsolutionsby
 
MySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated EnvironmentMySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated Environment
Jean-François Gagné
 
Advanced Percona XtraDB Cluster in a nutshell... la suite
Advanced Percona XtraDB Cluster in a nutshell... la suiteAdvanced Percona XtraDB Cluster in a nutshell... la suite
Advanced Percona XtraDB Cluster in a nutshell... la suite
Kenny Gryp
 
MySQL Sandbox 3
MySQL Sandbox 3MySQL Sandbox 3
MySQL Sandbox 3
Giuseppe Maxia
 
MySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated EnvironmentMySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated Environment
Jean-François Gagné
 
Lock free programming- pro tips
Lock free programming- pro tipsLock free programming- pro tips
Lock free programming- pro tips
Jean-Philippe BEMPEL
 
Percona XtraDB 集群内部
Percona XtraDB 集群内部Percona XtraDB 集群内部
Percona XtraDB 集群内部
YUCHENG HU
 
Linux-HA with Pacemaker
Linux-HA with PacemakerLinux-HA with Pacemaker
Linux-HA with Pacemaker
Kris Buytaert
 
Demystifying MySQL Replication Crash Safety
Demystifying MySQL Replication Crash SafetyDemystifying MySQL Replication Crash Safety
Demystifying MySQL Replication Crash Safety
Jean-François Gagné
 
Demystifying MySQL Replication Crash Safety
Demystifying MySQL Replication Crash SafetyDemystifying MySQL Replication Crash Safety
Demystifying MySQL Replication Crash Safety
Jean-François Gagné
 
ZFS and MySQL on Linux, the Sweet Spots
ZFS and MySQL on Linux, the Sweet SpotsZFS and MySQL on Linux, the Sweet Spots
ZFS and MySQL on Linux, the Sweet Spots
Jervin Real
 
Demystifying MySQL Replication Crash Safety
Demystifying MySQL Replication Crash SafetyDemystifying MySQL Replication Crash Safety
Demystifying MySQL Replication Crash Safety
Jean-François Gagné
 
Automating Yourself Out of Trouble
Automating Yourself Out of TroubleAutomating Yourself Out of Trouble
Automating Yourself Out of Trouble
Jose De La Rosa
 
Fail over fail_back
Fail over fail_backFail over fail_back
Fail over fail_back
PostgreSQL Experts, Inc.
 
LinuxCon_2013_NA_Eckermann_Filesystems_btrfs.pdf
LinuxCon_2013_NA_Eckermann_Filesystems_btrfs.pdfLinuxCon_2013_NA_Eckermann_Filesystems_btrfs.pdf
LinuxCon_2013_NA_Eckermann_Filesystems_btrfs.pdf
degarden
 
Kgdb kdb modesetting
Kgdb kdb modesettingKgdb kdb modesetting
Kgdb kdb modesetting
Kaushal Kumar Gupta
 
VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld
 
BlueHat v18 || Straight outta v mware - modern exploitation of the svga devic...
BlueHat v18 || Straight outta v mware - modern exploitation of the svga devic...BlueHat v18 || Straight outta v mware - modern exploitation of the svga devic...
BlueHat v18 || Straight outta v mware - modern exploitation of the svga devic...
BlueHat Security Conference
 
Stateless Hypervisors at Scale
Stateless Hypervisors at ScaleStateless Hypervisors at Scale
Stateless Hypervisors at Scale
Antony Messerl
 
Linux Cluster next generation
Linux Cluster next generationLinux Cluster next generation
Linux Cluster next generation
samsolutionsby
 
MySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated EnvironmentMySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated Environment
Jean-François Gagné
 
Advanced Percona XtraDB Cluster in a nutshell... la suite
Advanced Percona XtraDB Cluster in a nutshell... la suiteAdvanced Percona XtraDB Cluster in a nutshell... la suite
Advanced Percona XtraDB Cluster in a nutshell... la suite
Kenny Gryp
 
MySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated EnvironmentMySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated Environment
Jean-François Gagné
 
Percona XtraDB 集群内部
Percona XtraDB 集群内部Percona XtraDB 集群内部
Percona XtraDB 集群内部
YUCHENG HU
 
Linux-HA with Pacemaker
Linux-HA with PacemakerLinux-HA with Pacemaker
Linux-HA with Pacemaker
Kris Buytaert
 
Demystifying MySQL Replication Crash Safety
Demystifying MySQL Replication Crash SafetyDemystifying MySQL Replication Crash Safety
Demystifying MySQL Replication Crash Safety
Jean-François Gagné
 
Demystifying MySQL Replication Crash Safety
Demystifying MySQL Replication Crash SafetyDemystifying MySQL Replication Crash Safety
Demystifying MySQL Replication Crash Safety
Jean-François Gagné
 
ZFS and MySQL on Linux, the Sweet Spots
ZFS and MySQL on Linux, the Sweet SpotsZFS and MySQL on Linux, the Sweet Spots
ZFS and MySQL on Linux, the Sweet Spots
Jervin Real
 
Demystifying MySQL Replication Crash Safety
Demystifying MySQL Replication Crash SafetyDemystifying MySQL Replication Crash Safety
Demystifying MySQL Replication Crash Safety
Jean-François Gagné
 
Automating Yourself Out of Trouble
Automating Yourself Out of TroubleAutomating Yourself Out of Trouble
Automating Yourself Out of Trouble
Jose De La Rosa
 
LinuxCon_2013_NA_Eckermann_Filesystems_btrfs.pdf
LinuxCon_2013_NA_Eckermann_Filesystems_btrfs.pdfLinuxCon_2013_NA_Eckermann_Filesystems_btrfs.pdf
LinuxCon_2013_NA_Eckermann_Filesystems_btrfs.pdf
degarden
 
VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld
 
BlueHat v18 || Straight outta v mware - modern exploitation of the svga devic...
BlueHat v18 || Straight outta v mware - modern exploitation of the svga devic...BlueHat v18 || Straight outta v mware - modern exploitation of the svga devic...
BlueHat v18 || Straight outta v mware - modern exploitation of the svga devic...
BlueHat Security Conference
 
Stateless Hypervisors at Scale
Stateless Hypervisors at ScaleStateless Hypervisors at Scale
Stateless Hypervisors at Scale
Antony Messerl
 

Similar to Preventing and Resolving MySQL Downtime (20)

A Backup Today Saves Tomorrow
A Backup Today Saves TomorrowA Backup Today Saves Tomorrow
A Backup Today Saves Tomorrow
Andrew Moore
 
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Performance Scenario: Diagnosing and resolving sudden slow down on two node RACPerformance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Kristofferson A
 
Running MySQL on Linux
Running MySQL on LinuxRunning MySQL on Linux
Running MySQL on Linux
Great Wide Open
 
Spil Games @ FOSDEM: Galera Replicator IRL
Spil Games @ FOSDEM: Galera Replicator IRLSpil Games @ FOSDEM: Galera Replicator IRL
Spil Games @ FOSDEM: Galera Replicator IRL
spil-engineering
 
Loadays MySQL
Loadays MySQLLoadays MySQL
Loadays MySQL
lefredbe
 
How to overcome mysterious problems caused by large and multi-tenancy Hadoop ...
How to overcome mysterious problems caused by large and multi-tenancy Hadoop ...How to overcome mysterious problems caused by large and multi-tenancy Hadoop ...
How to overcome mysterious problems caused by large and multi-tenancy Hadoop ...
DataWorks Summit/Hadoop Summit
 
Silicon Valley Code Camp 2015 - Advanced MongoDB - The Sequel
Silicon Valley Code Camp 2015 - Advanced MongoDB - The SequelSilicon Valley Code Camp 2015 - Advanced MongoDB - The Sequel
Silicon Valley Code Camp 2015 - Advanced MongoDB - The Sequel
Daniel Coupal
 
Buytaert kris my_sql-pacemaker
Buytaert kris my_sql-pacemakerBuytaert kris my_sql-pacemaker
Buytaert kris my_sql-pacemaker
kuchinskaya
 
Spil Storage Platform (Erlang) @ EUG-NL
Spil Storage Platform (Erlang) @ EUG-NLSpil Storage Platform (Erlang) @ EUG-NL
Spil Storage Platform (Erlang) @ EUG-NL
Thijs Terlouw
 
Troubleshooting Redis- DaeMyung Kang, Kakao
Troubleshooting Redis- DaeMyung Kang, KakaoTroubleshooting Redis- DaeMyung Kang, Kakao
Troubleshooting Redis- DaeMyung Kang, Kakao
Redis Labs
 
Troubleshooting redis
Troubleshooting redisTroubleshooting redis
Troubleshooting redis
DaeMyung Kang
 
Deployment Strategies (Mongo Austin)
Deployment Strategies (Mongo Austin)Deployment Strategies (Mongo Austin)
Deployment Strategies (Mongo Austin)
MongoDB
 
Performance Tuning for Pirates!
Performance Tuning for Pirates!Performance Tuning for Pirates!
Performance Tuning for Pirates!
John Sterrett
 
Hadoop - Disk Fail In Place (DFIP)
Hadoop - Disk Fail In Place (DFIP)Hadoop - Disk Fail In Place (DFIP)
Hadoop - Disk Fail In Place (DFIP)
mundlapudi
 
Infrastructure review - Shining a light on the Black Box
Infrastructure review - Shining a light on the Black BoxInfrastructure review - Shining a light on the Black Box
Infrastructure review - Shining a light on the Black Box
Miklos Szel
 
MySQL HA with Pacemaker
MySQL HA with  PacemakerMySQL HA with  Pacemaker
MySQL HA with Pacemaker
Kris Buytaert
 
Fosdem2012 mariadb-5.3-query-optimizer-r2
Fosdem2012 mariadb-5.3-query-optimizer-r2Fosdem2012 mariadb-5.3-query-optimizer-r2
Fosdem2012 mariadb-5.3-query-optimizer-r2
Sergey Petrunya
 
Deployment Strategies
Deployment StrategiesDeployment Strategies
Deployment Strategies
MongoDB
 
Fail-Safe Cluster for FirebirdSQL and something more
Fail-Safe Cluster for FirebirdSQL and something moreFail-Safe Cluster for FirebirdSQL and something more
Fail-Safe Cluster for FirebirdSQL and something more
Alexey Kovyazin
 
Elite Bug Squashing
Elite Bug SquashingElite Bug Squashing
Elite Bug Squashing
Tony Brown
 
A Backup Today Saves Tomorrow
A Backup Today Saves TomorrowA Backup Today Saves Tomorrow
A Backup Today Saves Tomorrow
Andrew Moore
 
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Performance Scenario: Diagnosing and resolving sudden slow down on two node RACPerformance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Kristofferson A
 
Spil Games @ FOSDEM: Galera Replicator IRL
Spil Games @ FOSDEM: Galera Replicator IRLSpil Games @ FOSDEM: Galera Replicator IRL
Spil Games @ FOSDEM: Galera Replicator IRL
spil-engineering
 
Loadays MySQL
Loadays MySQLLoadays MySQL
Loadays MySQL
lefredbe
 
How to overcome mysterious problems caused by large and multi-tenancy Hadoop ...
How to overcome mysterious problems caused by large and multi-tenancy Hadoop ...How to overcome mysterious problems caused by large and multi-tenancy Hadoop ...
How to overcome mysterious problems caused by large and multi-tenancy Hadoop ...
DataWorks Summit/Hadoop Summit
 
Silicon Valley Code Camp 2015 - Advanced MongoDB - The Sequel
Silicon Valley Code Camp 2015 - Advanced MongoDB - The SequelSilicon Valley Code Camp 2015 - Advanced MongoDB - The Sequel
Silicon Valley Code Camp 2015 - Advanced MongoDB - The Sequel
Daniel Coupal
 
Buytaert kris my_sql-pacemaker
Buytaert kris my_sql-pacemakerBuytaert kris my_sql-pacemaker
Buytaert kris my_sql-pacemaker
kuchinskaya
 
Spil Storage Platform (Erlang) @ EUG-NL
Spil Storage Platform (Erlang) @ EUG-NLSpil Storage Platform (Erlang) @ EUG-NL
Spil Storage Platform (Erlang) @ EUG-NL
Thijs Terlouw
 
Troubleshooting Redis- DaeMyung Kang, Kakao
Troubleshooting Redis- DaeMyung Kang, KakaoTroubleshooting Redis- DaeMyung Kang, Kakao
Troubleshooting Redis- DaeMyung Kang, Kakao
Redis Labs
 
Troubleshooting redis
Troubleshooting redisTroubleshooting redis
Troubleshooting redis
DaeMyung Kang
 
Deployment Strategies (Mongo Austin)
Deployment Strategies (Mongo Austin)Deployment Strategies (Mongo Austin)
Deployment Strategies (Mongo Austin)
MongoDB
 
Performance Tuning for Pirates!
Performance Tuning for Pirates!Performance Tuning for Pirates!
Performance Tuning for Pirates!
John Sterrett
 
Hadoop - Disk Fail In Place (DFIP)
Hadoop - Disk Fail In Place (DFIP)Hadoop - Disk Fail In Place (DFIP)
Hadoop - Disk Fail In Place (DFIP)
mundlapudi
 
Infrastructure review - Shining a light on the Black Box
Infrastructure review - Shining a light on the Black BoxInfrastructure review - Shining a light on the Black Box
Infrastructure review - Shining a light on the Black Box
Miklos Szel
 
MySQL HA with Pacemaker
MySQL HA with  PacemakerMySQL HA with  Pacemaker
MySQL HA with Pacemaker
Kris Buytaert
 
Fosdem2012 mariadb-5.3-query-optimizer-r2
Fosdem2012 mariadb-5.3-query-optimizer-r2Fosdem2012 mariadb-5.3-query-optimizer-r2
Fosdem2012 mariadb-5.3-query-optimizer-r2
Sergey Petrunya
 
Deployment Strategies
Deployment StrategiesDeployment Strategies
Deployment Strategies
MongoDB
 
Fail-Safe Cluster for FirebirdSQL and something more
Fail-Safe Cluster for FirebirdSQL and something moreFail-Safe Cluster for FirebirdSQL and something more
Fail-Safe Cluster for FirebirdSQL and something more
Alexey Kovyazin
 
Elite Bug Squashing
Elite Bug SquashingElite Bug Squashing
Elite Bug Squashing
Tony Brown
 
Ad

More from Jervin Real (11)

Low Cost Transactional and Analytics with MySQL + Clickhouse
 Low Cost Transactional and Analytics with MySQL + Clickhouse Low Cost Transactional and Analytics with MySQL + Clickhouse
Low Cost Transactional and Analytics with MySQL + Clickhouse
Jervin Real
 
Low Cost Transactional and Analytics with MySQL + Clickhouse
Low Cost Transactional and Analytics with MySQL + ClickhouseLow Cost Transactional and Analytics with MySQL + Clickhouse
Low Cost Transactional and Analytics with MySQL + Clickhouse
Jervin Real
 
Lock, Stock and Backup: Data Guaranteed
Lock, Stock and Backup: Data GuaranteedLock, Stock and Backup: Data Guaranteed
Lock, Stock and Backup: Data Guaranteed
Jervin Real
 
Learning MySQL 5.7
Learning MySQL 5.7Learning MySQL 5.7
Learning MySQL 5.7
Jervin Real
 
Heterogenous Persistence
Heterogenous PersistenceHeterogenous Persistence
Heterogenous Persistence
Jervin Real
 
TokuDB - What You Need to Know
TokuDB - What You Need to KnowTokuDB - What You Need to Know
TokuDB - What You Need to Know
Jervin Real
 
PLAM 2015 - Evolving Backups Strategy, Devploying pyxbackup
PLAM 2015 - Evolving Backups Strategy, Devploying pyxbackupPLAM 2015 - Evolving Backups Strategy, Devploying pyxbackup
PLAM 2015 - Evolving Backups Strategy, Devploying pyxbackup
Jervin Real
 
Learning by Experience, Devploying pyxbackup
Learning by Experience, Devploying pyxbackupLearning by Experience, Devploying pyxbackup
Learning by Experience, Devploying pyxbackup
Jervin Real
 
AWS Users Meetup April 2015
AWS Users Meetup April 2015AWS Users Meetup April 2015
AWS Users Meetup April 2015
Jervin Real
 
High Performance Rails with MySQL
High Performance Rails with MySQLHigh Performance Rails with MySQL
High Performance Rails with MySQL
Jervin Real
 
Highly Available MySQL/PHP Applications with mysqlnd
Highly Available MySQL/PHP Applications with mysqlndHighly Available MySQL/PHP Applications with mysqlnd
Highly Available MySQL/PHP Applications with mysqlnd
Jervin Real
 
Low Cost Transactional and Analytics with MySQL + Clickhouse
 Low Cost Transactional and Analytics with MySQL + Clickhouse Low Cost Transactional and Analytics with MySQL + Clickhouse
Low Cost Transactional and Analytics with MySQL + Clickhouse
Jervin Real
 
Low Cost Transactional and Analytics with MySQL + Clickhouse
Low Cost Transactional and Analytics with MySQL + ClickhouseLow Cost Transactional and Analytics with MySQL + Clickhouse
Low Cost Transactional and Analytics with MySQL + Clickhouse
Jervin Real
 
Lock, Stock and Backup: Data Guaranteed
Lock, Stock and Backup: Data GuaranteedLock, Stock and Backup: Data Guaranteed
Lock, Stock and Backup: Data Guaranteed
Jervin Real
 
Learning MySQL 5.7
Learning MySQL 5.7Learning MySQL 5.7
Learning MySQL 5.7
Jervin Real
 
Heterogenous Persistence
Heterogenous PersistenceHeterogenous Persistence
Heterogenous Persistence
Jervin Real
 
TokuDB - What You Need to Know
TokuDB - What You Need to KnowTokuDB - What You Need to Know
TokuDB - What You Need to Know
Jervin Real
 
PLAM 2015 - Evolving Backups Strategy, Devploying pyxbackup
PLAM 2015 - Evolving Backups Strategy, Devploying pyxbackupPLAM 2015 - Evolving Backups Strategy, Devploying pyxbackup
PLAM 2015 - Evolving Backups Strategy, Devploying pyxbackup
Jervin Real
 
Learning by Experience, Devploying pyxbackup
Learning by Experience, Devploying pyxbackupLearning by Experience, Devploying pyxbackup
Learning by Experience, Devploying pyxbackup
Jervin Real
 
AWS Users Meetup April 2015
AWS Users Meetup April 2015AWS Users Meetup April 2015
AWS Users Meetup April 2015
Jervin Real
 
High Performance Rails with MySQL
High Performance Rails with MySQLHigh Performance Rails with MySQL
High Performance Rails with MySQL
Jervin Real
 
Highly Available MySQL/PHP Applications with mysqlnd
Highly Available MySQL/PHP Applications with mysqlndHighly Available MySQL/PHP Applications with mysqlnd
Highly Available MySQL/PHP Applications with mysqlnd
Jervin Real
 
Ad

Recently uploaded (20)

Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
Avnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights FlyerAvnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights Flyer
WillDavies22
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 
Mathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdfMathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdf
TalhaShahid49
 
Level 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical SafetyLevel 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical Safety
JoseAlbertoCariasDel
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
Artificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptxArtificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptx
aditichinar
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 
Metal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistryMetal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistry
mee23nu
 
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdffive-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
AdityaSharma944496
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Journal of Soft Computing in Civil Engineering
 
Value Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous SecurityValue Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous Security
Marc Hornbeek
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
Avnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights FlyerAvnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights Flyer
WillDavies22
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 
Mathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdfMathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdf
TalhaShahid49
 
Level 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical SafetyLevel 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical Safety
JoseAlbertoCariasDel
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
Artificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptxArtificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptx
aditichinar
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 
Metal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistryMetal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistry
mee23nu
 
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdffive-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
AdityaSharma944496
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
Value Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous SecurityValue Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous Security
Marc Hornbeek
 

Preventing and Resolving MySQL Downtime

  • 1. Jervin Real, Michael Coburn Percona Preventing and Resolving MySQL Downtime
  • 2. About Us •Jervin Real, Technical Services Manager • Engineer Engineering Engineers • APAC •Michael Coburn, Principal Technical Account Manager • Responsible for managing technical relationship with Percona's highest revenue customers 2
  • 3. What is Downtime? •When your Application is completely unavailable •When your Application is in a degraded state •Whenever your boss says so :) 3
  • 4. Why Prevent Downtime? •Your business loses money when the Application is down •You and your team's reputation suffers 4
  • 5. •Real world adventures • Problems • Solutions • Prevention •Putting them all together Agenda 5
  • 6. I Had a Crash On You 6
  • 7. I Had a Crash On You (1): Page Corruption 7
  • 8. •Disk bad sectors problem, not monitored or checked •Page corruption on disk level •Server crashes when reading page from disk •Keeps crashing :( I Had a Crash On You (1): Page Corruption > About 8
  • 9. •Percona Server, we tried: • innodb_table_corrupt_action = salvage •Worked! •Dropped table, recreated - application back online •Worst case: • innodb_force_recovery > 0 • Data Recovery I Had a Crash On You (1): Page Corruption > Solutions 9
  • 10. •Running 5.6.11, early adopter, InnoDB FULLTEXT •Upgrade to 5.6.18, MySQL crashed •Data was unusable - bug#72079 I Had a Crash On You (2): Assertion > About 10
  • 11. •Downgrade and restore from backup •Re-execute upgrade to avoid the bug I Had a Crash On You (2): Assertion > Solutions 11
  • 12. •innodb_corrupt_table_action=salvage / warn •pt-table-checksum • Regularly recurse your data and check for errors in error log •RAID card health checks • Can vary by vendor •SMART checks • Be vigilant for disk level errors I Had a Crash On You (1): Page Corruption > Preventions 12
  • 14. •Percona XtraDB Cluster, 3 nodes •Few months ago node 3 went down due to conflict, but nobody noticed •Few hours ago, node 2 was killed by OOM, cluster lost quorum •EVERYBODY NOTICED! Nobody’s Watching (1): Nobody Cared > About 14
  • 15. •Bootstrap remaining node • SET GLOBAL wsrep_provider_options=’pc.bootstrap=1’; •SST second and 3rd node •Define wsrep_notify_cmd temporarily •Implement better alerting Nobody’s Watching (1): Nobody Cared > Solutions 15
  • 16. •New sysadmin received disk space alert •du -hx --max-depth=1 / •/var has lots of data •find /var/ -size +5G -exec rm -rf {} ; •Bam, ibdata1 gone! •Restart maintenance occurred later in the day ... Nobody’s Watching (2): Dropped the Bomb > About 16
  • 17. •Restore from backup •Really, they were lucky! Nobody’s Watching (2): Dropped the Bomb > Solutions 17
  • 18. •Percona Monitoring Plugins • pmp-check-deleted-files • pmp-check-mysql-status • pmp-check-mysql-innodb •Define a script executable by mysql user • Triggered on node state changes •Take backups, and alert on failure •Don't restart the server - file handles are still open! Nobody’s Watching: Prevention 18
  • 20. •“Waiting for query cache lock” root# ~> pt-sift /var/lib/pt-stalk/ ... --processlist-- State 226 90 Waiting for query cache lock 4 Sending data 4 Master has sent all binlog to slave; waiting for binlog to be updated 2 init Self Induced Pain (1): Query Cache 20
  • 21. ● Global mutex ● Point of contention ● Especially on hot dataset/table ● More so, with large QC Self Induced Pain (1): Query Cache > About 21
  • 22. Self Induced Pain (1): Query Cache > Solutions 22 ● Set it to small size - to reduce performance overhead ● Disable completely to to avoid contention ● Hint offending queries to skip the query cache i.e. SELECT SQL_NO_CACHE
  • 23. Self Induced Pain (2): Buffer Pool Dump/Restore 23 ● Dumps buffer pool page list to disk ● Reloads buffer pool based on this list at startup ● Meant to help speed up buffer pool warmup
  • 24. ● Maintenance restart, buffer dump and restore enabled ● Yey! Expecting everything to go well. ● 30mins in performance still really bad, IO trashing ● Large buffer pool, busy read/write Self Induced Pain (2): Buffer Pool Dump/Restore > About 24
  • 25. ● Extend your maintenance period to let the server warmup if possible, otherwise they will contend on IO ● RAID1 of 2 SATA disks is not a license to use buffer pool warmup on 240GB of buffer pool Self Induced Pain (2): Buffer Pool Dump/Restore > Solutions 25
  • 26. Self-Induced Pain Prevention •Percona Toolkit • pt-stalk • pt-sift • pt-kill •Disable OOM killer •Configure appropriate disk scheduler •Check the error log for "Buffer pool load complete" 26
  • 27. MySQL, MySQL! What Have Suffereth Ye Thee? 27
  • 28. •Slow queries •Connections build up •Slow response times •Long running transactions •Stop the World scenario MySQL, MySQL! What Have Suffereth Ye Thee? (1): Grind to a Halt > About 28
  • 29. --innodb-- txns: 486xACTIVE (28s) 994xnot (0s) 227xLOCK WAIT (25844s) 0 queries inside InnoDB, 0 queries in queue Main thread: sleeping, pending reads 0, writes 28, flush 1 Log: lsn = 2147483647, chkp = 2147483647, chkp age = 210625191 MySQL, MySQL! What Have Suffereth Ye Thee? (1): Grind to a Halt > About 29
  • 30. ---TRANSACTION 230207990, ACTIVE 13779 sec fetching rows mysql tables in use 1, locked 1 80337 lock struct(s), heap size 8271400, 10979242 row lock(s) MySQL thread id 671621, OS thread handle 0x7fe03528a700, query id 37505085 localhost magento Sending data SELECT `sales_flat_quote_item`.* FROM `sales_flat_quote_item` LIMIT 376 OFFSET 491056 MySQL, MySQL! What Have Suffereth Ye Thee? (1): Grind to a Halt > About 30
  • 31. •KILL long running trx •pt-kill for persistent long running trx •Deploy immediate code changes to disable erroring code MySQL, MySQL! What Have Suffereth Ye Thee? (1): Grind to a Halt > Solutions 31
  • 32. •MySQL is still responding •All sorts of mutexes • trx_sys->mutex • block->lock • lock_sys->mutex • lock_sys->wait_mutex •… and is killing latency •Service impact means lost income MySQL, MySQL! What Have Suffereth Ye Thee? (2): CPU Load > About 32
  • 33. •innodb_thread_concurrency > 0 MySQL, MySQL! What Have Suffereth Ye Thee? (2): CPU Load > Solutions 33
  • 34. ● “Opening tables”, “Closing tables” --processlist-- State 578 Opening tables 32 closing tables MySQL, MySQL! What Have Suffereth Ye Thee? (3): CPU Load > About 34
  • 35. ● Contention on LOCK_open mutex ● Risk of negative scalability MySQL, MySQL! What Have Suffereth Ye Thee? (3): CPU Load > About 35
  • 36. ● Tune table_open_cache/table_definition_cache ● table_open_cache_instances (5.6+) ● Shard either logically/horizontally, run multiple mysql instances to reduce object size by instance MySQL, MySQL! What Have Suffereth Ye Thee? (3) : CPU Load > Solutions 36
  • 37. •pt-kill --log •MySQL Server Configuration a. Remember to tune innodb_thread_ concurrency (default is 0) b. innodb_table_cache + innodb_table_cache_instances •Application Stack Configuration (Schema Design) a. Single tenant per schema b. Multiple tenants per schema (each table has client_id column) c. All tenants in one schema MySQL, MySQL! What Have Suffereth Ye Thee? (2,3) : Prevention 37
  • 38. •Disk performance cascading to MySQL to application Wizard of OS (1): Disk Performance 38
  • 39. •Slow writes, binlogs, redo logs, syncs •Transactions stalling on COMMIT, updating, inserting … •Replication getting delayed if node is a slave •Translates to latency Wizard of OS (1): Disk Performance > About 39
  • 40. ● RAID Controller in Write-Through ● Could also be a bad disk! Wizard of OS (1): Disk Performance > Solutions 40
  • 41. ● Swapping heavily, with significant amount of RAM free Wizard of OS (2): Swapping 41
  • 42. ● Swapping induces significant amount of IO ● Swapping in and out of disk is mighty expensive ● Affects MySQL in magnificent ways ● Swap Insanity! Wizard of OS (2): Swapping > About 42
  • 43. ● NUMA Interleave ● Percona Server is NUMA configurable ○ numa_interleave ○ Flush_caches ● Check numastat - perl check_numa.pl Wizard of OS (2): Swapping > Solutions 43
  • 44. ● Tune: ○ Vm.swappiness ○ NUMA policy ○ disk scheduler ○ mount options appropriately (ext4, xfs) ■ (nobarrier, noatime) ● pt-heartbeat - monitor replication delay Wizard of OS : Prevention 44
  • 45. Percona Server Features •Enable InnoDB Buffer Pool warming •Enable userstat for table & index statistics •Enable verbose slow log •Enable Query Response Time plugin 45
  • 46. Thank You! •Jervin Real [email protected] • Technical Services Manager, APAC •Michael Coburn [email protected] • Principal Technical Account Manager, USA 46