SlideShare a Scribd company logo
1 of 45
Download to read offline
Percona XtraBackup
Highly Efficient Backups
Presenter
Harish Kumar R
Mydbops
www.mydbops.com info@mydbops.com
Mydbops
Mydbops is into MySQL/MongoDB Support and Consulting. It is founded by experts
who have scaled database at Yahoo! ,Percona and Datavail. We are providing an
expert level support and 24*7 monitoring for MySQL databases and its related
technologies like MariaDB , Percona ( also clustering ) . We support modern
database technologies in MySQL which includes Galera ( Clustering ), Group
Replication , SQL aware Load balancers like Maxscale / ProxySQL.
Some of Our Happy Clients
www.mydbops.com info@mydbops.com
Table of Contents
1. Introduction
2. Features
3. Compatibility
4. Installation
5. Working of Xtrabackup
6. Backup Scenarios
Introduction
➢ The most important and daily tasks for DBAs is performing
backup and restore operations, not only for adding new
replication slave, but also to implement disaster recovery
procedures or when we want to implement testing in the server.
➢ Even when making any changes to the database schema, it's
recommended to have fresh backup copy before making any live
changes to avoid facing troubles in production server.
➢ If we're going to talk about backup and restore operations, then
Percona Xtrabackup tool will be strongly appeared.
Introduction
➢ Percona Xtrabackup provides a fully open-source,
high-performance, non-blocking backup system for InnoDB or
XtraDB tables
➢ It can also backup MyISAM, Archive, Merge and other SQL-level
objects
➢ It is a reliable, widely-used alternative to Oracle's MySQL
Enterprise Backup
Introduction
With Percona XtraBackup, you can achieve the following benefits:
➢ Backups that complete quickly and reliably
➢ Uninterrupted transaction processing during backups
➢ Savings on disk space and network bandwidth
➢ Automatic backup verification
➢ Higher uptime due to faster restore time
Table of Contents
1. Introduction
2. Features
3. Compatibility
4. Installation
5. Working of Xtrabackup
6. Backup Scenarios
Features
For more details : https://www.percona.com/doc/percona-xtrabackup/2.4/intro.html
➢ Open Source (GPL)
➢ Price : Free
➢ Streaming backups
➢ Encrypted backups
➢ Supported all MySQL
flavors
➢ Non-blocking InnoDB
backups
➢ Incremental backups
➢ Full/Incremental
compress backup
➢ Fast incremental backups
➢ Incremental backups with
archived logs feature in
Percona Server
➢ Backup locks
➢ Parallel local backups
➢ Parallel compression
➢ Parallel encryption
➢ Parallel apply-log
➢ Partial backups
➢ Partial backups of
individual partitions
➢ Throttling
➢ Point-in-time recovery
support
➢ Safe slave backups
➢ Compact backups
➢ Buffer pool state
backups
➢ Individual tables export
➢ Individual partitions
export
➢ Restoring tables to a
different server
➢ Data & index file
statistics
➢ InnoDB secondary
indexes defragmentation
➢ rsync support to minimize
lock time
➢ Improved FTWRL
handling
➢ Backup history table
Table of Contents
1. Introduction
2. Features
3. Compatibility
4. Installation
5. Working of Xtrabackup
6. Backup Scenarios
Compatibility
➢ Versions <= 2.0 are compatible with :
Oracle MySQL, 5.1, 5.5 and 5.6, equivalent versions of Percona Server and MariaDB.
➢ Version 2.1 and 2.2 are compatible with:
Oracle MySQL 5.1 (plugin version), 5.5, 5.6, corresponding versions of Percona Server, Percona
XtraDB Cluster and MariaDB, including MariaDB 10.0.x.
➢ Version 2.3 is compatible with :
Oracle MySQL 5.1, 5.5, 5.6, and corresponding versions of Percona Server, Percona XtraDB
Cluster and also MariaDB 10.1.x (except encryption).
➢ Version 2.4 is compatible with :
Oracle MySQL, 5.1, 5.5, 5.6 and 5.7, also the corresponding versions of Percona Server, Percona
XtraDB Cluster and also MariaDB 10.2.x ( Beyond the compression and TDE )
[P.S - Thank you for your corrections, Mr.Marko Mäkelä and Mr.Aleksandr Kuzminsky]
Table of Contents
1. Introduction
2. Features
3. Compatibility
4. Installation
a. Installation Process
b. Requirements and Limitations
5. Working of Xtrabackup
6. Backup Scenarios
Installation Process
To install Percona XtraBackup, the available options are:
➢ Installing Percona XtraBackup from Repositories (recommended)
[RHEL and CentOS] [Debian and Ubuntu]
➢ Installing Percona XtraBackup from Downloaded rpm or apt
packages
➢ Compiling and Installing from Source Code [GitHub]
Requirements and Limitations
• Local access to the MySQL datadir is required
• READ, WRITE and EXECUTE permissions are needed at a
filesystem level in the server’s datadir.
• This makes Xtrabackup incompatible with RDS or some web
hosting providers.
• The Database user needs the RELOAD, LOCK TABLES, PROCESS,
REPLICATION CLIENT privileges on the tables/databases to be
backed up.
Table of Contents
1. Introduction
2. Features
3. Compatibility
4. Installation
5. Working of Xtrabackup
a. Backup
b. Preparation phase
c. Restore
6. Backup Scenarios
How Percona XtraBackup Works
➢ Percona XtraBackup is based on InnoDB’s crash-recovery
functionality.
➢ It copies your InnoDB data files, which results in data that is
internally inconsistent.
➢ Then it performs crash recovery on the files to make them a
consistent, usable database again.
How Percona XtraBackup Works - Backup
InnoDB maintains a redo log (transaction log) that contains a record of every change to InnoDB data.
When InnoDB starts, it inspects the data files and the transaction log, and performs two steps :
• Applies committed transaction log entries to the data files
• Performs an undo operation on any transactions that modified data but did not commit.
How Percona XtraBackup Works - Backup
➢ Percona XtraBackup will use Backup locks where available as a lightweight
alternative to FLUSH TABLES WITH READ LOCK (FTWRL). This feature is
available in Percona Server 5.6+.
➢ After XtraBackup is finished backing up all InnoDB/XtraDB data and logs, it
will run the LOCK TABLES FOR BACKUP. Locking is done only for MyISAM
and other non-InnoDB tables.
➢ After that XtraBackup will use LOCK BINLOG FOR BACKUP to block all
operations that might change either binary log position or Exec_Master_Log_Pos or
Exec_Gtid_Set. Xtrabackup will then finish copying the REDO log files and fetch
the binary log coordinates. After this is completed xtrabackup will unlock the
binary log and tables.
How Percona XtraBackup Works - Backup
➢ Finally, the binary log position will be printed and Xtrabackup will exit returning
0 if all went OK.
Backup command:
Final Output :
The log sequence number (lsn) will be different, that depends on your server.
How Percona XtraBackup Works - Backup
Files in the Target directory (Backup Directory) :
➢ Hierarchy of files and directories mirroring the original database structure.
➢ backup-my.cnf : Not a backup of the server configuration. It only contains the
minimal InnoDB settings at the time the backup to execute the --apply-log phase
➢ xtrabackup_info: Contains all information about xtrabackup binary, server
version, start and end time of backup, binlog position etc.
➢ xtrabackup_checkpoints: Metadata about the backup (type of backup, lsn, etc.)
➢ xtrabackup_logfile: Data needed for the –apply-log phase.
How Percona XtraBackup Works - Prepare
➢ Before the backup directory can be used, we must:
1. Make sure that the InnoDB tablespaces have consistent, non-corrupt data
2. Create new transaction logs
➢ Only Xtrabackup and the backup directory are needed.
➢ It can be done on different machine than the original server (we have the
xtrabackup binary and the innodb configuration parameters)
➢ Generally, this is done just before restore.
How Percona XtraBackup Works - Restore
How Percona XtraBackup Works - Restore
➢ During restoration Xtrabackup will read the variables datadir,
innodb_data_home_dir, innodb_data_file_path, innodb_log_group_home_dir
from the my.cnf and check that the directories exist.
➢ Then it will copy the MyISAM tables, indexes, etc. (.frm, .MRG, .MYD, .MYI,
.TRG, .TRN, .ARM, .ARZ, .CSV, .CSM, par and .opt files) first, InnoDB tables and
indexes next and the log files at last.
➢ It will preserve file’s attributes when copying them, you may have to change the files’
ownership to mysql before starting the database server, as they will be owned by the
user who created the backup. (#chown -R mysql:mysql /var/lib/mysql)
How Percona XtraBackup Works - Restore
Restore Options:
The Prepared backup data will be equivalent to the datadir with some
additional xtrabackup files. It can restored by either of the following option.
--copy-back : used to copy the data from the backup files to the server
--move-back : used to move the data from the backup files to the server, this is
used where there is a shortage of memory to maintain both backup files and the
server data files.
1. Introduction
2. Features
3. Compatibility
4. Installation
5. Working of Xtrabackup
6. Backup Scenarios
a. Full Backup
b. Partial Backup
c. Compressed Backup
d. Compact Backup
e. Encrypted Backup
f. Streaming Backup
g. Incremental Backup
Table of Contents
Backup Scenarios – Full Backup
➢
➢
➢ As of now, innobackupex program is deprecated
Or #xtrabackup --backup --target-dir=/path/to/backup
Backup Scenarios – Full Backup
Preparation Phase:
xtrabackup --prepare --target-dir=/path/to/backup
➢ The prepare step uses this “embedded InnoDB” to perform crash recovery on
the copied data files, using the copied log file.
➢ When this finishes, you will see an InnoDB shutdown a message containing
the value of LSN depends on your system.
➢ It will not change the already prepared data files, you’ll see that output says:
Backup Scenarios – Full Backup
Restoration:
Restoration should be done only after preparing the backup, in order to
maintain the consistency of the backup data.
➢ Restoration options in XtraBackup:
# xtrabackup --copy-back --target-dir=/path/to/backup
# xtrabackup --move-back --target-dir=/path/to/backup
➢ Alternative Methods : You can use rsync or cp to restore the files to the datadir.
Before Restoring,
• Ensure that MySQL server is shut down and the datadir is empty before
restoring the backup. You can’t restore to a datadir of a running mysqld instance
• You will need to change the files’ ownership to mysql before starting the
database server, as they will be owned by the user who created the backup.
Backup Scenarios – Partial Backup
➢ Percona XtraBackup features partial backups, which means that
you may backup only some specific tables or databases.
➢ The tables you back up must be in separate tablespaces, as a result
of being created or altered after you enabled the
innodb_file_per_table option on the server.
Backup Options:
--include , --tables-file, --databases
Preparing Partial Backups:
# xtrabackup --prepare --apply-log --export --target-dir=/path/to/backup
Backup Scenarios – Partial Backup
Restore:
➢ Restoring should be done by restoring individual tables in the
partial backup to the server.
➢ As we used export option while preparing the backup, .exp files
will be created for each table.
➢ To import the table using these files, we have to create new tables
with the same structure and then discard its tablespace
➢ After this, copy tablename.ibd and tablename.exp ( or
tablename.cfg if importing to MySQL 5.6) files to database’s
home, and import its tablespace.
Backup Scenarios – Compressed Backup
➢ Percona XtraBackup has implemented support for compressed backups. It
can be used to compress/decompress local or streaming backup with xbstream.
➢ To make a compressed backup xtrabackup --compress option is used.
➢ To make the compression process faster, you can use parallel compression by
enabling xtrabackup --compress-threads option.
➢ Compressed Backups should be decompressed before preparing it. Percona
XtraBackup has implemented xtrabackup --decompress option that can be
used to decompress the backup.
Backup Scenarios – Compressed Backup
Prepare:
➢ To use xtrabackup --decompress you’ll need qpress file archiver
➢ Xtrabackup will not remove the compressed files automatically,
xtrabackup --remove-original option should be used to remove the
compressed files (.qp files).
➢ After decompress it can be prepared just the same as a full backup.
Restore:
Restoration can be done the same way for the full backup.
Even if the compressed files is not removed it won’t be copied to the
datadir when restoring using Xtrabackup options.
Backup Scenarios – Compact Backup
When doing the backup of InnoDB tables it’s possible to omit the
secondary index pages to make the backups more compact, and it will take
less space on disk.
The main disadvantage is that the backup prepare process takes longer as
those secondary indexes need to be recreated.
Backup:
#xtrabackup --backup --compact --target-dir=/path/to/backup
Prepare:
#xtrabackup --prepare --apply-log --rebuild-indexes --target-dir=/path/to/backup
Restore:
#xtrabackup --copy-back --target-dir=/path/to/directory
Backup Scenarios – Encrypted Backup
Percona XtraBackup can be used to encrypt/decrypt local or streaming backup
with xbstream option (streaming tar backups are not supported) in order to add
another layer of protection to the backups.
Encryption is done with the libgcrypt library.
To make an encrypted backup following options need to be specified :
➢
➢
➢
Backup Scenarios – Encrypted Backup
The options xtrabackup --encrypt-key and xtrabackup --encrypt-key-file are
mutually exclusive, i.e., just one of them needs to be provided.
Encryption key can be generated with this command :
This value then can be used as the encryption key
Encryption and Backup:
Backup Scenarios – Encrypted Backup
Optimizing Encryption:
The following options are used to speed up the encryption process,
➢ xtrabackup --encrypt-threads: to specify multiple threads for parallel
encryption
➢ xtrabackup --encrypt-chunk-size: used to specify the size (in bytes) of
the working encryption buffer for each encryption thread (default is
64K).
Decryption:
Backup Scenarios – Encrypted Backup
➢ Percona XtraBackup doesn’t automatically remove the encrypted files.
➢ Users have to remove the *.xbcrypt file from backup directory.
➢ In Percona XtraBackup 2.4.6 xtrabackup --remove-original option has been
implemented that you can use to remove the encrypted files once they’ve been
decrypted.
➢ xtrabackup --parallel can be used with xtrabackup --decrypt option to
decrypt multiple files simultaneously.
➢ After decryption, the backup can be prepared for restoration.
➢ Preparation and Restoration are same as that as Full Backup.
Backup Scenarios – Streaming Backup
, socat
socat is recommended because it allows for socket options like transfer buffer sizes
Backup Scenarios – Streaming Backup
To extract the resulting tar file, you must use the -i option, such as tar -ixvf backup.tar
Backup Scenarios – Streaming Backup
Backup Scenarios – Incremental Backup
➢ Percona Xtrabackup supports incremental backups, which means that
they can copy only the data that has changed since the last backup.
➢ You can perform many incremental backups between each full backup.
➢ Incremental backups work because each InnoDB page contains a log
sequence number, or LSN.
➢ Each page’s LSN shows how recently it was changed.
➢ There are two algorithms used to find the changed LSN pages.
• The first one is to check the page LSN directly by reading all the data
pages.(All Servers)
• The second one is to enable the changed page tracking feature on the server,
which will note the pages as they are being changed. (Percona)
(This information is written out in a separate compact file, the bitmap file)
Backup Scenarios – Incremental Backup
To make an incremental backup, begin with a full backup as usual.
The xtrabackup binary writes a file called xtrabackup_checkpoints that
contains a line showing the to_lsn into the backup’s target directory.
To start with a full backup,
Now, you can take incremental backup based on the full backup,
You can take as many incremental backup as you can, with the previously
taken backup (full/incremental) as its base backup directory.
Backup Scenarios – Incremental Backup
Prepare:
➢ The xtrabackup --prepare step for incremental backups is not the same as for
full backups.
➢ The rollback of uncommitted transactions must be skipped.
➢ xtrabackup --apply-log-only option to prevent the rollback phase.
➢ If you do not use the xtrabackup --apply-log-only option to prevent the
rollback phase, then your incremental backups will be useless.
➢
➢
➢ After preparing the data, it can be restored as same as the full backup restore.
Resources
Percona XtraBackup 2.4 - Online Documentation
Highly Efficient Backups with Percona Xtrabackup PLMCE-2015 (MySQL 101)
Xtrabackup in a Nutshell
Fast Incremental Backups with Percona Server and Percona XtraBackup
Contact US:
Write to me at harishkumar@mydbops.com
DB Consulting Contact : info@mydbops.com
Phone : 08048505683
www.mydbops.com info@mydbops.com

More Related Content

What's hot

Optimizing MariaDB for maximum performance
Optimizing MariaDB for maximum performanceOptimizing MariaDB for maximum performance
Optimizing MariaDB for maximum performanceMariaDB plc
 
The Full MySQL and MariaDB Parallel Replication Tutorial
The Full MySQL and MariaDB Parallel Replication TutorialThe Full MySQL and MariaDB Parallel Replication Tutorial
The Full MySQL and MariaDB Parallel Replication TutorialJean-François Gagné
 
Using all of the high availability options in MariaDB
Using all of the high availability options in MariaDBUsing all of the high availability options in MariaDB
Using all of the high availability options in MariaDBMariaDB plc
 
PostgreSQL WAL for DBAs
PostgreSQL WAL for DBAs PostgreSQL WAL for DBAs
PostgreSQL WAL for DBAs PGConf APAC
 
Almost Perfect Service Discovery and Failover with ProxySQL and Orchestrator
Almost Perfect Service Discovery and Failover with ProxySQL and OrchestratorAlmost Perfect Service Discovery and Failover with ProxySQL and Orchestrator
Almost Perfect Service Discovery and Failover with ProxySQL and OrchestratorJean-François Gagné
 
How to set up orchestrator to manage thousands of MySQL servers
How to set up orchestrator to manage thousands of MySQL serversHow to set up orchestrator to manage thousands of MySQL servers
How to set up orchestrator to manage thousands of MySQL serversSimon J Mudd
 
JSON improvements in MySQL 8.0
JSON improvements in MySQL 8.0JSON improvements in MySQL 8.0
JSON improvements in MySQL 8.0Mydbops
 
What is new in PostgreSQL 14?
What is new in PostgreSQL 14?What is new in PostgreSQL 14?
What is new in PostgreSQL 14?Mydbops
 
Understanding PostgreSQL LW Locks
Understanding PostgreSQL LW LocksUnderstanding PostgreSQL LW Locks
Understanding PostgreSQL LW LocksJignesh Shah
 
ProxySQL - High Performance and HA Proxy for MySQL
ProxySQL - High Performance and HA Proxy for MySQLProxySQL - High Performance and HA Proxy for MySQL
ProxySQL - High Performance and HA Proxy for MySQLRené Cannaò
 
MySQL Advanced Administrator 2021 - 네오클로바
MySQL Advanced Administrator 2021 - 네오클로바MySQL Advanced Administrator 2021 - 네오클로바
MySQL Advanced Administrator 2021 - 네오클로바NeoClova
 
Redo log improvements MYSQL 8.0
Redo log improvements MYSQL 8.0Redo log improvements MYSQL 8.0
Redo log improvements MYSQL 8.0Mydbops
 
Percona Xtrabackup Best Practices
Percona Xtrabackup Best PracticesPercona Xtrabackup Best Practices
Percona Xtrabackup Best PracticesMarcelo Altmann
 
MySQL Group Replication - Ready For Production? (2018-04)
MySQL Group Replication - Ready For Production? (2018-04)MySQL Group Replication - Ready For Production? (2018-04)
MySQL Group Replication - Ready For Production? (2018-04)Kenny Gryp
 
MySQL InnoDB Cluster - New Features in 8.0 Releases - Best Practices
MySQL InnoDB Cluster - New Features in 8.0 Releases - Best PracticesMySQL InnoDB Cluster - New Features in 8.0 Releases - Best Practices
MySQL InnoDB Cluster - New Features in 8.0 Releases - Best PracticesKenny Gryp
 
[2018] MySQL 이중화 진화기
[2018] MySQL 이중화 진화기[2018] MySQL 이중화 진화기
[2018] MySQL 이중화 진화기NHN FORWARD
 
PostgreSQL Replication High Availability Methods
PostgreSQL Replication High Availability MethodsPostgreSQL Replication High Availability Methods
PostgreSQL Replication High Availability MethodsMydbops
 
Linux tuning to improve PostgreSQL performance
Linux tuning to improve PostgreSQL performanceLinux tuning to improve PostgreSQL performance
Linux tuning to improve PostgreSQL performancePostgreSQL-Consulting
 

What's hot (20)

Optimizing MariaDB for maximum performance
Optimizing MariaDB for maximum performanceOptimizing MariaDB for maximum performance
Optimizing MariaDB for maximum performance
 
The Full MySQL and MariaDB Parallel Replication Tutorial
The Full MySQL and MariaDB Parallel Replication TutorialThe Full MySQL and MariaDB Parallel Replication Tutorial
The Full MySQL and MariaDB Parallel Replication Tutorial
 
PostgreSQL replication
PostgreSQL replicationPostgreSQL replication
PostgreSQL replication
 
Using all of the high availability options in MariaDB
Using all of the high availability options in MariaDBUsing all of the high availability options in MariaDB
Using all of the high availability options in MariaDB
 
PostgreSQL WAL for DBAs
PostgreSQL WAL for DBAs PostgreSQL WAL for DBAs
PostgreSQL WAL for DBAs
 
PostgreSQL and RAM usage
PostgreSQL and RAM usagePostgreSQL and RAM usage
PostgreSQL and RAM usage
 
Almost Perfect Service Discovery and Failover with ProxySQL and Orchestrator
Almost Perfect Service Discovery and Failover with ProxySQL and OrchestratorAlmost Perfect Service Discovery and Failover with ProxySQL and Orchestrator
Almost Perfect Service Discovery and Failover with ProxySQL and Orchestrator
 
How to set up orchestrator to manage thousands of MySQL servers
How to set up orchestrator to manage thousands of MySQL serversHow to set up orchestrator to manage thousands of MySQL servers
How to set up orchestrator to manage thousands of MySQL servers
 
JSON improvements in MySQL 8.0
JSON improvements in MySQL 8.0JSON improvements in MySQL 8.0
JSON improvements in MySQL 8.0
 
What is new in PostgreSQL 14?
What is new in PostgreSQL 14?What is new in PostgreSQL 14?
What is new in PostgreSQL 14?
 
Understanding PostgreSQL LW Locks
Understanding PostgreSQL LW LocksUnderstanding PostgreSQL LW Locks
Understanding PostgreSQL LW Locks
 
ProxySQL - High Performance and HA Proxy for MySQL
ProxySQL - High Performance and HA Proxy for MySQLProxySQL - High Performance and HA Proxy for MySQL
ProxySQL - High Performance and HA Proxy for MySQL
 
MySQL Advanced Administrator 2021 - 네오클로바
MySQL Advanced Administrator 2021 - 네오클로바MySQL Advanced Administrator 2021 - 네오클로바
MySQL Advanced Administrator 2021 - 네오클로바
 
Redo log improvements MYSQL 8.0
Redo log improvements MYSQL 8.0Redo log improvements MYSQL 8.0
Redo log improvements MYSQL 8.0
 
Percona Xtrabackup Best Practices
Percona Xtrabackup Best PracticesPercona Xtrabackup Best Practices
Percona Xtrabackup Best Practices
 
MySQL Group Replication - Ready For Production? (2018-04)
MySQL Group Replication - Ready For Production? (2018-04)MySQL Group Replication - Ready For Production? (2018-04)
MySQL Group Replication - Ready For Production? (2018-04)
 
MySQL InnoDB Cluster - New Features in 8.0 Releases - Best Practices
MySQL InnoDB Cluster - New Features in 8.0 Releases - Best PracticesMySQL InnoDB Cluster - New Features in 8.0 Releases - Best Practices
MySQL InnoDB Cluster - New Features in 8.0 Releases - Best Practices
 
[2018] MySQL 이중화 진화기
[2018] MySQL 이중화 진화기[2018] MySQL 이중화 진화기
[2018] MySQL 이중화 진화기
 
PostgreSQL Replication High Availability Methods
PostgreSQL Replication High Availability MethodsPostgreSQL Replication High Availability Methods
PostgreSQL Replication High Availability Methods
 
Linux tuning to improve PostgreSQL performance
Linux tuning to improve PostgreSQL performanceLinux tuning to improve PostgreSQL performance
Linux tuning to improve PostgreSQL performance
 

Similar to Percona Xtrabackup - Highly Efficient Backups

Highly efficient backups with percona xtrabackup
Highly efficient backups with percona xtrabackupHighly efficient backups with percona xtrabackup
Highly efficient backups with percona xtrabackupNilnandan Joshi
 
Backing up Wikipedia Databases
Backing up Wikipedia DatabasesBacking up Wikipedia Databases
Backing up Wikipedia DatabasesJaime Crespo
 
Zararfa SummerCamp 2012 - Performing fast backups in large scale environments...
Zararfa SummerCamp 2012 - Performing fast backups in large scale environments...Zararfa SummerCamp 2012 - Performing fast backups in large scale environments...
Zararfa SummerCamp 2012 - Performing fast backups in large scale environments...Zarafa
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz
 
Percona XtraBackup - New Features and Improvements
Percona XtraBackup - New Features and ImprovementsPercona XtraBackup - New Features and Improvements
Percona XtraBackup - New Features and ImprovementsMarcelo Altmann
 
MySQL Enterprise Backup (MEB)
MySQL Enterprise Backup (MEB)MySQL Enterprise Backup (MEB)
MySQL Enterprise Backup (MEB)Mydbops
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAsMark Leith
 
AUSPC 2013 - Business Continuity Management in SharePoint
AUSPC 2013 - Business Continuity Management in SharePointAUSPC 2013 - Business Continuity Management in SharePoint
AUSPC 2013 - Business Continuity Management in SharePointMichael Noel
 
Dipesh Singh 01112016
Dipesh Singh 01112016Dipesh Singh 01112016
Dipesh Singh 01112016Dipesh Singh
 
MySQL Server Backup, Restoration, And Disaster Recovery Planning Presentation
MySQL Server Backup, Restoration, And Disaster Recovery Planning PresentationMySQL Server Backup, Restoration, And Disaster Recovery Planning Presentation
MySQL Server Backup, Restoration, And Disaster Recovery Planning PresentationColin Charles
 
Rman Presentation
Rman PresentationRman Presentation
Rman PresentationRick van Ek
 
SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)
SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)
SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)Gary Jackson MBCS
 
Collaborate 2012 - RMAN eliminate the mystery
Collaborate 2012 - RMAN eliminate the mysteryCollaborate 2012 - RMAN eliminate the mystery
Collaborate 2012 - RMAN eliminate the mysteryNelson Calero
 
24 HOP edición Español - Sql server 2014 backup encryption - Percy Reyes
24 HOP edición Español - Sql server 2014 backup encryption - Percy Reyes24 HOP edición Español - Sql server 2014 backup encryption - Percy Reyes
24 HOP edición Español - Sql server 2014 backup encryption - Percy ReyesSpanishPASSVC
 
MySQL Server Backup, Restoration, and Disaster Recovery Planning
MySQL Server Backup, Restoration, and Disaster Recovery PlanningMySQL Server Backup, Restoration, and Disaster Recovery Planning
MySQL Server Backup, Restoration, and Disaster Recovery PlanningLenz Grimmer
 
High performance and high availability proxies for MySQL
High performance and high availability proxies for MySQLHigh performance and high availability proxies for MySQL
High performance and high availability proxies for MySQLMydbops
 
Best practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability TutorialBest practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability TutorialColin Charles
 

Similar to Percona Xtrabackup - Highly Efficient Backups (20)

Highly efficient backups with percona xtrabackup
Highly efficient backups with percona xtrabackupHighly efficient backups with percona xtrabackup
Highly efficient backups with percona xtrabackup
 
Backing up Wikipedia Databases
Backing up Wikipedia DatabasesBacking up Wikipedia Databases
Backing up Wikipedia Databases
 
Zararfa SummerCamp 2012 - Performing fast backups in large scale environments...
Zararfa SummerCamp 2012 - Performing fast backups in large scale environments...Zararfa SummerCamp 2012 - Performing fast backups in large scale environments...
Zararfa SummerCamp 2012 - Performing fast backups in large scale environments...
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
 
Percona XtraBackup - New Features and Improvements
Percona XtraBackup - New Features and ImprovementsPercona XtraBackup - New Features and Improvements
Percona XtraBackup - New Features and Improvements
 
MySQL Enterprise Backup (MEB)
MySQL Enterprise Backup (MEB)MySQL Enterprise Backup (MEB)
MySQL Enterprise Backup (MEB)
 
MySQL Backup & Recovery
MySQL Backup & RecoveryMySQL Backup & Recovery
MySQL Backup & Recovery
 
MySQL and MariaDB Backups
MySQL and MariaDB BackupsMySQL and MariaDB Backups
MySQL and MariaDB Backups
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAs
 
AUSPC 2013 - Business Continuity Management in SharePoint
AUSPC 2013 - Business Continuity Management in SharePointAUSPC 2013 - Business Continuity Management in SharePoint
AUSPC 2013 - Business Continuity Management in SharePoint
 
Dipesh Singh 01112016
Dipesh Singh 01112016Dipesh Singh 01112016
Dipesh Singh 01112016
 
MySQL Server Backup, Restoration, And Disaster Recovery Planning Presentation
MySQL Server Backup, Restoration, And Disaster Recovery Planning PresentationMySQL Server Backup, Restoration, And Disaster Recovery Planning Presentation
MySQL Server Backup, Restoration, And Disaster Recovery Planning Presentation
 
Rman Presentation
Rman PresentationRman Presentation
Rman Presentation
 
SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)
SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)
SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)
 
Galera webinar migration to galera cluster from my sql async replication
Galera webinar migration to galera cluster from my sql async replicationGalera webinar migration to galera cluster from my sql async replication
Galera webinar migration to galera cluster from my sql async replication
 
Collaborate 2012 - RMAN eliminate the mystery
Collaborate 2012 - RMAN eliminate the mysteryCollaborate 2012 - RMAN eliminate the mystery
Collaborate 2012 - RMAN eliminate the mystery
 
24 HOP edición Español - Sql server 2014 backup encryption - Percy Reyes
24 HOP edición Español - Sql server 2014 backup encryption - Percy Reyes24 HOP edición Español - Sql server 2014 backup encryption - Percy Reyes
24 HOP edición Español - Sql server 2014 backup encryption - Percy Reyes
 
MySQL Server Backup, Restoration, and Disaster Recovery Planning
MySQL Server Backup, Restoration, and Disaster Recovery PlanningMySQL Server Backup, Restoration, and Disaster Recovery Planning
MySQL Server Backup, Restoration, and Disaster Recovery Planning
 
High performance and high availability proxies for MySQL
High performance and high availability proxies for MySQLHigh performance and high availability proxies for MySQL
High performance and high availability proxies for MySQL
 
Best practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability TutorialBest practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability Tutorial
 

More from Mydbops

Efficient MySQL Indexing and what's new in MySQL Explain
Efficient MySQL Indexing and what's new in MySQL ExplainEfficient MySQL Indexing and what's new in MySQL Explain
Efficient MySQL Indexing and what's new in MySQL ExplainMydbops
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
PostgreSQL Schema Changes with pg-osc - Mydbops @ PGConf India 2024
PostgreSQL Schema Changes with pg-osc - Mydbops @ PGConf India 2024PostgreSQL Schema Changes with pg-osc - Mydbops @ PGConf India 2024
PostgreSQL Schema Changes with pg-osc - Mydbops @ PGConf India 2024Mydbops
 
Choosing the Right Database: Exploring MySQL Alternatives for Modern Applicat...
Choosing the Right Database: Exploring MySQL Alternatives for Modern Applicat...Choosing the Right Database: Exploring MySQL Alternatives for Modern Applicat...
Choosing the Right Database: Exploring MySQL Alternatives for Modern Applicat...Mydbops
 
Mastering Aurora PostgreSQL Clusters for Disaster Recovery
Mastering Aurora PostgreSQL Clusters for Disaster RecoveryMastering Aurora PostgreSQL Clusters for Disaster Recovery
Mastering Aurora PostgreSQL Clusters for Disaster RecoveryMydbops
 
Navigating Transactions: ACID Complexity in Modern Databases- Mydbops Open So...
Navigating Transactions: ACID Complexity in Modern Databases- Mydbops Open So...Navigating Transactions: ACID Complexity in Modern Databases- Mydbops Open So...
Navigating Transactions: ACID Complexity in Modern Databases- Mydbops Open So...Mydbops
 
AWS RDS in MySQL 2023 Vinoth Kanna @ Mydbops OpenSource Database Meetup 15
AWS RDS in MySQL 2023 Vinoth Kanna @ Mydbops OpenSource Database Meetup 15AWS RDS in MySQL 2023 Vinoth Kanna @ Mydbops OpenSource Database Meetup 15
AWS RDS in MySQL 2023 Vinoth Kanna @ Mydbops OpenSource Database Meetup 15Mydbops
 
Data-at-scale-with-TIDB Mydbops Co-Founder Kabilesh PR at LSPE Event
Data-at-scale-with-TIDB Mydbops Co-Founder Kabilesh PR at LSPE EventData-at-scale-with-TIDB Mydbops Co-Founder Kabilesh PR at LSPE Event
Data-at-scale-with-TIDB Mydbops Co-Founder Kabilesh PR at LSPE EventMydbops
 
MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...
MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...
MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...Mydbops
 
Scaling-MongoDB-with-Horizontal-and-Vertical-Sharding Mydbops Opensource Data...
Scaling-MongoDB-with-Horizontal-and-Vertical-Sharding Mydbops Opensource Data...Scaling-MongoDB-with-Horizontal-and-Vertical-Sharding Mydbops Opensource Data...
Scaling-MongoDB-with-Horizontal-and-Vertical-Sharding Mydbops Opensource Data...Mydbops
 
Mastering MongoDB Atlas: Essentials of Diagnostics and Debugging in the Cloud...
Mastering MongoDB Atlas: Essentials of Diagnostics and Debugging in the Cloud...Mastering MongoDB Atlas: Essentials of Diagnostics and Debugging in the Cloud...
Mastering MongoDB Atlas: Essentials of Diagnostics and Debugging in the Cloud...Mydbops
 
Data Organisation: Table Partitioning in PostgreSQL
Data Organisation: Table Partitioning in PostgreSQLData Organisation: Table Partitioning in PostgreSQL
Data Organisation: Table Partitioning in PostgreSQLMydbops
 
Navigating MongoDB's Queryable Encryption for Ultimate Security - Mydbops
Navigating MongoDB's Queryable Encryption for Ultimate Security - MydbopsNavigating MongoDB's Queryable Encryption for Ultimate Security - Mydbops
Navigating MongoDB's Queryable Encryption for Ultimate Security - MydbopsMydbops
 
Data High Availability With TIDB
Data High Availability With TIDBData High Availability With TIDB
Data High Availability With TIDBMydbops
 
