Download Final slides

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Microsoft Jet Database Engine wikipedia , lookup

Open Database Connectivity wikipedia , lookup

Concurrency control wikipedia , lookup

Relational model wikipedia , lookup

Database wikipedia , lookup

Functional Database Model wikipedia , lookup

Database model wikipedia , lookup

Clusterpoint wikipedia , lookup

Extensible Storage Engine wikipedia , lookup

Transcript
Radically Simple Backup & Recovery for Live MySQL
Chander Kant
CEO
Zmanda
www.zmanda.com
MySQL Partner of the Year !
Zmanda : Open Source Backup
Customer Facing Data (CFD)
• As important as CRM and Financial Data
– For many companies loss of CFD implies catastrophe
– Lost revenues, lost customers and lost reputation
• Today’s Data Protection Challenge
• Break neck rate of change
• MySQL is the database of choice for CFD
• Metadata is very vital as well
Zmanda : Open Source Backup
Backup: Most important task for a MySQL DBA
• There is no quicker way to get fired
than to lose business data
• Backup & recovery – the first step to
data protection
Zmanda : Open Source Backup
“Oops!”
“I forgot to add a
“where” clause and
emptied the entire
thing!”
“Hi, I lost MySQL
server and I didn’t
do backups. What
can I do?”
“… the server on which my
blog is being hosted was
being changed and for
some reason during the
importing the MySQL
databases disappeared ”
“I am the one who wrote
the backup script so I went
to grab the backup for
yesterday. Yup, you know
it. There wasn’t one. The
backup stopped working
back on July 3rd! Ouch.”
“Does the backup
through MySQL
Administrator have to
be saved in a certain
way to allow migration
to a new box?”
“Lesson learned – always backup regularly!”
Zmanda : Open Source Backup
Top considerations for a MySQL backup solution
• Performance
– Impact of the Backup Window
– How fast your restore needs to be? (RTO)
– How precise your restore needs to be? (RPO)
• Scale Up
– 10GB -> 100GB -> 1TB -> ??
– Organic growth
Longer retention
• Scale Out
– Wiki, Forums, Web registration database, Sugar, Alfresco, …..
– Multiple locations
• Security
– Aren’t you backing up your crown jewels?
Zmanda : Open Source Backup
Backup needs to match MySQL’s flexibility
• Today & Future
– MyISAM, InnoDB, Falcon …
• Replication
– Slave pauses replication -> Backup on slave ->
Resume replication
• MySQL Cluster
• Restores should hide all the complexity
Zmanda : Open Source Backup
Our design philosophy
"Any darn fool can make something complex;
it takes a genius to make something simple.“
- Albert Einstein
Zmanda : Open Source Backup
As easy as: What, Where, When and How
Zmanda : Open Source Backup
Anytime. Anywhere.
Zmanda : Open Source Backup
Zmanda Recovery Manager (ZRM) for MySQL
ZRM for MySQL Cluster
ZRM local to MySQL
ZRM remote to MySQL
ZRM for MySQL
ZRM for
MySQL
ZRM for MySQL
`
`
Data Node
MySQL database
MySQL database
Backup of
database
Data Node
•
•
•
•
•
•
•
NDB
Storage
Engine
Data Node
Consolidated
Backup of
clustered database
Data Node
© Zmanda, Inc.
Recover database easily to any point-in-time
Centralized global backup management
Schedule full and incremental, logical or raw, backups of MySQL database
Perform backup that is the best match for the specific MySQL configuration
Blazing fast snapshot-based backup
Reporting and Monitoring
Continuous Data Protection (CDP) for MySQL
http://www.mysql.com/zrm
Zmanda : Open Source Backup
Remote storage grid as a destination for backups
• Keep copy of data off-site yet
online with storage grid, e.g.
Amazon S3
• Pay for only what you use
(bandwidth and disk capacity)
Storage Grid
Backup of DB
encrypted and
compressed
© Zmanda, Inc.
Managed
Hosting
Provider
• Backup data is always
available, anytime, anywhere
“We think users should seriously consider
• You can have the risk profile of
Amazon
adopting such hybrid [backup & online storage]
approaches to provide layered, efficient data
protection.” - John Webster, Analyst, Illuminata
Zmanda : Open Source Backup
Infrastructure for scalability
Scenario:
• 100+GB of database growing into Terabytes
• 24x7 application (i.e. no backup window)
• Active OLTP workload
• Need ability to restore to specific database event
Solution:
• Storage Snapshot + MySQL Logs
+ Automated Point-and-Click Restore
Zmanda : Open Source Backup
Logical vs Snapshots Total Backup Time
Total Backup Time (snapshot)
Total Backup Time (Logical)
• ZFS Snapshot
• MySQL Enterprise 5.0
• ZRM 2.1
• Raw copy speed 500 GB/hr
1400
Time in Minutes
1200
1000
800
600
400
200
0
1
10
100
500
MySQL Database Size in GB
1000
Logical vs Snapshot Backup DB Lock Times
Time in Minutes
Read Lock Time for Snapshot Backups
•1200
Solaris 10 x86
•1000
MySQL Enterprise 5.0
• 800
ZFS Snapshots
• 600
ZRM 2.1
• 400
Raw copy speed 500 GB/hr
Read Lock Time for Logical Backups
200
0
1
10
100
500
MySQL Database Size in GB
• Solaris 10 x86
1000
Zmanda : Open Source Backup
Snapshots – key considerations
• Snapshots scale extremely well as database size grows
• Need to be used carefully to ensure data consistency
• Need to be integrated with log-based incremental backups
Zmanda : Open Source Backup
Storage Snapshots
• ZFS
• NetApp
•
VxFS
• LVM (Linux)
• VSS (Windows)
Zmanda : Open Source Backup
Recovery: Radically Simple. Precise.
1
2
Restored !
Zmanda : Open Source Backup
Click !
Zmanda: Open Source Backup
• Amanda: Most vibrant Open Source Backup community
• More than 500,000 deployments
• Open Formats + Open Standards + Open Source
– Locking up your backup data in proprietary formats
comes with a *huge* cost and pain
• Zmanda Recovery Manager for MySQL extends our
leadership in open source backup to the most popular
open source database in the world
Zmanda: Radically Simple Backup for Customer Facing Data
Zmanda : Open Source Backup
Protected By Zmanda
Manufacturing & Services
Web and Media
Federal & Government
Research & Education
Telecom and ISV
Zmanda : Open Source Backup
Amazon Mechanical Turk: Protected by Zmanda
• mturk.com
• On-demand scalable 24x7
workforce
• Zmanda Recovery Manager
provides backup for more than a
dozen fleets of MySQL Servers
• Backs up data to Amazon S3!
Zmanda : Open Source Backup
Snapshot Camera Raffle
… and the
winner is !!!
Zmanda : Open Source Backup
Zmanda : Open Source Backup