SlideShare a Scribd company logo
• Backups
• High Availability/Fabric
• Performance
• 5.7 Features
• Misc
• Q&A
Topics
Backup Method Advantages Caveat
Mysqldump
• Native
• Out of the box
• No Cost
• Table Locks
• Takes Time
• All OR Nothing
Mysqldump by Table • Specific Tables
• Table Locks
• Takes Time
MySQL Ent Backup
• No Downtime
• No Cost
• Faster than above
• All OR Nothing
Snapshots
• Fastest Bkup/Rest
• No Cost
• No Table Locks
• DB in it’s own vol
• DB Offline (Auxiliary DB)
• All OR Nothing
Snapshots(Flush Table with
Read Lock)
• Backup Main DB
• No Lock No Backup
• Floating Backup Time
Backup Options
Backup Method Backup Time Restore Time Database
Mysqldump 2 Hr 50 min 9 Hr 15 min
Type : Heavy Reads, Less Transaction
Size : Small
Slave (Read only)
Class : Dev,Test,Prod
Mysqldump by table 2 Hr 40 min 8 Hr 30 min Same As Above
Online Backup 50 min 1 Hr 30 min
Type : Heavy Transaction
Size : Small,Medium,Large
Master, Slave (Read/Write)
Class : Prod
Snapshots Sec Sec (!scp)
Type : Any
Size : Any
Auxiliary
Class : Prod
NetApp Snapshots
(Flush Table with Read Lock)
Sec Sec Main DB
Backup Options
High Availability
High Availability
• Failover
• Notify DBA
• DBA Investigates
• Coordinate Downtime
• Stop DB and Apps
• Manually apply Binary logs
• Read/Write Enable
• Failover
• Fallback
• Apply changes back to Master
• Row count
• Fallback
• Slave Read Only
Fabric
Database Size 150G
Query Cache 2G
InnoDB Buffer Pool 160G
Memory 256G
CPU 24 Core
Swap 16G
Storage NetApp Filer
Vertical Scale
Pre-Cache
Next
• InnoDB Compression
• SSD
• Table Partition
• 5.7.2
• ZFS Storage
12C
Monitoring
Geospatial
haritatrakal@livenation.com
832 212 6528
http://www.linkedin.com/in/htatrakal/
@tatrakal
Questions

More Related Content

What's hot

Crash course intro to cassandra
Crash course   intro to cassandraCrash course   intro to cassandra
Crash course intro to cassandra
Jon Haddad
 
Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1
Henry S
 
Cloud App Develop
Cloud App DevelopCloud App Develop
Cloud App Develop
Fin Chen
 

What's hot (20)

Staying friendly with the gc
Staying friendly with the gcStaying friendly with the gc
Staying friendly with the gc
 
Introduction to Nodejs and Isomorphic javascript
Introduction to Nodejs and Isomorphic javascriptIntroduction to Nodejs and Isomorphic javascript
Introduction to Nodejs and Isomorphic javascript
 
Vlad zelinschi optimizing the critical rendering path
Vlad zelinschi   optimizing the critical rendering pathVlad zelinschi   optimizing the critical rendering path
Vlad zelinschi optimizing the critical rendering path
 
Road Trip To Component
Road Trip To ComponentRoad Trip To Component
Road Trip To Component
 
PG Day'14 Russia, Secure PostgreSQL Deployment, Magnus Hagander
PG Day'14 Russia, Secure PostgreSQL Deployment, Magnus HaganderPG Day'14 Russia, Secure PostgreSQL Deployment, Magnus Hagander
PG Day'14 Russia, Secure PostgreSQL Deployment, Magnus Hagander
 
Day 2 - Intro to Rails
Day 2 - Intro to RailsDay 2 - Intro to Rails
Day 2 - Intro to Rails
 
Rebooting design in RavenDB
Rebooting design in RavenDBRebooting design in RavenDB
Rebooting design in RavenDB
 
RavenDB in the wild
RavenDB in the wildRavenDB in the wild
RavenDB in the wild
 
Crash course intro to cassandra
Crash course   intro to cassandraCrash course   intro to cassandra
Crash course intro to cassandra
 
.Net Fundamentals
.Net Fundamentals.Net Fundamentals
.Net Fundamentals
 
Microsoft Azure DocumentDB - Global Azure Bootcamp 2016
Microsoft Azure DocumentDB -  Global Azure Bootcamp 2016Microsoft Azure DocumentDB -  Global Azure Bootcamp 2016
Microsoft Azure DocumentDB - Global Azure Bootcamp 2016
 
The Characteristics of a Successful SPA
The Characteristics of a Successful SPAThe Characteristics of a Successful SPA
The Characteristics of a Successful SPA
 
Use all the buzzwords
Use all the buzzwordsUse all the buzzwords
Use all the buzzwords
 
Isomorphic JavaScript with Node, WebPack, and React
Isomorphic JavaScript with Node, WebPack, and ReactIsomorphic JavaScript with Node, WebPack, and React
Isomorphic JavaScript with Node, WebPack, and React
 
Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1
 
Java script fundamental - Introduction to JavaScript Programming Language
Java script fundamental - Introduction to JavaScript Programming LanguageJava script fundamental - Introduction to JavaScript Programming Language
Java script fundamental - Introduction to JavaScript Programming Language
 
Webpack: What it is, What it does, Whether you need it
Webpack: What it is, What it does, Whether you need itWebpack: What it is, What it does, Whether you need it
Webpack: What it is, What it does, Whether you need it
 
Using type script to build better apps
Using type script to build better appsUsing type script to build better apps
Using type script to build better apps
 
Cloud App Develop
Cloud App DevelopCloud App Develop
Cloud App Develop
 
Unobtrusive javascript
Unobtrusive javascriptUnobtrusive javascript
Unobtrusive javascript
 

Similar to MySQL-Mixer-Livenation

A Case Study of NoSQL Adoption: What Drove Wordnik Non-Relational?
A Case Study of NoSQL Adoption: What Drove Wordnik Non-Relational?A Case Study of NoSQL Adoption: What Drove Wordnik Non-Relational?
A Case Study of NoSQL Adoption: What Drove Wordnik Non-Relational?
DATAVERSITY
 
Jesse Yates: Hbase snapshots patch
Jesse Yates: Hbase snapshots patchJesse Yates: Hbase snapshots patch
Jesse Yates: Hbase snapshots patch
Dmitry Makarchuk
 

Similar to MySQL-Mixer-Livenation (20)

A Case Study of NoSQL Adoption: What Drove Wordnik Non-Relational?
A Case Study of NoSQL Adoption: What Drove Wordnik Non-Relational?A Case Study of NoSQL Adoption: What Drove Wordnik Non-Relational?
A Case Study of NoSQL Adoption: What Drove Wordnik Non-Relational?
 
ApacheCon2010: Cache & Concurrency Considerations in Cassandra (& limits of JVM)
ApacheCon2010: Cache & Concurrency Considerations in Cassandra (& limits of JVM)ApacheCon2010: Cache & Concurrency Considerations in Cassandra (& limits of JVM)
ApacheCon2010: Cache & Concurrency Considerations in Cassandra (& limits of JVM)
 
Nbackup and Backup: Internals, Usage strategy and Pitfalls, by Dmitry Kuzmenk...
Nbackup and Backup: Internals, Usage strategy and Pitfalls, by Dmitry Kuzmenk...Nbackup and Backup: Internals, Usage strategy and Pitfalls, by Dmitry Kuzmenk...
Nbackup and Backup: Internals, Usage strategy and Pitfalls, by Dmitry Kuzmenk...
 
Keeping MongoDB Data Safe
Keeping MongoDB Data SafeKeeping MongoDB Data Safe
Keeping MongoDB Data Safe
 
Eureka Moment UKLUG
Eureka Moment UKLUGEureka Moment UKLUG
Eureka Moment UKLUG
 
Drupal performance
Drupal performanceDrupal performance
Drupal performance
 
MyDUMPER : Faster logical backups and restores
MyDUMPER : Faster logical backups and restores MyDUMPER : Faster logical backups and restores
MyDUMPER : Faster logical backups and restores
 
Managing Your TempDb
Managing Your TempDbManaging Your TempDb
Managing Your TempDb
 
Transitioning From SQL Server to MySQL - Presentation from Percona Live 2016
Transitioning From SQL Server to MySQL - Presentation from Percona Live 2016Transitioning From SQL Server to MySQL - Presentation from Percona Live 2016
Transitioning From SQL Server to MySQL - Presentation from Percona Live 2016
 