Mastering Database Migration_ Native replication (8.0) to InnoDB Cluster (8.0...
Mastering Database Migration_ Native replication (8.0) to InnoDB Cluster (8.0...Mastering Database Migration_ Native replication (8.0) to InnoDB Cluster (8.0...
Mastering Database Migration_ Native replication (8.0) to InnoDB Cluster (8.0...Mydbops
 
Enhancing Security of MySQL Connections using SSL certificates
Enhancing Security of MySQL Connections using SSL certificatesEnhancing Security of MySQL Connections using SSL certificates
Enhancing Security of MySQL Connections using SSL certificatesMydbops
 
Exploring the Fundamentals of YugabyteDB - Mydbops
Exploring the Fundamentals of YugabyteDB - Mydbops Exploring the Fundamentals of YugabyteDB - Mydbops
Exploring the Fundamentals of YugabyteDB - Mydbops Mydbops
 
Time series in MongoDB - Mydbops
Time series in MongoDB - Mydbops Time series in MongoDB - Mydbops
Time series in MongoDB - Mydbops Mydbops
 
TiDB in a Nutshell - Power of Open-Source Distributed SQL Database - Mydbops
TiDB in a Nutshell - Power of Open-Source Distributed SQL Database - MydbopsTiDB in a Nutshell - Power of Open-Source Distributed SQL Database - Mydbops
TiDB in a Nutshell - Power of Open-Source Distributed SQL Database - MydbopsMydbops
 
Achieving High Availability in PostgreSQL
Achieving High Availability in PostgreSQLAchieving High Availability in PostgreSQL
Achieving High Availability in PostgreSQLMydbops
 

More from Mydbops (20)

Efficient MySQL Indexing and what's new in MySQL Explain
Efficient MySQL Indexing and what's new in MySQL ExplainEfficient MySQL Indexing and what's new in MySQL Explain
Efficient MySQL Indexing and what's new in MySQL Explain
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
PostgreSQL Schema Changes with pg-osc - Mydbops @ PGConf India 2024
PostgreSQL Schema Changes with pg-osc - Mydbops @ PGConf India 2024PostgreSQL Schema Changes with pg-osc - Mydbops @ PGConf India 2024
PostgreSQL Schema Changes with pg-osc - Mydbops @ PGConf India 2024
 
Choosing the Right Database: Exploring MySQL Alternatives for Modern Applicat...
Choosing the Right Database: Exploring MySQL Alternatives for Modern Applicat...Choosing the Right Database: Exploring MySQL Alternatives for Modern Applicat...
Choosing the Right Database: Exploring MySQL Alternatives for Modern Applicat...
 
Mastering Aurora PostgreSQL Clusters for Disaster Recovery
Mastering Aurora PostgreSQL Clusters for Disaster RecoveryMastering Aurora PostgreSQL Clusters for Disaster Recovery
Mastering Aurora PostgreSQL Clusters for Disaster Recovery
 
Navigating Transactions: ACID Complexity in Modern Databases- Mydbops Open So...
Navigating Transactions: ACID Complexity in Modern Databases- Mydbops Open So...Navigating Transactions: ACID Complexity in Modern Databases- Mydbops Open So...
Navigating Transactions: ACID Complexity in Modern Databases- Mydbops Open So...
 
AWS RDS in MySQL 2023 Vinoth Kanna @ Mydbops OpenSource Database Meetup 15
AWS RDS in MySQL 2023 Vinoth Kanna @ Mydbops OpenSource Database Meetup 15AWS RDS in MySQL 2023 Vinoth Kanna @ Mydbops OpenSource Database Meetup 15
AWS RDS in MySQL 2023 Vinoth Kanna @ Mydbops OpenSource Database Meetup 15
 
Data-at-scale-with-TIDB Mydbops Co-Founder Kabilesh PR at LSPE Event
Data-at-scale-with-TIDB Mydbops Co-Founder Kabilesh PR at LSPE EventData-at-scale-with-TIDB Mydbops Co-Founder Kabilesh PR at LSPE Event
Data-at-scale-with-TIDB Mydbops Co-Founder Kabilesh PR at LSPE Event
 
MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...
MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...
MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...
 
Scaling-MongoDB-with-Horizontal-and-Vertical-Sharding Mydbops Opensource Data...
Scaling-MongoDB-with-Horizontal-and-Vertical-Sharding Mydbops Opensource Data...Scaling-MongoDB-with-Horizontal-and-Vertical-Sharding Mydbops Opensource Data...
Scaling-MongoDB-with-Horizontal-and-Vertical-Sharding Mydbops Opensource Data...
 
Mastering MongoDB Atlas: Essentials of Diagnostics and Debugging in the Cloud...
Mastering MongoDB Atlas: Essentials of Diagnostics and Debugging in the Cloud...Mastering MongoDB Atlas: Essentials of Diagnostics and Debugging in the Cloud...
Mastering MongoDB Atlas: Essentials of Diagnostics and Debugging in the Cloud...
 
Data Organisation: Table Partitioning in PostgreSQL
Data Organisation: Table Partitioning in PostgreSQLData Organisation: Table Partitioning in PostgreSQL
Data Organisation: Table Partitioning in PostgreSQL
 
Navigating MongoDB's Queryable Encryption for Ultimate Security - Mydbops
Navigating MongoDB's Queryable Encryption for Ultimate Security - MydbopsNavigating MongoDB's Queryable Encryption for Ultimate Security - Mydbops
Navigating MongoDB's Queryable Encryption for Ultimate Security - Mydbops
 
Data High Availability With TIDB
Data High Availability With TIDBData High Availability With TIDB
Data High Availability With TIDB
 
Mastering Database Migration_ Native replication (8.0) to InnoDB Cluster (8.0...
Mastering Database Migration_ Native replication (8.0) to InnoDB Cluster (8.0...Mastering Database Migration_ Native replication (8.0) to InnoDB Cluster (8.0...
Mastering Database Migration_ Native replication (8.0) to InnoDB Cluster (8.0...
 
Enhancing Security of MySQL Connections using SSL certificates
Enhancing Security of MySQL Connections using SSL certificatesEnhancing Security of MySQL Connections using SSL certificates
Enhancing Security of MySQL Connections using SSL certificates
 
Exploring the Fundamentals of YugabyteDB - Mydbops
Exploring the Fundamentals of YugabyteDB - Mydbops Exploring the Fundamentals of YugabyteDB - Mydbops
Exploring the Fundamentals of YugabyteDB - Mydbops
 
Time series in MongoDB - Mydbops
Time series in MongoDB - Mydbops Time series in MongoDB - Mydbops
Time series in MongoDB - Mydbops
 
TiDB in a Nutshell - Power of Open-Source Distributed SQL Database - Mydbops
TiDB in a Nutshell - Power of Open-Source Distributed SQL Database - MydbopsTiDB in a Nutshell - Power of Open-Source Distributed SQL Database - Mydbops
TiDB in a Nutshell - Power of Open-Source Distributed SQL Database - Mydbops
 
Achieving High Availability in PostgreSQL
Achieving High Availability in PostgreSQLAchieving High Availability in PostgreSQL
Achieving High Availability in PostgreSQL
 

Recently uploaded

Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...jabtakhaidam7
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiessarkmank1
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfsumitt6_25730773
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementDr. Deepak Mudgal
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxpritamlangde
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxMuhammadAsimMuhammad6
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxNANDHAKUMARA10
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...gragchanchal546
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 

Recently uploaded (20)

Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptx
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 

Percona Xtrabackup - Highly Efficient Backups

  • 1. Percona XtraBackup Highly Efficient Backups Presenter Harish Kumar R Mydbops www.mydbops.com info@mydbops.com
  • 2. Mydbops Mydbops is into MySQL/MongoDB Support and Consulting. It is founded by experts who have scaled database at Yahoo! ,Percona and Datavail. We are providing an expert level support and 24*7 monitoring for MySQL databases and its related technologies like MariaDB , Percona ( also clustering ) . We support modern database technologies in MySQL which includes Galera ( Clustering ), Group Replication , SQL aware Load balancers like Maxscale / ProxySQL.
  • 3. Some of Our Happy Clients www.mydbops.com info@mydbops.com
  • 4. Table of Contents 1. Introduction 2. Features 3. Compatibility 4. Installation 5. Working of Xtrabackup 6. Backup Scenarios
  • 5. Introduction ➢ The most important and daily tasks for DBAs is performing backup and restore operations, not only for adding new replication slave, but also to implement disaster recovery procedures or when we want to implement testing in the server. ➢ Even when making any changes to the database schema, it's recommended to have fresh backup copy before making any live changes to avoid facing troubles in production server. ➢ If we're going to talk about backup and restore operations, then Percona Xtrabackup tool will be strongly appeared.
  • 6. Introduction ➢ Percona Xtrabackup provides a fully open-source, high-performance, non-blocking backup system for InnoDB or XtraDB tables ➢ It can also backup MyISAM, Archive, Merge and other SQL-level objects ➢ It is a reliable, widely-used alternative to Oracle's MySQL Enterprise Backup
  • 7. Introduction With Percona XtraBackup, you can achieve the following benefits: ➢ Backups that complete quickly and reliably ➢ Uninterrupted transaction processing during backups ➢ Savings on disk space and network bandwidth ➢ Automatic backup verification ➢ Higher uptime due to faster restore time
  • 8. Table of Contents 1. Introduction 2. Features 3. Compatibility 4. Installation 5. Working of Xtrabackup 6. Backup Scenarios
  • 9. Features For more details : https://www.percona.com/doc/percona-xtrabackup/2.4/intro.html ➢ Open Source (GPL) ➢ Price : Free ➢ Streaming backups ➢ Encrypted backups ➢ Supported all MySQL flavors ➢ Non-blocking InnoDB backups ➢ Incremental backups ➢ Full/Incremental compress backup ➢ Fast incremental backups ➢ Incremental backups with archived logs feature in Percona Server ➢ Backup locks ➢ Parallel local backups ➢ Parallel compression ➢ Parallel encryption ➢ Parallel apply-log ➢ Partial backups ➢ Partial backups of individual partitions ➢ Throttling ➢ Point-in-time recovery support ➢ Safe slave backups ➢ Compact backups ➢ Buffer pool state backups ➢ Individual tables export ➢ Individual partitions export ➢ Restoring tables to a different server ➢ Data & index file statistics ➢ InnoDB secondary indexes defragmentation ➢ rsync support to minimize lock time ➢ Improved FTWRL handling ➢ Backup history table
  • 10. Table of Contents 1. Introduction 2. Features 3. Compatibility 4. Installation 5. Working of Xtrabackup 6. Backup Scenarios
  • 11. Compatibility ➢ Versions <= 2.0 are compatible with : Oracle MySQL, 5.1, 5.5 and 5.6, equivalent versions of Percona Server and MariaDB. ➢ Version 2.1 and 2.2 are compatible with: Oracle MySQL 5.1 (plugin version), 5.5, 5.6, corresponding versions of Percona Server, Percona XtraDB Cluster and MariaDB, including MariaDB 10.0.x. ➢ Version 2.3 is compatible with : Oracle MySQL 5.1, 5.5, 5.6, and corresponding versions of Percona Server, Percona XtraDB Cluster and also MariaDB 10.1.x (except encryption). ➢ Version 2.4 is compatible with : Oracle MySQL, 5.1, 5.5, 5.6 and 5.7, also the corresponding versions of Percona Server, Percona XtraDB Cluster and also MariaDB 10.2.x ( Beyond the compression and TDE ) [P.S - Thank you for your corrections, Mr.Marko Mäkelä and Mr.Aleksandr Kuzminsky]
  • 12. Table of Contents 1. Introduction 2. Features 3. Compatibility 4. Installation a. Installation Process b. Requirements and Limitations 5. Working of Xtrabackup 6. Backup Scenarios
  • 13. Installation Process To install Percona XtraBackup, the available options are: ➢ Installing Percona XtraBackup from Repositories (recommended) [RHEL and CentOS] [Debian and Ubuntu] ➢ Installing Percona XtraBackup from Downloaded rpm or apt packages ➢ Compiling and Installing from Source Code [GitHub]
  • 14. Requirements and Limitations • Local access to the MySQL datadir is required • READ, WRITE and EXECUTE permissions are needed at a filesystem level in the server’s datadir. • This makes Xtrabackup incompatible with RDS or some web hosting providers. • The Database user needs the RELOAD, LOCK TABLES, PROCESS, REPLICATION CLIENT privileges on the tables/databases to be backed up.
  • 15. Table of Contents 1. Introduction 2. Features 3. Compatibility 4. Installation 5. Working of Xtrabackup a. Backup b. Preparation phase c. Restore 6. Backup Scenarios
  • 16. How Percona XtraBackup Works ➢ Percona XtraBackup is based on InnoDB’s crash-recovery functionality. ➢ It copies your InnoDB data files, which results in data that is internally inconsistent. ➢ Then it performs crash recovery on the files to make them a consistent, usable database again.
  • 17. How Percona XtraBackup Works - Backup InnoDB maintains a redo log (transaction log) that contains a record of every change to InnoDB data. When InnoDB starts, it inspects the data files and the transaction log, and performs two steps : • Applies committed transaction log entries to the data files • Performs an undo operation on any transactions that modified data but did not commit.
  • 18. How Percona XtraBackup Works - Backup ➢ Percona XtraBackup will use Backup locks where available as a lightweight alternative to FLUSH TABLES WITH READ LOCK (FTWRL). This feature is available in Percona Server 5.6+. ➢ After XtraBackup is finished backing up all InnoDB/XtraDB data and logs, it will run the LOCK TABLES FOR BACKUP. Locking is done only for MyISAM and other non-InnoDB tables. ➢ After that XtraBackup will use LOCK BINLOG FOR BACKUP to block all operations that might change either binary log position or Exec_Master_Log_Pos or Exec_Gtid_Set. Xtrabackup will then finish copying the REDO log files and fetch the binary log coordinates. After this is completed xtrabackup will unlock the binary log and tables.
  • 19. How Percona XtraBackup Works - Backup ➢ Finally, the binary log position will be printed and Xtrabackup will exit returning 0 if all went OK. Backup command: Final Output : The log sequence number (lsn) will be different, that depends on your server.
  • 20. How Percona XtraBackup Works - Backup Files in the Target directory (Backup Directory) : ➢ Hierarchy of files and directories mirroring the original database structure. ➢ backup-my.cnf : Not a backup of the server configuration. It only contains the minimal InnoDB settings at the time the backup to execute the --apply-log phase ➢ xtrabackup_info: Contains all information about xtrabackup binary, server version, start and end time of backup, binlog position etc. ➢ xtrabackup_checkpoints: Metadata about the backup (type of backup, lsn, etc.) ➢ xtrabackup_logfile: Data needed for the –apply-log phase.
  • 21. How Percona XtraBackup Works - Prepare ➢ Before the backup directory can be used, we must: 1. Make sure that the InnoDB tablespaces have consistent, non-corrupt data 2. Create new transaction logs ➢ Only Xtrabackup and the backup directory are needed. ➢ It can be done on different machine than the original server (we have the xtrabackup binary and the innodb configuration parameters) ➢ Generally, this is done just before restore.
  • 22. How Percona XtraBackup Works - Restore
  • 23. How Percona XtraBackup Works - Restore ➢ During restoration Xtrabackup will read the variables datadir, innodb_data_home_dir, innodb_data_file_path, innodb_log_group_home_dir from the my.cnf and check that the directories exist. ➢ Then it will copy the MyISAM tables, indexes, etc. (.frm, .MRG, .MYD, .MYI, .TRG, .TRN, .ARM, .ARZ, .CSV, .CSM, par and .opt files) first, InnoDB tables and indexes next and the log files at last. ➢ It will preserve file’s attributes when copying them, you may have to change the files’ ownership to mysql before starting the database server, as they will be owned by the user who created the backup. (#chown -R mysql:mysql /var/lib/mysql)
  • 24. How Percona XtraBackup Works - Restore Restore Options: The Prepared backup data will be equivalent to the datadir with some additional xtrabackup files. It can restored by either of the following option. --copy-back : used to copy the data from the backup files to the server --move-back : used to move the data from the backup files to the server, this is used where there is a shortage of memory to maintain both backup files and the server data files.
  • 25. 1. Introduction 2. Features 3. Compatibility 4. Installation 5. Working of Xtrabackup 6. Backup Scenarios a. Full Backup b. Partial Backup c. Compressed Backup d. Compact Backup e. Encrypted Backup f. Streaming Backup g. Incremental Backup Table of Contents
  • 26. Backup Scenarios – Full Backup ➢ ➢ ➢ As of now, innobackupex program is deprecated Or #xtrabackup --backup --target-dir=/path/to/backup
  • 27. Backup Scenarios – Full Backup Preparation Phase: xtrabackup --prepare --target-dir=/path/to/backup ➢ The prepare step uses this “embedded InnoDB” to perform crash recovery on the copied data files, using the copied log file. ➢ When this finishes, you will see an InnoDB shutdown a message containing the value of LSN depends on your system. ➢ It will not change the already prepared data files, you’ll see that output says:
  • 28. Backup Scenarios – Full Backup Restoration: Restoration should be done only after preparing the backup, in order to maintain the consistency of the backup data. ➢ Restoration options in XtraBackup: # xtrabackup --copy-back --target-dir=/path/to/backup # xtrabackup --move-back --target-dir=/path/to/backup ➢ Alternative Methods : You can use rsync or cp to restore the files to the datadir. Before Restoring, • Ensure that MySQL server is shut down and the datadir is empty before restoring the backup. You can’t restore to a datadir of a running mysqld instance • You will need to change the files’ ownership to mysql before starting the database server, as they will be owned by the user who created the backup.
  • 29. Backup Scenarios – Partial Backup ➢ Percona XtraBackup features partial backups, which means that you may backup only some specific tables or databases. ➢ The tables you back up must be in separate tablespaces, as a result of being created or altered after you enabled the innodb_file_per_table option on the server. Backup Options: --include , --tables-file, --databases Preparing Partial Backups: # xtrabackup --prepare --apply-log --export --target-dir=/path/to/backup
  • 30. Backup Scenarios – Partial Backup Restore: ➢ Restoring should be done by restoring individual tables in the partial backup to the server. ➢ As we used export option while preparing the backup, .exp files will be created for each table. ➢ To import the table using these files, we have to create new tables with the same structure and then discard its tablespace ➢ After this, copy tablename.ibd and tablename.exp ( or tablename.cfg if importing to MySQL 5.6) files to database’s home, and import its tablespace.
  • 31. Backup Scenarios – Compressed Backup ➢ Percona XtraBackup has implemented support for compressed backups. It can be used to compress/decompress local or streaming backup with xbstream. ➢ To make a compressed backup xtrabackup --compress option is used. ➢ To make the compression process faster, you can use parallel compression by enabling xtrabackup --compress-threads option. ➢ Compressed Backups should be decompressed before preparing it. Percona XtraBackup has implemented xtrabackup --decompress option that can be used to decompress the backup.
  • 32. Backup Scenarios – Compressed Backup Prepare: ➢ To use xtrabackup --decompress you’ll need qpress file archiver ➢ Xtrabackup will not remove the compressed files automatically, xtrabackup --remove-original option should be used to remove the compressed files (.qp files). ➢ After decompress it can be prepared just the same as a full backup. Restore: Restoration can be done the same way for the full backup. Even if the compressed files is not removed it won’t be copied to the datadir when restoring using Xtrabackup options.
  • 33. Backup Scenarios – Compact Backup When doing the backup of InnoDB tables it’s possible to omit the secondary index pages to make the backups more compact, and it will take less space on disk. The main disadvantage is that the backup prepare process takes longer as those secondary indexes need to be recreated. Backup: #xtrabackup --backup --compact --target-dir=/path/to/backup Prepare: #xtrabackup --prepare --apply-log --rebuild-indexes --target-dir=/path/to/backup Restore: #xtrabackup --copy-back --target-dir=/path/to/directory
  • 34. Backup Scenarios – Encrypted Backup Percona XtraBackup can be used to encrypt/decrypt local or streaming backup with xbstream option (streaming tar backups are not supported) in order to add another layer of protection to the backups. Encryption is done with the libgcrypt library. To make an encrypted backup following options need to be specified : ➢ ➢ ➢
  • 35. Backup Scenarios – Encrypted Backup The options xtrabackup --encrypt-key and xtrabackup --encrypt-key-file are mutually exclusive, i.e., just one of them needs to be provided. Encryption key can be generated with this command : This value then can be used as the encryption key Encryption and Backup:
  • 36. Backup Scenarios – Encrypted Backup Optimizing Encryption: The following options are used to speed up the encryption process, ➢ xtrabackup --encrypt-threads: to specify multiple threads for parallel encryption ➢ xtrabackup --encrypt-chunk-size: used to specify the size (in bytes) of the working encryption buffer for each encryption thread (default is 64K). Decryption:
  • 37. Backup Scenarios – Encrypted Backup ➢ Percona XtraBackup doesn’t automatically remove the encrypted files. ➢ Users have to remove the *.xbcrypt file from backup directory. ➢ In Percona XtraBackup 2.4.6 xtrabackup --remove-original option has been implemented that you can use to remove the encrypted files once they’ve been decrypted. ➢ xtrabackup --parallel can be used with xtrabackup --decrypt option to decrypt multiple files simultaneously. ➢ After decryption, the backup can be prepared for restoration. ➢ Preparation and Restoration are same as that as Full Backup.
  • 38. Backup Scenarios – Streaming Backup , socat socat is recommended because it allows for socket options like transfer buffer sizes
  • 39. Backup Scenarios – Streaming Backup To extract the resulting tar file, you must use the -i option, such as tar -ixvf backup.tar
  • 40. Backup Scenarios – Streaming Backup
  • 41. Backup Scenarios – Incremental Backup ➢ Percona Xtrabackup supports incremental backups, which means that they can copy only the data that has changed since the last backup. ➢ You can perform many incremental backups between each full backup. ➢ Incremental backups work because each InnoDB page contains a log sequence number, or LSN. ➢ Each page’s LSN shows how recently it was changed. ➢ There are two algorithms used to find the changed LSN pages. • The first one is to check the page LSN directly by reading all the data pages.(All Servers) • The second one is to enable the changed page tracking feature on the server, which will note the pages as they are being changed. (Percona) (This information is written out in a separate compact file, the bitmap file)
  • 42. Backup Scenarios – Incremental Backup To make an incremental backup, begin with a full backup as usual. The xtrabackup binary writes a file called xtrabackup_checkpoints that contains a line showing the to_lsn into the backup’s target directory. To start with a full backup, Now, you can take incremental backup based on the full backup, You can take as many incremental backup as you can, with the previously taken backup (full/incremental) as its base backup directory.
  • 43. Backup Scenarios – Incremental Backup Prepare: ➢ The xtrabackup --prepare step for incremental backups is not the same as for full backups. ➢ The rollback of uncommitted transactions must be skipped. ➢ xtrabackup --apply-log-only option to prevent the rollback phase. ➢ If you do not use the xtrabackup --apply-log-only option to prevent the rollback phase, then your incremental backups will be useless. ➢ ➢ ➢ After preparing the data, it can be restored as same as the full backup restore.
  • 44. Resources Percona XtraBackup 2.4 - Online Documentation Highly Efficient Backups with Percona Xtrabackup PLMCE-2015 (MySQL 101) Xtrabackup in a Nutshell Fast Incremental Backups with Percona Server and Percona XtraBackup
  • 45. Contact US: Write to me at harishkumar@mydbops.com DB Consulting Contact : info@mydbops.com Phone : 08048505683 www.mydbops.com info@mydbops.com