Percona XtraBackup at Alibaba Cloud
Bo Wang Alibaba Cloud
Percona XtraBackup at Alibaba Cloud Bo Wang Alibaba Cloud About - - PowerPoint PPT Presentation
Percona XtraBackup at Alibaba Cloud Bo Wang Alibaba Cloud About Me Bo Wang (Fungo Wang) Hangzhou, China Joined Alibaba Cloud at Apr 2014 after got Masters in CS at Zhejiang University Senior Engineer at Alibaba Cloud, develop
Bo Wang Alibaba Cloud
2
3
5
2003 2011 2014 2017 756166
*5* *5* *5* *...1715*
https://github.com/alibaba/alisql Database As A Service, for your data safety, for your application stability.
6
Management cost Hardware cost
B
cost Hardware cost
B
B 3A
7
Backup is a fundamental facility, it's a basic requirement for our database products.
9
10
11
12
13
innobackupex --defaults-file=my.cnf --host=host --user=user --port=port --password=pass --slave-info
backup_agent fetch from OSS | gzip | tar xvf -C restore_dir/ innobackupex --apply-log --use-memory=bp_memory_size restore_dir/ mv files to directories specified in my.cnf
15
16
17
18
19
victims when copying MyISAM files
advance
20
21
disk by checkpoint
checkpoint
22
features, hold TokuDB checkpoint lock while copying TokuDB FT data.
data
TokuDB can’t see them when recover, treat them as garbage (unused space). Because checkpoint is blocked, and BTT is not flushed and updated.
23
24
25
very short time.
InnoDB
InnoDB
26
27
28
29
30
31
32
recovery table t1, t1.ibd, t1.frm, ibdata1, xtrabackup_logfile other meta info files need to be downloaded.
33
34
35
36
instance to validate that our whole backup/restore system is healthy.
37