Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
MariaDB High Performance

You're reading from   MariaDB High Performance Familiarize yourself with the MariaDB system and build high-performance applications

Arrow left icon
Product type Paperback
Published in Sep 2014
Publisher
ISBN-13 9781783981601
Length 298 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Pierre Mavro Pierre Mavro
Author Profile Icon Pierre Mavro
Pierre Mavro
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Performance Introduction FREE CHAPTER 2. Performance Analysis 3. Performance Optimizations 4. MariaDB Replication 5. WAN Slave Architectures 6. Building a Dual Master Replication 7. MariaDB Multimaster Slaves 8. Galera Cluster – Multimaster Replication 9. Spider – Sharding Your Data 10. Monitoring 11. Backups Index

Xtrabackup


Xtrabackup is the best solution to create backups for several reasons:

  • It's fast in creating a backup

  • It's fast in restoring a backup

  • It locks a table for a very short time

  • It can stream compressed databases

  • It can perform incremental backups

  • It allows you to compress your backups

  • It allows you to encrypt your backups

In most cases, it's a better solution to backup, as it is very fast and doesn't need to lock the tables for a long time (only a few milliseconds). However, you need to take care about what you're backing up, as Xtrabackup only backs up InnoDB/XtraDB and MyISAM engines.

To install Xtrabackup, we saw in the previous chapters that you need to first configure the Percona repository and then install Xtrabackup.

Full backup

We'll see here how to create the first backup which will be a full backup. You can start creating it by running the following command:

> innobackupex --rsync --compress --compress-threads=$(grep -c '^processor' /proc/cpuinfo) --use-memory=1G --user=username...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime