SlideShare ist ein Scribd-Unternehmen logo
1 von 42
Downloaden Sie, um offline zu lesen
Online Backups with
Percona Live Amsterdam - October 2016
1 / 42
Kenny Gryp
@gryp
MySQL Practice Manager
2 / 42
Agenda
What is Percona XtraBackup
Backup Process
Restore Process
Incremental
Compression, Streaming, Encryption
Cloud Backups - α
Percona Server Specific Features
3 / 42
4 / 42
What is
What is
Backups for:
5 / 42
What is
Backups for:
6 / 42
Online (Non Blocking) InnoDB Backups
Physical Datafiles Copied
What is
https://www.percona.com/software/mysql-database/percona-xtrabackup
7 / 42
Online (Non Blocking) InnoDB Backups
Physical Datafiles Copied
Less Impact on Production
Faster Restore Time Than Logical Backups
What is
https://www.percona.com/software/mysql-database/percona-xtrabackup
8 / 42
Online (Non Blocking) InnoDB Backups
Physical Datafiles Copied
Less Impact on Production
Faster Restore Time Than Logical Backups
What is
https://www.percona.com/software/mysql-database/percona-xtrabackup
Open Source
Blocking Support MyISAM...
Incremental/Delta
Compression/Encryption
Cloud Backup
9 / 42
10 / 42
(Data) Backup Process
(Data) Backup Process - 1. Backup
Backup .ibdfiles while in use
/var/lib/mysql/ibdata1
/var/lib/mysql/imdb/aka_name.ibd
/var/lib/mysql/imdb/aka_title.ibd
...
11 / 42
(Data) Backup Process - 1. Backup
Backup .ibdfiles while in use
/var/lib/mysql/ibdata1
/var/lib/mysql/imdb/aka_name.ibd
/var/lib/mysql/imdb/aka_title.ibd
...
track changes through trx logs
/var/lib/mysql/ib_log le0
/var/lib/mysql/ib_log le1
12 / 42
(Data) Backup Process - 2. Prepare
Apply changes from trx logs onto backupped .ibdfiles.
13 / 42
(Data) Backup Process - 1. Backup
#xtrabackup--backup--target-dir=/data/backups/
16100122:16:49ConnectingtoMySQLserverhost:localhost,user:root,password:not
Usingserverversion5.7.14-8-log
xtrabackupversion2.4.4basedonMySQLserver5.7.13Linux(x86_64)(revisionid
xtrabackup:usesposix_fadvise().
...
InnoDB:Numberofpools:1
16100122:16:49>>logscannedupto(5147619414)
xtrabackup:Generatingalistoftablespaces
InnoDB:AllocatedtablespaceID2formysql/plugin,oldmaximumwas0
16100122:16:50[01]Copying./ibdata1to/data/backups/ibdata1
16100122:16:50[01]Copying./mysql/plugin.ibdto/data/backups/mysql/plugin.ibd
16100122:16:50[01]Copying./mysql/servers.ibdto/data/backups/mysql/servers.ibd
16100122:16:50[01]Copying./mysql/help_topic.ibdto/data/backups/mysql/help_topic.i
...
16100122:17:13[01]Copying./imdb/users.ibdto/data/backups/imdb/users.ibd
16100122:17:13>>logscannedupto(5147619414)
16100122:17:14ExecutingFLUSHNO_WRITE_TO_BINLOGTABLES...
16100122:17:14ExecutingFLUSHTABLESWITHREADLOCK...
14 / 42
(Data) Backup Process - 1. Backup (2)
16100122:17:14Startingtobackupnon-InnoDBtablesand les
16100122:17:14[01]Copying./mysql/db.optto/data/backups/mysql/db.opt
16100122:17:14[01]Copying./mysql/db.frmto/data/backups/mysql/db.frm
16100122:17:14[01]Copying./mysql/db.MYIto/data/backups/mysql/db.MYI
16100122:17:14[01]Copying./mysql/db.MYDto/data/backups/mysql/db.MYD
16100122:17:17[01]Copying./imdb/users.frmto/data/backups/imdb/users.frm
16100122:17:17Finishedbackingupnon-InnoDBtablesand les
16100122:17:17ExecutingFLUSHNO_WRITE_TO_BINLOGENGINELOGS...
xtrabackup:Thelatestcheckpoint(forincremental):'5147619454'
xtrabackup:Stoppinglogcopyingthread.
.16100122:17:17>>logscannedupto(5147619463)
16100122:17:17ExecutingUNLOCKTABLES
16100122:17:17Alltablesunlocked
16100122:17:17[00]Copyingib_buffer_poolto/data/backups/ib_buffer_pool
16100122:17:17[00] ...done
16100122:17:17Backupcreatedindirectory'/data/backups/'
16100122:17:17[00]Writingbackup-my.cnf
16100122:17:17[00] ...done
16100122:17:17[00]Writingxtrabackup_info
16100122:17:17[00] ...done
xtrabackup:Transactionlogoflsn(5147619405)to(5147619463)wascopied.
16100122:17:18completedOK!
15 / 42
(Data) Backup Process - 2. Prepare (1)
#xtrabackup--prepare--target-dir=/data/backups/
xtrabackupversion2.4.4basedonMySQLserver5.7.13Linux(x86_64)(revisionid:df58
xtrabackup:cdto/data/backups
xtrabackup:Thistargetseemstobenotpreparedyet.
...
xtrabackup:StartingInnoDBinstanceforrecovery.
xtrabackup:Using104857600bytesforbufferpool(setby--use-memoryparameter)
...
InnoDB:Logscanprogressedpastthecheckpointlsn5147619405
InnoDB:Doingrecovery:scanneduptologsequencenumber5147619463(0%)
InnoDB:Doingrecovery:scanneduptologsequencenumber5147619463(0%)
InnoDB:Databasewasnotshutdownnormally!
InnoDB:Startingcrashrecovery.
InnoDB:xtrabackup:LastMySQLbinlog leposition333,
lenameperconaserver-bin.000007
...
InnoDB:96redorollbacksegment(s)found.1redorollbacksegment(s)areactive.
InnoDB:32non-redorollbacksegment(s)areactive.
InnoDB:Waitingforpurgetostart
InnoDB:5.7.13started;logsequencenumber5147619463
InnoDB:xtrabackup:LastMySQLbinlog leposition333, lenameperconaserver-bin.00
xtrabackup:startingshutdownwithinnodb_fast_shutdown=1
InnoDB:FTSoptimizethreadexiting.
InnoDB:Startingshutdown...
InnoDB:Shutdowncompleted;logsequencenumber5147619482
16 / 42
(Data) Backup Process - 2. Prepare (2)
...
InnoDB:Settinglog le./ib_log le101sizeto64MB
InnoDB:Settinglog le./ib_log le1sizeto64MB
InnoDB:Renaminglog le./ib_log le101to./ib_log le0
InnoDB:Newlog lescreated,LSN=5147619482
InnoDB:Highestsupported leformatisBarracuda.
InnoDB:Logscanprogressedpastthecheckpointlsn5147619852
InnoDB:Doingrecovery:scanneduptologsequencenumber5147619861(0%)
InnoDB:Doingrecovery:scanneduptologsequencenumber5147619861(0%)
InnoDB:Databasewasnotshutdownnormally!
InnoDB:Startingcrashrecovery.
InnoDB:xtrabackup:LastMySQLbinlog leposition333, lenameperconaserver-bin
...
InnoDB:96redorollbacksegment(s)found.1redorollbacksegment(s)areactive.
InnoDB:32non-redorollbacksegment(s)areactive.
InnoDB:Waitingforpurgetostart
InnoDB:5.7.13started;logsequencenumber5147619861
xtrabackup:startingshutdownwithinnodb_fast_shutdown=1
InnoDB:FTSoptimizethreadexiting.
InnoDB:Startingshutdown...
InnoDB:Shutdowncompleted;logsequencenumber5147619880
16100122:30:05completedOK!
17 / 42
18 / 42
Restore Process
Restore Process
After preparation, the backup directory ==data directory
19 / 42
Restore Process
After preparation, the backup directory ==data directory
#cp-R/data/backup//var/lib/mysql
#chown-Rmysql:mysql/var/lib/mysql
#systemctlstartmysqld
20 / 42
21 / 42
Incremental Backups
Incremental Backups
22 / 42
Incremental Backups
Only Copy InnoDB Pages That Changed
(still copies all non InnoDB Tables)
23 / 42
Pro:
Smaller backup size
Faster To Backup
Incremental & Delta
Incremental Backups
Only Copy InnoDB Pages That Changed
(still copies all non InnoDB Tables)
24 / 42
Pro:
Smaller backup size
Faster To Backup
Incremental & Delta
Con:
Slower to restore than full
On , all data is read
Incremental Backups
Only Copy InnoDB Pages That Changed
(still copies all non InnoDB Tables)
25 / 42
Incremental Backups - Process
26 / 42
Incremental Backups - Process
Take Incremental:
#xtrabackup--backup
--target-dir=/data/backups/inc/tuesday/
--incremental-basedir=/data/backups/full/sunday/
27 / 42
Incremental Backups - Process
Take Incremental:
#xtrabackup--backup
--target-dir=/data/backups/inc/tuesday/
--incremental-basedir=/data/backups/full/sunday/
Prepare Full
#xtrabackup--prepare
--apply-log-only
--target-dir=/data/backups/mysql/
28 / 42
Incremental Backups - Process
Take Incremental:
#xtrabackup--backup
--target-dir=/data/backups/inc/tuesday/
--incremental-basedir=/data/backups/full/sunday/
Prepare Full
#xtrabackup--prepare
--apply-log-only
--target-dir=/data/backups/mysql/
Apply Incremental
#xtrabackup--prepare--apply-log-only
--target-dir=/data/backups/full/sunday
--incremental-dir=/data/backups/inc/tuesday/
29 / 42
30 / 42
Compression, Streaming, Encryption
Compression
Compress using qpress
#xtrabackup--backup--target-dir=/data/backups/
--compress--compress-threads=2
Decompress (before prepare)
#xtrabackup--decompress--target-dir=/data/backups/
31 / 42
Streaming
#xtrabackup--backup
--compress
--stream=xbstream> le.xb
32 / 42
Streaming
#xtrabackup--backup
--compress
--stream=xbstream> le.xb
Over Network
#xtrabackup--backup
--compress
--stream=xbstream./
|sshuser@otherhost"xbstream-x"
33 / 42
Encryption
# xtrabackup--backup--target-dir=/data/backups
--encrypt=AES256
--encrypt-key="GCHFLrDFVx6UAsRb88uLVbAVWbK+Yzfs"
--encrypt-threads=2
34 / 42
35 / 42
Cloud Backups - α
Cloud Backups - α
Stream to Cloud directly
Swift
α
36 / 42
Cloud Backups - α
Put
#xtrabackup--backup--stream=xbstream--target-dir=/data/backups|
xbcloudput--storage=Swift
--swift-container=test--swift-user=test:tester
--swift-auth-url=http://192.168.8.80:8080/
--swift-key=testing
full_backup
37 / 42
Cloud Backups - α
Put
#xtrabackup--backup--stream=xbstream--target-dir=/data/backups|
xbcloudput--storage=Swift
--swift-container=test--swift-user=test:tester
--swift-auth-url=http://192.168.8.80:8080/
--swift-key=testing
full_backup
Get
#xbcloudget--storage=Swift
--swift-container=test--swift-user=test:tester
--swift-auth-url=http://192.168.8.80:8080/
--swift-key=testing
full_backup|xbstream-xv-C/tmp/downloaded_full
#xtrabackup--prepare--target-dir=/tmp/downloaded_full
#xtrabackup--copy-back--target-dir=/tmp/downloaded_full
38 / 42
39 / 42
Features
Backup Locks
Implements LOCKTABLESFORBACKUPto
Avoid FLUSHTABLESWITHREADLOCK, used for:
Non-InnoDB Tables (mysqlschema... )
Binary Log Position
Blocks DML to non-InnoDB
Blocks DDL
Allows Reads/Writes to InnoDB tables during
40 / 42
Change Page Tracking - Incremental Backups
Incremental backup does no longer require reading all pages to determine if a page
changed since the last full backup
How:
Percona Server tracks pages changed in InnoDB Tablespaces
Incremental backup reads changed page file, only reads changed pages
Why:
Less load on database server (a lot less Disk IO)
41 / 42
Thank you !
Questions ?
42 / 42

Weitere ähnliche Inhalte

Was ist angesagt?

MySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & OperationsMySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & OperationsFrederic Descamps
 
PL22 - Backup and Restore Performance.pptx
PL22 - Backup and Restore Performance.pptxPL22 - Backup and Restore Performance.pptx
PL22 - Backup and Restore Performance.pptxVinicius M Grippa
 
Galera cluster for high availability
Galera cluster for high availability Galera cluster for high availability
Galera cluster for high availability Mydbops
 
Percona Xtrabackup Best Practices
Percona Xtrabackup Best PracticesPercona Xtrabackup Best Practices
Percona Xtrabackup Best PracticesMarcelo Altmann
 
MariaDB Server Performance Tuning & Optimization
MariaDB Server Performance Tuning & OptimizationMariaDB Server Performance Tuning & Optimization
MariaDB Server Performance Tuning & OptimizationMariaDB plc
 
Top-10-Features-In-MySQL-8.0 - Vinoth Kanna RS - Mydbops Team
Top-10-Features-In-MySQL-8.0 - Vinoth Kanna RS - Mydbops TeamTop-10-Features-In-MySQL-8.0 - Vinoth Kanna RS - Mydbops Team
Top-10-Features-In-MySQL-8.0 - Vinoth Kanna RS - Mydbops TeamMydbops
 
Maxscale 소개 1.1.1
Maxscale 소개 1.1.1Maxscale 소개 1.1.1
Maxscale 소개 1.1.1NeoClova
 
Dd and atomic ddl pl17 dublin
Dd and atomic ddl pl17 dublinDd and atomic ddl pl17 dublin
Dd and atomic ddl pl17 dublinStåle Deraas
 
PGDay.Amsterdam 2018 - Stefan Fercot - Save your data with pgBackRest
PGDay.Amsterdam 2018 - Stefan Fercot - Save your data with pgBackRestPGDay.Amsterdam 2018 - Stefan Fercot - Save your data with pgBackRest
PGDay.Amsterdam 2018 - Stefan Fercot - Save your data with pgBackRestPGDay.Amsterdam
 
MySQL Administrator 2021 - 네오클로바
MySQL Administrator 2021 - 네오클로바MySQL Administrator 2021 - 네오클로바
MySQL Administrator 2021 - 네오클로바NeoClova
 
Running MariaDB in multiple data centers
Running MariaDB in multiple data centersRunning MariaDB in multiple data centers
Running MariaDB in multiple data centersMariaDB plc
 
MySQL Parallel Replication (LOGICAL_CLOCK): all the 5.7 (and some of the 8.0)...
MySQL Parallel Replication (LOGICAL_CLOCK): all the 5.7 (and some of the 8.0)...MySQL Parallel Replication (LOGICAL_CLOCK): all the 5.7 (and some of the 8.0)...
MySQL Parallel Replication (LOGICAL_CLOCK): all the 5.7 (and some of the 8.0)...Jean-François Gagné
 
MySQL Advanced Administrator 2021 - 네오클로바
MySQL Advanced Administrator 2021 - 네오클로바MySQL Advanced Administrator 2021 - 네오클로바
MySQL Advanced Administrator 2021 - 네오클로바NeoClova
 
Postgresql on NFS - J.Battiato, pgday2016
Postgresql on NFS - J.Battiato, pgday2016Postgresql on NFS - J.Battiato, pgday2016
Postgresql on NFS - J.Battiato, pgday2016Jonathan Battiato
 
M|18 Deep Dive: InnoDB Transactions and Write Paths
M|18 Deep Dive: InnoDB Transactions and Write PathsM|18 Deep Dive: InnoDB Transactions and Write Paths
M|18 Deep Dive: InnoDB Transactions and Write PathsMariaDB plc
 
MySQL InnoDB Cluster - Group Replication
MySQL InnoDB Cluster - Group ReplicationMySQL InnoDB Cluster - Group Replication
MySQL InnoDB Cluster - Group ReplicationFrederic Descamps
 
Keepalived+MaxScale+MariaDB_운영매뉴얼_1.0.docx
Keepalived+MaxScale+MariaDB_운영매뉴얼_1.0.docxKeepalived+MaxScale+MariaDB_운영매뉴얼_1.0.docx
Keepalived+MaxScale+MariaDB_운영매뉴얼_1.0.docxNeoClova
 
Backups And Recovery
Backups And RecoveryBackups And Recovery
Backups And Recoveryasifmalik110
 

Was ist angesagt? (20)

MySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & OperationsMySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & Operations
 
PL22 - Backup and Restore Performance.pptx
PL22 - Backup and Restore Performance.pptxPL22 - Backup and Restore Performance.pptx
PL22 - Backup and Restore Performance.pptx
 
Galera cluster for high availability
Galera cluster for high availability Galera cluster for high availability
Galera cluster for high availability
 
Percona Xtrabackup Best Practices
Percona Xtrabackup Best PracticesPercona Xtrabackup Best Practices
Percona Xtrabackup Best Practices
 
MariaDB Server Performance Tuning & Optimization
MariaDB Server Performance Tuning & OptimizationMariaDB Server Performance Tuning & Optimization
MariaDB Server Performance Tuning & Optimization
 
Top-10-Features-In-MySQL-8.0 - Vinoth Kanna RS - Mydbops Team
Top-10-Features-In-MySQL-8.0 - Vinoth Kanna RS - Mydbops TeamTop-10-Features-In-MySQL-8.0 - Vinoth Kanna RS - Mydbops Team
Top-10-Features-In-MySQL-8.0 - Vinoth Kanna RS - Mydbops Team
 
Maxscale 소개 1.1.1
Maxscale 소개 1.1.1Maxscale 소개 1.1.1
Maxscale 소개 1.1.1
 
Dd and atomic ddl pl17 dublin
Dd and atomic ddl pl17 dublinDd and atomic ddl pl17 dublin
Dd and atomic ddl pl17 dublin
 
PGDay.Amsterdam 2018 - Stefan Fercot - Save your data with pgBackRest
PGDay.Amsterdam 2018 - Stefan Fercot - Save your data with pgBackRestPGDay.Amsterdam 2018 - Stefan Fercot - Save your data with pgBackRest
PGDay.Amsterdam 2018 - Stefan Fercot - Save your data with pgBackRest
 
MySQL Administrator 2021 - 네오클로바
MySQL Administrator 2021 - 네오클로바MySQL Administrator 2021 - 네오클로바
MySQL Administrator 2021 - 네오클로바
 
Running MariaDB in multiple data centers
Running MariaDB in multiple data centersRunning MariaDB in multiple data centers
Running MariaDB in multiple data centers
 
PostgreSQL replication
PostgreSQL replicationPostgreSQL replication
PostgreSQL replication
 
MySQL Parallel Replication (LOGICAL_CLOCK): all the 5.7 (and some of the 8.0)...
MySQL Parallel Replication (LOGICAL_CLOCK): all the 5.7 (and some of the 8.0)...MySQL Parallel Replication (LOGICAL_CLOCK): all the 5.7 (and some of the 8.0)...
MySQL Parallel Replication (LOGICAL_CLOCK): all the 5.7 (and some of the 8.0)...
 
MySQL Advanced Administrator 2021 - 네오클로바
MySQL Advanced Administrator 2021 - 네오클로바MySQL Advanced Administrator 2021 - 네오클로바
MySQL Advanced Administrator 2021 - 네오클로바
 
Postgresql on NFS - J.Battiato, pgday2016
Postgresql on NFS - J.Battiato, pgday2016Postgresql on NFS - J.Battiato, pgday2016
Postgresql on NFS - J.Battiato, pgday2016
 
M|18 Deep Dive: InnoDB Transactions and Write Paths
M|18 Deep Dive: InnoDB Transactions and Write PathsM|18 Deep Dive: InnoDB Transactions and Write Paths
M|18 Deep Dive: InnoDB Transactions and Write Paths
 
Automated master failover
Automated master failoverAutomated master failover
Automated master failover
 
MySQL InnoDB Cluster - Group Replication
MySQL InnoDB Cluster - Group ReplicationMySQL InnoDB Cluster - Group Replication
MySQL InnoDB Cluster - Group Replication
 
Keepalived+MaxScale+MariaDB_운영매뉴얼_1.0.docx
Keepalived+MaxScale+MariaDB_운영매뉴얼_1.0.docxKeepalived+MaxScale+MariaDB_운영매뉴얼_1.0.docx
Keepalived+MaxScale+MariaDB_운영매뉴얼_1.0.docx
 
Backups And Recovery
Backups And RecoveryBackups And Recovery
Backups And Recovery
 

Andere mochten auch

Why MySQL High Availability Matters
Why MySQL High Availability MattersWhy MySQL High Availability Matters
Why MySQL High Availability MattersMatt Lord
 
MySQL High Availability Solutions
MySQL High Availability SolutionsMySQL High Availability Solutions
MySQL High Availability SolutionsLenz Grimmer
 
MySQL InnoDB 源码实现分析(一)
MySQL InnoDB 源码实现分析(一)MySQL InnoDB 源码实现分析(一)
MySQL InnoDB 源码实现分析(一)frogd
 
MySQL Backup and Recovery Essentials
MySQL Backup and Recovery EssentialsMySQL Backup and Recovery Essentials
MySQL Backup and Recovery EssentialsRonald Bradford
 
Why MySQL Replication Fails, and How to Get it Back
Why MySQL Replication Fails, and How to Get it BackWhy MySQL Replication Fails, and How to Get it Back
Why MySQL Replication Fails, and How to Get it BackSveta Smirnova
 
A New Architecture for Group Replication in Data Grid
A New Architecture for Group Replication in Data GridA New Architecture for Group Replication in Data Grid
A New Architecture for Group Replication in Data GridEditor IJCATR
 
MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?
MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?
MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?Sveta Smirnova
 
Java MySQL Connector & Connection Pool Features & Optimization
Java MySQL Connector & Connection Pool Features & OptimizationJava MySQL Connector & Connection Pool Features & Optimization
Java MySQL Connector & Connection Pool Features & OptimizationKenny Gryp
 
Advanced Percona XtraDB Cluster in a nutshell... la suite
Advanced Percona XtraDB Cluster in a nutshell... la suiteAdvanced Percona XtraDB Cluster in a nutshell... la suite
Advanced Percona XtraDB Cluster in a nutshell... la suiteKenny Gryp
 
Мониторинг и отладка MySQL: максимум информации при минимальных потерях
Мониторинг и отладка MySQL: максимум информации при минимальных потеряхМониторинг и отладка MySQL: максимум информации при минимальных потерях
Мониторинг и отладка MySQL: максимум информации при минимальных потеряхSveta Smirnova
 
MySQL Group Replication
MySQL Group ReplicationMySQL Group Replication
MySQL Group ReplicationManish Kumar
 
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group ReplicationPercona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group ReplicationKenny Gryp
 
Everything You Need to Know About MySQL Group Replication
Everything You Need to Know About MySQL Group ReplicationEverything You Need to Know About MySQL Group Replication
Everything You Need to Know About MySQL Group ReplicationNuno Carvalho
 
The nightmare of locking, blocking and isolation levels!
The nightmare of locking, blocking and isolation levels!The nightmare of locking, blocking and isolation levels!
The nightmare of locking, blocking and isolation levels!Boris Hristov
 
Inno db internals innodb file formats and source code structure
Inno db internals innodb file formats and source code structureInno db internals innodb file formats and source code structure
Inno db internals innodb file formats and source code structurezhaolinjnu
 
MySQL High Availability with Group Replication
MySQL High Availability with Group ReplicationMySQL High Availability with Group Replication
MySQL High Availability with Group ReplicationNuno Carvalho
 
Advanced mysql replication techniques
Advanced mysql replication techniquesAdvanced mysql replication techniques
Advanced mysql replication techniquesGiuseppe Maxia
 

Andere mochten auch (20)

Why MySQL High Availability Matters
Why MySQL High Availability MattersWhy MySQL High Availability Matters
Why MySQL High Availability Matters
 
MySQL High Availability Solutions
MySQL High Availability SolutionsMySQL High Availability Solutions
MySQL High Availability Solutions
 
Requirements the Last Bottleneck
Requirements the Last BottleneckRequirements the Last Bottleneck
Requirements the Last Bottleneck
 
MySQL InnoDB 源码实现分析(一)
MySQL InnoDB 源码实现分析(一)MySQL InnoDB 源码实现分析(一)
MySQL InnoDB 源码实现分析(一)
 
Load Data Fast!
Load Data Fast!Load Data Fast!
Load Data Fast!
 
MySQL Backup and Recovery Essentials
MySQL Backup and Recovery EssentialsMySQL Backup and Recovery Essentials
MySQL Backup and Recovery Essentials
 
Redis介绍
Redis介绍Redis介绍
Redis介绍
 
Why MySQL Replication Fails, and How to Get it Back
Why MySQL Replication Fails, and How to Get it BackWhy MySQL Replication Fails, and How to Get it Back
Why MySQL Replication Fails, and How to Get it Back
 
A New Architecture for Group Replication in Data Grid
A New Architecture for Group Replication in Data GridA New Architecture for Group Replication in Data Grid
A New Architecture for Group Replication in Data Grid
 
MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?
MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?
MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?
 
Java MySQL Connector & Connection Pool Features & Optimization
Java MySQL Connector & Connection Pool Features & OptimizationJava MySQL Connector & Connection Pool Features & Optimization
Java MySQL Connector & Connection Pool Features & Optimization
 
Advanced Percona XtraDB Cluster in a nutshell... la suite
Advanced Percona XtraDB Cluster in a nutshell... la suiteAdvanced Percona XtraDB Cluster in a nutshell... la suite
Advanced Percona XtraDB Cluster in a nutshell... la suite
 
Мониторинг и отладка MySQL: максимум информации при минимальных потерях
Мониторинг и отладка MySQL: максимум информации при минимальных потеряхМониторинг и отладка MySQL: максимум информации при минимальных потерях
Мониторинг и отладка MySQL: максимум информации при минимальных потерях
 
MySQL Group Replication
MySQL Group ReplicationMySQL Group Replication
MySQL Group Replication
 
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group ReplicationPercona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication
 
Everything You Need to Know About MySQL Group Replication
Everything You Need to Know About MySQL Group ReplicationEverything You Need to Know About MySQL Group Replication
Everything You Need to Know About MySQL Group Replication
 
The nightmare of locking, blocking and isolation levels!
The nightmare of locking, blocking and isolation levels!The nightmare of locking, blocking and isolation levels!
The nightmare of locking, blocking and isolation levels!
 
Inno db internals innodb file formats and source code structure
Inno db internals innodb file formats and source code structureInno db internals innodb file formats and source code structure
Inno db internals innodb file formats and source code structure
 
MySQL High Availability with Group Replication
MySQL High Availability with Group ReplicationMySQL High Availability with Group Replication
MySQL High Availability with Group Replication
 
Advanced mysql replication techniques
Advanced mysql replication techniquesAdvanced mysql replication techniques
Advanced mysql replication techniques
 

Ähnlich wie Online MySQL Backups with Percona XtraBackup

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
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAsMark Leith
 
Lock, Stock and Backup: Data Guaranteed
Lock, Stock and Backup: Data GuaranteedLock, Stock and Backup: Data Guaranteed
Lock, Stock and Backup: Data GuaranteedJervin Real
 
Uc2010 xtra backup-hot-backups-and-more
Uc2010 xtra backup-hot-backups-and-moreUc2010 xtra backup-hot-backups-and-more
Uc2010 xtra backup-hot-backups-and-moreArvids Godjuks
 
6048618 cloning-procedure-of-r12-single-tier
6048618 cloning-procedure-of-r12-single-tier6048618 cloning-procedure-of-r12-single-tier
6048618 cloning-procedure-of-r12-single-tierbalaji29
 
OSDC 2012 | Taking hot backups with XtraBackup by Alexey Kopytov
OSDC 2012 | Taking hot backups with XtraBackup by Alexey KopytovOSDC 2012 | Taking hot backups with XtraBackup by Alexey Kopytov
OSDC 2012 | Taking hot backups with XtraBackup by Alexey KopytovNETWAYS
 
2007-05-23 Cecchet_PGCon2007.ppt
2007-05-23 Cecchet_PGCon2007.ppt2007-05-23 Cecchet_PGCon2007.ppt
2007-05-23 Cecchet_PGCon2007.pptnadirpervez2
 
MySQL backup and restore performance
MySQL backup and restore performanceMySQL backup and restore performance
MySQL backup and restore performanceVinicius M Grippa
 
Arcserve Portfolio Technical Overview
Arcserve Portfolio Technical OverviewArcserve Portfolio Technical Overview
Arcserve Portfolio Technical OverviewGina Tragos
 
A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...
A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...
A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...Symantec
 
CA ARCserve Solution Overview
CA ARCserve Solution OverviewCA ARCserve Solution Overview
CA ARCserve Solution OverviewMotty Ben Atia
 
Introduction to MariaDB
Introduction to MariaDBIntroduction to MariaDB
Introduction to MariaDBJongJin Lee
 
Business Continuty Solution
Business Continuty SolutionBusiness Continuty Solution
Business Continuty SolutionBarada Mohanty
 
Be a better developer with Docker (revision 3)
Be a better developer with Docker (revision 3)Be a better developer with Docker (revision 3)
Be a better developer with Docker (revision 3)Nicola Paolucci
 
Source Code Management systems
Source Code Management systemsSource Code Management systems
Source Code Management systemsxSawyer
 
OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2vasuballa
 
Corporate Laptop Backup and Recovery
Corporate Laptop Backup and RecoveryCorporate Laptop Backup and Recovery
Corporate Laptop Backup and RecoveryJaspreet Singh
 
Webinar NETGEAR - Storage ReadyNAS, le novità
Webinar NETGEAR - Storage ReadyNAS, le novitàWebinar NETGEAR - Storage ReadyNAS, le novità
Webinar NETGEAR - Storage ReadyNAS, le novitàNetgear Italia
 
Db As Behaving Badly... Worst Practices For Database Administrators Rod Colledge
Db As Behaving Badly... Worst Practices For Database Administrators Rod ColledgeDb As Behaving Badly... Worst Practices For Database Administrators Rod Colledge
Db As Behaving Badly... Worst Practices For Database Administrators Rod Colledgesqlserver.co.il
 

Ähnlich wie Online MySQL Backups with Percona XtraBackup (20)

ZDLRA in Action
ZDLRA in ActionZDLRA in Action
ZDLRA in Action
 
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...
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAs
 
Lock, Stock and Backup: Data Guaranteed
Lock, Stock and Backup: Data GuaranteedLock, Stock and Backup: Data Guaranteed
Lock, Stock and Backup: Data Guaranteed
 
Uc2010 xtra backup-hot-backups-and-more
Uc2010 xtra backup-hot-backups-and-moreUc2010 xtra backup-hot-backups-and-more
Uc2010 xtra backup-hot-backups-and-more
 
6048618 cloning-procedure-of-r12-single-tier
6048618 cloning-procedure-of-r12-single-tier6048618 cloning-procedure-of-r12-single-tier
6048618 cloning-procedure-of-r12-single-tier
 
OSDC 2012 | Taking hot backups with XtraBackup by Alexey Kopytov
OSDC 2012 | Taking hot backups with XtraBackup by Alexey KopytovOSDC 2012 | Taking hot backups with XtraBackup by Alexey Kopytov
OSDC 2012 | Taking hot backups with XtraBackup by Alexey Kopytov
 
2007-05-23 Cecchet_PGCon2007.ppt
2007-05-23 Cecchet_PGCon2007.ppt2007-05-23 Cecchet_PGCon2007.ppt
2007-05-23 Cecchet_PGCon2007.ppt
 
MySQL backup and restore performance
MySQL backup and restore performanceMySQL backup and restore performance
MySQL backup and restore performance
 
Arcserve Portfolio Technical Overview
Arcserve Portfolio Technical OverviewArcserve Portfolio Technical Overview
Arcserve Portfolio Technical Overview
 
A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...
A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...
A Step-By-Step Disaster Recovery Blueprint & Best Practices for Your NetBacku...
 
CA ARCserve Solution Overview
CA ARCserve Solution OverviewCA ARCserve Solution Overview
CA ARCserve Solution Overview
 
Introduction to MariaDB
Introduction to MariaDBIntroduction to MariaDB
Introduction to MariaDB
 
Business Continuty Solution
Business Continuty SolutionBusiness Continuty Solution
Business Continuty Solution
 
Be a better developer with Docker (revision 3)
Be a better developer with Docker (revision 3)Be a better developer with Docker (revision 3)
Be a better developer with Docker (revision 3)
 
Source Code Management systems
Source Code Management systemsSource Code Management systems
Source Code Management systems
 
OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2
 
Corporate Laptop Backup and Recovery
Corporate Laptop Backup and RecoveryCorporate Laptop Backup and Recovery
Corporate Laptop Backup and Recovery
 
Webinar NETGEAR - Storage ReadyNAS, le novità
Webinar NETGEAR - Storage ReadyNAS, le novitàWebinar NETGEAR - Storage ReadyNAS, le novità
Webinar NETGEAR - Storage ReadyNAS, le novità
 
Db As Behaving Badly... Worst Practices For Database Administrators Rod Colledge
Db As Behaving Badly... Worst Practices For Database Administrators Rod ColledgeDb As Behaving Badly... Worst Practices For Database Administrators Rod Colledge
Db As Behaving Badly... Worst Practices For Database Administrators Rod Colledge
 

Mehr von Kenny Gryp

MySQL Database Architectures - 2022-08
MySQL Database Architectures - 2022-08MySQL Database Architectures - 2022-08
MySQL Database Architectures - 2022-08Kenny Gryp
 
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11Kenny Gryp
 
MySQL Operator for Kubernetes
MySQL Operator for KubernetesMySQL Operator for Kubernetes
MySQL Operator for KubernetesKenny Gryp
 
MySQL Database Architectures - 2020-10
MySQL Database Architectures -  2020-10MySQL Database Architectures -  2020-10
MySQL Database Architectures - 2020-10Kenny Gryp
 
MySQL InnoDB Cluster / ReplicaSet - Tutorial
MySQL InnoDB Cluster / ReplicaSet - TutorialMySQL InnoDB Cluster / ReplicaSet - Tutorial
MySQL InnoDB Cluster / ReplicaSet - TutorialKenny Gryp
 
MySQL Connectors 8.0.19 & DNS SRV
MySQL Connectors 8.0.19 & DNS SRVMySQL Connectors 8.0.19 & DNS SRV
MySQL Connectors 8.0.19 & DNS SRVKenny 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
 
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
 
Reducing Risk When Upgrading MySQL
Reducing Risk When Upgrading MySQLReducing Risk When Upgrading MySQL
Reducing Risk When Upgrading MySQLKenny Gryp
 
MySQL Group Replication
MySQL Group ReplicationMySQL Group Replication
MySQL Group ReplicationKenny Gryp
 
Multi Source Replication With MySQL 5.7 @ Verisure
Multi Source Replication With MySQL 5.7 @ VerisureMulti Source Replication With MySQL 5.7 @ Verisure
Multi Source Replication With MySQL 5.7 @ VerisureKenny Gryp
 
Percona XtraDB Cluster
Percona XtraDB ClusterPercona XtraDB Cluster
Percona XtraDB ClusterKenny Gryp
 

Mehr von Kenny Gryp (12)

MySQL Database Architectures - 2022-08
MySQL Database Architectures - 2022-08MySQL Database Architectures - 2022-08
MySQL Database Architectures - 2022-08
 
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
 
MySQL Operator for Kubernetes
MySQL Operator for KubernetesMySQL Operator for Kubernetes
MySQL Operator for Kubernetes
 
MySQL Database Architectures - 2020-10
MySQL Database Architectures -  2020-10MySQL Database Architectures -  2020-10
MySQL Database Architectures - 2020-10
 
MySQL InnoDB Cluster / ReplicaSet - Tutorial
MySQL InnoDB Cluster / ReplicaSet - TutorialMySQL InnoDB Cluster / ReplicaSet - Tutorial
MySQL InnoDB Cluster / ReplicaSet - Tutorial
 
MySQL Connectors 8.0.19 & DNS SRV
MySQL Connectors 8.0.19 & DNS SRVMySQL Connectors 8.0.19 & DNS SRV
MySQL Connectors 8.0.19 & DNS SRV
 
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
 
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)
 
Reducing Risk When Upgrading MySQL
Reducing Risk When Upgrading MySQLReducing Risk When Upgrading MySQL
Reducing Risk When Upgrading MySQL
 
MySQL Group Replication
MySQL Group ReplicationMySQL Group Replication
MySQL Group Replication
 
Multi Source Replication With MySQL 5.7 @ Verisure
Multi Source Replication With MySQL 5.7 @ VerisureMulti Source Replication With MySQL 5.7 @ Verisure
Multi Source Replication With MySQL 5.7 @ Verisure
 
Percona XtraDB Cluster
Percona XtraDB ClusterPercona XtraDB Cluster
Percona XtraDB Cluster
 

Kürzlich hochgeladen

Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Researchmichael115558
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...amitlee9823
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...amitlee9823
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...amitlee9823
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightDelhi Call girls
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceDelhi Call girls
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...amitlee9823
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...amitlee9823
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...amitlee9823
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...amitlee9823
 

Kürzlich hochgeladen (20)

Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 

Online MySQL Backups with Percona XtraBackup

  • 1. Online Backups with Percona Live Amsterdam - October 2016 1 / 42
  • 3. Agenda What is Percona XtraBackup Backup Process Restore Process Incremental Compression, Streaming, Encryption Cloud Backups - α Percona Server Specific Features 3 / 42
  • 7. Online (Non Blocking) InnoDB Backups Physical Datafiles Copied What is https://www.percona.com/software/mysql-database/percona-xtrabackup 7 / 42
  • 8. Online (Non Blocking) InnoDB Backups Physical Datafiles Copied Less Impact on Production Faster Restore Time Than Logical Backups What is https://www.percona.com/software/mysql-database/percona-xtrabackup 8 / 42
  • 9. Online (Non Blocking) InnoDB Backups Physical Datafiles Copied Less Impact on Production Faster Restore Time Than Logical Backups What is https://www.percona.com/software/mysql-database/percona-xtrabackup Open Source Blocking Support MyISAM... Incremental/Delta Compression/Encryption Cloud Backup 9 / 42
  • 10. 10 / 42 (Data) Backup Process
  • 11. (Data) Backup Process - 1. Backup Backup .ibdfiles while in use /var/lib/mysql/ibdata1 /var/lib/mysql/imdb/aka_name.ibd /var/lib/mysql/imdb/aka_title.ibd ... 11 / 42
  • 12. (Data) Backup Process - 1. Backup Backup .ibdfiles while in use /var/lib/mysql/ibdata1 /var/lib/mysql/imdb/aka_name.ibd /var/lib/mysql/imdb/aka_title.ibd ... track changes through trx logs /var/lib/mysql/ib_log le0 /var/lib/mysql/ib_log le1 12 / 42
  • 13. (Data) Backup Process - 2. Prepare Apply changes from trx logs onto backupped .ibdfiles. 13 / 42
  • 14. (Data) Backup Process - 1. Backup #xtrabackup--backup--target-dir=/data/backups/ 16100122:16:49ConnectingtoMySQLserverhost:localhost,user:root,password:not Usingserverversion5.7.14-8-log xtrabackupversion2.4.4basedonMySQLserver5.7.13Linux(x86_64)(revisionid xtrabackup:usesposix_fadvise(). ... InnoDB:Numberofpools:1 16100122:16:49>>logscannedupto(5147619414) xtrabackup:Generatingalistoftablespaces InnoDB:AllocatedtablespaceID2formysql/plugin,oldmaximumwas0 16100122:16:50[01]Copying./ibdata1to/data/backups/ibdata1 16100122:16:50[01]Copying./mysql/plugin.ibdto/data/backups/mysql/plugin.ibd 16100122:16:50[01]Copying./mysql/servers.ibdto/data/backups/mysql/servers.ibd 16100122:16:50[01]Copying./mysql/help_topic.ibdto/data/backups/mysql/help_topic.i ... 16100122:17:13[01]Copying./imdb/users.ibdto/data/backups/imdb/users.ibd 16100122:17:13>>logscannedupto(5147619414) 16100122:17:14ExecutingFLUSHNO_WRITE_TO_BINLOGTABLES... 16100122:17:14ExecutingFLUSHTABLESWITHREADLOCK... 14 / 42
  • 15. (Data) Backup Process - 1. Backup (2) 16100122:17:14Startingtobackupnon-InnoDBtablesand les 16100122:17:14[01]Copying./mysql/db.optto/data/backups/mysql/db.opt 16100122:17:14[01]Copying./mysql/db.frmto/data/backups/mysql/db.frm 16100122:17:14[01]Copying./mysql/db.MYIto/data/backups/mysql/db.MYI 16100122:17:14[01]Copying./mysql/db.MYDto/data/backups/mysql/db.MYD 16100122:17:17[01]Copying./imdb/users.frmto/data/backups/imdb/users.frm 16100122:17:17Finishedbackingupnon-InnoDBtablesand les 16100122:17:17ExecutingFLUSHNO_WRITE_TO_BINLOGENGINELOGS... xtrabackup:Thelatestcheckpoint(forincremental):'5147619454' xtrabackup:Stoppinglogcopyingthread. .16100122:17:17>>logscannedupto(5147619463) 16100122:17:17ExecutingUNLOCKTABLES 16100122:17:17Alltablesunlocked 16100122:17:17[00]Copyingib_buffer_poolto/data/backups/ib_buffer_pool 16100122:17:17[00] ...done 16100122:17:17Backupcreatedindirectory'/data/backups/' 16100122:17:17[00]Writingbackup-my.cnf 16100122:17:17[00] ...done 16100122:17:17[00]Writingxtrabackup_info 16100122:17:17[00] ...done xtrabackup:Transactionlogoflsn(5147619405)to(5147619463)wascopied. 16100122:17:18completedOK! 15 / 42
  • 16. (Data) Backup Process - 2. Prepare (1) #xtrabackup--prepare--target-dir=/data/backups/ xtrabackupversion2.4.4basedonMySQLserver5.7.13Linux(x86_64)(revisionid:df58 xtrabackup:cdto/data/backups xtrabackup:Thistargetseemstobenotpreparedyet. ... xtrabackup:StartingInnoDBinstanceforrecovery. xtrabackup:Using104857600bytesforbufferpool(setby--use-memoryparameter) ... InnoDB:Logscanprogressedpastthecheckpointlsn5147619405 InnoDB:Doingrecovery:scanneduptologsequencenumber5147619463(0%) InnoDB:Doingrecovery:scanneduptologsequencenumber5147619463(0%) InnoDB:Databasewasnotshutdownnormally! InnoDB:Startingcrashrecovery. InnoDB:xtrabackup:LastMySQLbinlog leposition333, lenameperconaserver-bin.000007 ... InnoDB:96redorollbacksegment(s)found.1redorollbacksegment(s)areactive. InnoDB:32non-redorollbacksegment(s)areactive. InnoDB:Waitingforpurgetostart InnoDB:5.7.13started;logsequencenumber5147619463 InnoDB:xtrabackup:LastMySQLbinlog leposition333, lenameperconaserver-bin.00 xtrabackup:startingshutdownwithinnodb_fast_shutdown=1 InnoDB:FTSoptimizethreadexiting. InnoDB:Startingshutdown... InnoDB:Shutdowncompleted;logsequencenumber5147619482 16 / 42
  • 17. (Data) Backup Process - 2. Prepare (2) ... InnoDB:Settinglog le./ib_log le101sizeto64MB InnoDB:Settinglog le./ib_log le1sizeto64MB InnoDB:Renaminglog le./ib_log le101to./ib_log le0 InnoDB:Newlog lescreated,LSN=5147619482 InnoDB:Highestsupported leformatisBarracuda. InnoDB:Logscanprogressedpastthecheckpointlsn5147619852 InnoDB:Doingrecovery:scanneduptologsequencenumber5147619861(0%) InnoDB:Doingrecovery:scanneduptologsequencenumber5147619861(0%) InnoDB:Databasewasnotshutdownnormally! InnoDB:Startingcrashrecovery. InnoDB:xtrabackup:LastMySQLbinlog leposition333, lenameperconaserver-bin ... InnoDB:96redorollbacksegment(s)found.1redorollbacksegment(s)areactive. InnoDB:32non-redorollbacksegment(s)areactive. InnoDB:Waitingforpurgetostart InnoDB:5.7.13started;logsequencenumber5147619861 xtrabackup:startingshutdownwithinnodb_fast_shutdown=1 InnoDB:FTSoptimizethreadexiting. InnoDB:Startingshutdown... InnoDB:Shutdowncompleted;logsequencenumber5147619880 16100122:30:05completedOK! 17 / 42
  • 18. 18 / 42 Restore Process
  • 19. Restore Process After preparation, the backup directory ==data directory 19 / 42
  • 20. Restore Process After preparation, the backup directory ==data directory #cp-R/data/backup//var/lib/mysql #chown-Rmysql:mysql/var/lib/mysql #systemctlstartmysqld 20 / 42
  • 23. Incremental Backups Only Copy InnoDB Pages That Changed (still copies all non InnoDB Tables) 23 / 42
  • 24. Pro: Smaller backup size Faster To Backup Incremental & Delta Incremental Backups Only Copy InnoDB Pages That Changed (still copies all non InnoDB Tables) 24 / 42
  • 25. Pro: Smaller backup size Faster To Backup Incremental & Delta Con: Slower to restore than full On , all data is read Incremental Backups Only Copy InnoDB Pages That Changed (still copies all non InnoDB Tables) 25 / 42
  • 26. Incremental Backups - Process 26 / 42
  • 27. Incremental Backups - Process Take Incremental: #xtrabackup--backup --target-dir=/data/backups/inc/tuesday/ --incremental-basedir=/data/backups/full/sunday/ 27 / 42
  • 28. Incremental Backups - Process Take Incremental: #xtrabackup--backup --target-dir=/data/backups/inc/tuesday/ --incremental-basedir=/data/backups/full/sunday/ Prepare Full #xtrabackup--prepare --apply-log-only --target-dir=/data/backups/mysql/ 28 / 42
  • 29. Incremental Backups - Process Take Incremental: #xtrabackup--backup --target-dir=/data/backups/inc/tuesday/ --incremental-basedir=/data/backups/full/sunday/ Prepare Full #xtrabackup--prepare --apply-log-only --target-dir=/data/backups/mysql/ Apply Incremental #xtrabackup--prepare--apply-log-only --target-dir=/data/backups/full/sunday --incremental-dir=/data/backups/inc/tuesday/ 29 / 42
  • 30. 30 / 42 Compression, Streaming, Encryption
  • 35. 35 / 42 Cloud Backups - α
  • 36. Cloud Backups - α Stream to Cloud directly Swift α 36 / 42
  • 37. Cloud Backups - α Put #xtrabackup--backup--stream=xbstream--target-dir=/data/backups| xbcloudput--storage=Swift --swift-container=test--swift-user=test:tester --swift-auth-url=http://192.168.8.80:8080/ --swift-key=testing full_backup 37 / 42
  • 38. Cloud Backups - α Put #xtrabackup--backup--stream=xbstream--target-dir=/data/backups| xbcloudput--storage=Swift --swift-container=test--swift-user=test:tester --swift-auth-url=http://192.168.8.80:8080/ --swift-key=testing full_backup Get #xbcloudget--storage=Swift --swift-container=test--swift-user=test:tester --swift-auth-url=http://192.168.8.80:8080/ --swift-key=testing full_backup|xbstream-xv-C/tmp/downloaded_full #xtrabackup--prepare--target-dir=/tmp/downloaded_full #xtrabackup--copy-back--target-dir=/tmp/downloaded_full 38 / 42
  • 40. Backup Locks Implements LOCKTABLESFORBACKUPto Avoid FLUSHTABLESWITHREADLOCK, used for: Non-InnoDB Tables (mysqlschema... ) Binary Log Position Blocks DML to non-InnoDB Blocks DDL Allows Reads/Writes to InnoDB tables during 40 / 42
  • 41. Change Page Tracking - Incremental Backups Incremental backup does no longer require reading all pages to determine if a page changed since the last full backup How: Percona Server tracks pages changed in InnoDB Tablespaces Incremental backup reads changed page file, only reads changed pages Why: Less load on database server (a lot less Disk IO) 41 / 42