Professional Documents
Culture Documents
6 without
downtime
Meetup LeMug.fr @Dailymotion - Paris - Sept 17, 2015
Agenda
Me, Myself & I
Technical background
Why upgrade to 5.6?
Performance testing
Preprod upgrade
Production upgrade
Wrap-up
Olivier Dasini - @freshdaz
Agenda
Me, Myself & I
Technical background
Why upgrade to 5.6?
Performance testing
Preprod upgrade
Production upgrade
Wrap-up
Olivier Dasini - @freshdaz
<= Tens of
: 20%
<= Tens of
GBs
TBs
: 75%
5%
Software development
~ 1,000 people
Agenda
Me, Myself & I
Technical background
Why upgrade to 5.6?
Performance testing
Preprod upgrade
Production upgrade
Wrap-up
Olivier Dasini - @freshdaz
Security improvements
InnoDB enhancements
Partitioning
Performance Schema
Replication and logging
Optimizer enhancements
Complete list :
http://dev.mysql.com/doc/refman/5.6/en/mysql-nutshell.html
Olivier Dasini - @freshdaz
InnoDB enhancement
Performance Schema
Replication
Persistent stats
Online DDL
New flushing algo
New checksum algo
Optimizer enhancements...
Olivier Dasini - @freshdaz 11
Agenda
Me, Myself & I
Technical background
Why upgrade to 5.6?
Performance testing
Preprod upgrade
Production upgrade
Wrap-up
Olivier Dasini - @freshdaz 12
Data
Queries
Workload
Hardware
Configuration...
17
Split your (slow) logs into small chunks : 200 ~ 500 MB of data
Easier to manage
Output easier to analyse
Choose carefully your data samples
Capture queries at different time
Reduce the risk to missed important queries
Olivier Dasini - @freshdaz 19
Possible fixes :
So far so good
Agenda
Me, Myself & I
Technical background
Why upgrade to 5.6?
Performance testing
Preprod upgrade
Production upgrade
Wrap-up
Olivier Dasini - @freshdaz 26
Then upgrade the old master & restore it from 5.6 backup
We have our internal tool for switch master failover
Automation is important
Tasks are pretty straightforward but time consuming
Lowering risk of error
Hundreds of servers
Agenda
Me, Myself & I
Technical background
Why upgrade to 5.6?
Performance testing
Preprod upgrade
Production upgrade
Wrap-up
Olivier Dasini - @freshdaz 36
Prod upgrade
Final step(s), final tests
In progress...
Upgrade Confidence Index : 99%
Agenda
Me, Myself & I
Technical background
Why upgrade to 5.6?
Performance testing
Preprod upgrade
Production upgrade
Wrap-up
Olivier Dasini - @freshdaz 38
Wrap-up
Easier to manage/debug/...
Automation
Communication
Questions?
Olivier DASINI
Twitter : @freshdaz
Mail
: olivier@dasini.net
Skype
: olivier.dasini
Thank you!
Olivier Dasini - @freshdaz 40