Optimizing Latency-sensitive queries for Presto at Facebook: A Collaboration ...
Optimizing Latency-sensitive queries for Presto at Facebook: A Collaboration ...Optimizing Latency-sensitive queries for Presto at Facebook: A Collaboration ...
Optimizing Latency-sensitive queries for Presto at Facebook: A Collaboration ...
 
Percona XtraDB Cluster - Small Presentation
Percona XtraDB Cluster - Small PresentationPercona XtraDB Cluster - Small Presentation
Percona XtraDB Cluster - Small Presentation
 
JSSUG: SQL Sever Performance Tuning
JSSUG: SQL Sever Performance TuningJSSUG: SQL Sever Performance Tuning
JSSUG: SQL Sever Performance Tuning
 
An introduction to mysql Performance Optimization (2008)
An introduction to mysql Performance Optimization (2008)An introduction to mysql Performance Optimization (2008)
An introduction to mysql Performance Optimization (2008)
 
OSDC 2017 | Lessons from database failures by Colin Charles
OSDC 2017 | Lessons from database failures by Colin CharlesOSDC 2017 | Lessons from database failures by Colin Charles
OSDC 2017 | Lessons from database failures by Colin Charles
 
Investigate TempDB Like Sherlock Holmes
Investigate TempDB Like Sherlock HolmesInvestigate TempDB Like Sherlock Holmes
Investigate TempDB Like Sherlock Holmes
 
Jesse Yates: Hbase snapshots patch
Jesse Yates: Hbase snapshots patchJesse Yates: Hbase snapshots patch
Jesse Yates: Hbase snapshots patch
 
HBase Snapshots
HBase SnapshotsHBase Snapshots
HBase Snapshots
 
Ruby and Distributed Storage Systems
Ruby and Distributed Storage SystemsRuby and Distributed Storage Systems
Ruby and Distributed Storage Systems
 
MySQL Optimization from a Developer's point of view
MySQL Optimization from a Developer's point of viewMySQL Optimization from a Developer's point of view
MySQL Optimization from a Developer's point of view
 
PostgreSQL
PostgreSQLPostgreSQL
PostgreSQL
 

MySQL-Mixer-Livenation

  • 1. • Backups • High Availability/Fabric • Performance • 5.7 Features • Misc • Q&A Topics
  • 2. Backup Method Advantages Caveat Mysqldump • Native • Out of the box • No Cost • Table Locks • Takes Time • All OR Nothing Mysqldump by Table • Specific Tables • Table Locks • Takes Time MySQL Ent Backup • No Downtime • No Cost • Faster than above • All OR Nothing Snapshots • Fastest Bkup/Rest • No Cost • No Table Locks • DB in it’s own vol • DB Offline (Auxiliary DB) • All OR Nothing Snapshots(Flush Table with Read Lock) • Backup Main DB • No Lock No Backup • Floating Backup Time Backup Options
  • 3. Backup Method Backup Time Restore Time Database Mysqldump 2 Hr 50 min 9 Hr 15 min Type : Heavy Reads, Less Transaction Size : Small Slave (Read only) Class : Dev,Test,Prod Mysqldump by table 2 Hr 40 min 8 Hr 30 min Same As Above Online Backup 50 min 1 Hr 30 min Type : Heavy Transaction Size : Small,Medium,Large Master, Slave (Read/Write) Class : Prod Snapshots Sec Sec (!scp) Type : Any Size : Any Auxiliary Class : Prod NetApp Snapshots (Flush Table with Read Lock) Sec Sec Main DB Backup Options
  • 5. High Availability • Failover • Notify DBA • DBA Investigates • Coordinate Downtime • Stop DB and Apps • Manually apply Binary logs • Read/Write Enable • Failover • Fallback • Apply changes back to Master • Row count • Fallback • Slave Read Only
  • 7. Database Size 150G Query Cache 2G InnoDB Buffer Pool 160G Memory 256G CPU 24 Core Swap 16G Storage NetApp Filer Vertical Scale
  • 9. Next • InnoDB Compression • SSD • Table Partition • 5.7.2 • ZFS Storage