SlideShare une entreprise Scribd logo
1  sur  10
前言:随着数据量的增加,备份问题会越来越突出,尤其是当前没有免费热备
工具的情形下。本文针对 InnoDB 的备份需求,采用商业的 ibbackup 以及免费
的 mysqldump 2 种工具进行对比,让大家有个大致的了解。
1. 准备
ibbackup 是 InnoDB 提供的收费工具,它支持在线热备 InnoDB 数据,主要有
以下特性:
• * Online backup of InnoDB tables — the backup takes place entirely
online, without preventing queries or updates.
• * Online backup of MyISAM tables — during the backup of InnoDB
tables, read and write access is permitted to MyISAM tables. While the
MyISAM tables are being copied, updates (but not reads) to the
MyISAM tables are precluded.
• * Compressed backups — the backup of InnoDB files can be
compressed at various levels, saving as much as 70% or more of the
storage required.
• * Partial backups — you can selectively backup all or only some of your
InnoDB tables.
• * High performance — backup time is comparable to file copy, applying
logs for recovery is even faster.
• * Unlimited database size — no practical limit to database size or
number of tables.
• * Broad platform support — runs on Linux, Windows and leading Unix
platforms.
在 innodb 官网 申请了个试用版测试下,发现效果还是不错的,不过在我们自
己的独特应用环境下,ibbackup 的优势并没有多少。具体的测试结果就不发上
来了,有兴趣的同学自己测试看看吧。
ibbackup 只需要识别简单的几个 InnoDB 相关参数即可。它在备份时需要用到 2
个配置文件,一个是指定在线运行的信息,一个是备份相关信息。例如:
online-my.cnf 告诉 ibbackup 当前正在运行的 mysql 数据文件所在目录
[mysqld]
datadir = /home/mysql
innodb_data_file_path = ibdata1:512M:autoextend
innodb_data_home_dir = /home/mysql
innodb_log_file_size = 256M
innodb_log_files_in_group = 3
innodb_log_group_home_dir = /home/mysql
backup-my.cnf 告诉 ibbackup 备份文件存储的目录
[mysqld]
datadir = /home/hotbackup
innodb_data_file_path = ibdata1:512M:autoextend
innodb_data_home_dir = /home/hotbackup
innodb_log_file_size = 256M
innodb_log_files_in_group = 3
innodb_log_group_home_dir = /home/hotbackup
运行 ibbackup --help,就能看到以下几个主要选项:
[yejr@imysql.cn]# ibbackup --help
Usage:
ibbackup [--sleep ms] [--suspend-at-end] [--compress [level]]
[--include regexp] my.cnf backup-my.cnf
or
ibbackup --apply-log [--use-memory mb] [--uncompress] backup-my.cnf
or
ibbackup --restore [--use-memory mb] [--uncompress] backup-my.cnf
我一般只需要用到 --compress 以及 --uncompress,告诉 ibbackup 压缩/解压
缩的级别。
2. 备份
执行以下命令:
[yejr@imysql.cn]# ibbackup --compress 5 online-my.cnf backup-my.cnf
InnoDB Hot Backup version 3.0.0; Copyright 2002-2005 Innobase Oy
License A13002 is granted to imysql Inc. (imysql@imysql.cn)
(--apply-log works in any computer regardless of the hostname)
Licensed for use in a computer whose hostname is 'yejr.imysql.cn'
Expires 2008-9-1 (year-month-day) at 00:00
See http://www.innodb.com for further information
Type ibbackup --license for detailed license terms, --help for help
Contents of online-my.cnf:
innodb_data_home_dir got value /home/mysql
innodb_data_file_path got value ibdata1:512M:autoextend
datadir got value /home/mysql
innodb_log_group_home_dir got value /home/mysql
innodb_log_files_in_group got value 3
innodb_log_file_size got value 268435456
Contents of backup-my.cnf:
innodb_data_home_dir got value /home/hotbackup
innodb_data_file_path got value ibdata1:512M:autoextend
datadir got value /home/hotbackup
innodb_log_group_home_dir got value /home/hotbackup
innodb_log_files_in_group got value 3
innodb_log_file_size got value 268435456
ibbackup: Found checkpoint at lsn 8 804380391
ibbackup: Starting log scan from lsn 8 804380160
080716 19:50:47 ibbackup: Copying log...
080716 19:50:47 ibbackup: Log copied, lsn 8 804380391
ibbackup: We wait 1 second before starting copying the data files...
080716 19:50:48 ibbackup: Copying /home/mysql/ibdata1
ibbackup: Progress in MB: 100 200 300 400 500 600 700 800 900 1000
080716 19:51:21 ibbackup: Copying /home/mysql/test/sbtest.ibd
ibbackup: Progress in MB: 100 200 300 400
080716 19:51:34 ibbackup: Copying /home/mysql/test/geom.ibd
080716 19:51:34 ibbackup: Copying /home/mysql/test/t.ibd
080716 19:51:34 ibbackup: Copying /home/mysql/test/sbtest1.ibd
ibbackup: Progress in MB: 100 200 300 400
080716 19:51:50 ibbackup: Copying /home/mysql/yejr/yejr.ibd
ibbackup: Progress in MB: 100 200 300 400 500 600 700 800 900 1000 1100
1200 1300 1400 1500 1600 1700 1800 1900 2000 2100 2200 2300
............
ibbackup: A copied database page was modified at 8 804394835
ibbackup: Scanned log up to lsn 8 804394835
ibbackup: Was able to parse the log up to lsn 8 804394835
ibbackup: Maximum page number for a log record 209
080716 19:53:03 ibbackup: Full backup completed!
就会在 /home/hotbackup 下产生相应备份文件,例如
[yejr@imysql.cn]# ls -l hotbackup/
total 34368
-rw-r----- 1 root root 1024 Jul 17 17:40 ibbackup_logfile
-rw-r----- 1 root root 35128069 Jul 17 17:38 ibdata1.ibz
drwxr-x--- 2 root root 4096 Jul 17 17:39 yejr
drwxr-x--- 2 root root 4096 Jul 17 17:38 test
在备份过程中,还可以持续的提交事务,例如增、删、改数据等,ibbackup 会以
最后一次提交的事务为准,取得最新备份。
压缩级别视各自的实际情况而定了。一般需要通过测试,得到一个中间折中值。
3. 还原
[yejr@imysql.cn]# ibbackup --uncompress 5 --apply-log backup-my.cnf
InnoDB Hot Backup version 3.0.0; Copyright 2002-2005 Innobase Oy
License A13002 is granted to imysql Inc. (imysql@gmail.com)
(--apply-log works in any computer regardless of the hostname)
Licensed for use in a computer whose hostname is
's01_tc_10.11.54.189_CNC'
Expires 2008-9-1 (year-month-day) at 00:00
See http://www.innodb.com for further information
Type ibbackup --license for detailed license terms, --help for help
Contents of backup-my.cnf:
innodb_data_home_dir got value /home/hotbackup
innodb_data_file_path got value ibdata1:512M:autoextend
datadir got value /home/hotbackup
innodb_log_group_home_dir got value /home/hotbackup
innodb_log_files_in_group got value 3
innodb_log_file_size got value 268435456
ibbackup: Uncompressing data file '/home/hotbackup/ibdata1.ibz'
ibbackup: Progress in MB: 100 200 300 400 500 600 700 800 900 1000
ibbackup: Uncompressing data file '/home/hotbackup/test/sbtest.ibz'
ibbackup: Progress in MB: 100 200 300 400
ibbackup: Uncompressing data file '/home/hotbackup/test/geom.ibz'
ibbackup: Uncompressing data file '/home/hotbackup/test/t.ibz'
ibbackup: Uncompressing data file '/home/hotbackup/test/sbtest1.ibz'
ibbackup: Progress in MB: 100 200 300 400
........
ibbackup: Uncompressing data file '/home/hotbackup/yejr/yejr.ibz'
ibbackup: Progress in MB: 100 200 300 400 500 600 700 800 900 1000 1100
1200 1300 1400 1500 1600 1700 1800 1900 2000 2100 2200 2300
........
080717 17:49:43 ibbackup: ibbackup_logfile's creation parameters:
ibbackup: start lsn 8 872965632, end lsn 8 872966026,
ibbackup: start checkpoint 8 872966026
InnoDB: Doing recovery: scanned up to log sequence number 8 872966026
InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
94 95 96 97 98 99 Setting log file size to 0 268435456
InnoDB: Progress in MB: 100 200
Setting log file size to 0 268435456
InnoDB: Progress in MB: 100 200
Setting log file size to 0 268435456
InnoDB: Progress in MB: 100 200
ibbackup: We were able to parse ibbackup_logfile up to
ibbackup: lsn 8 872966026
ibbackup: The first data file is '/home/hotbackup/ibdata1'
ibbackup: and the new created log files are at '/home/hotbackup/'
080717 17:50:10 ibbackup: Full backup prepared for recovery successfully!
然后把还原出来的数据文件 "冷" 拷贝到 mysql 的 datadir 下,启动 mysqld,即
可正常使用了。
从测试结果来看,ibbackup 备份和恢复是基于物理块级,把每个表空间文件做
一个干净的备份,并且支持备份同时有事务提交,以得到最新的数据备份。
因此 ibbackup 产生的备份文件如果不经压缩(不管是备份时压缩,还是事后压
缩),那么占用的空间会比较大。
mysqldump 可以用 single-transaction 来得到一致性备份,但是备份的数据是
发起操作的瞬间快照,之后提交的事务都不会在备份
中体现。mysqldump 可能会导致 log purge 停滞很长时间,使得 mysql 的响应
变得非常慢,这点 ibbackup 就可以避免。mysqldump 产生的备份文件相对
ibbackup 生成的小多了。
还原时,ibbackup 相比重新导入 sql 文件会快不少,在这方面,ibbackup 有非
常大的优势。
Setting log file size to 0 268435456
InnoDB: Progress in MB: 100 200
ibbackup: We were able to parse ibbackup_logfile up to
ibbackup: lsn 8 872966026
ibbackup: The first data file is '/home/hotbackup/ibdata1'
ibbackup: and the new created log files are at '/home/hotbackup/'
080717 17:50:10 ibbackup: Full backup prepared for recovery successfully!
然后把还原出来的数据文件 "冷" 拷贝到 mysql 的 datadir 下,启动 mysqld,即
可正常使用了。
从测试结果来看,ibbackup 备份和恢复是基于物理块级,把每个表空间文件做
一个干净的备份,并且支持备份同时有事务提交,以得到最新的数据备份。
因此 ibbackup 产生的备份文件如果不经压缩(不管是备份时压缩,还是事后压
缩),那么占用的空间会比较大。
mysqldump 可以用 single-transaction 来得到一致性备份,但是备份的数据是
发起操作的瞬间快照,之后提交的事务都不会在备份
中体现。mysqldump 可能会导致 log purge 停滞很长时间,使得 mysql 的响应
变得非常慢,这点 ibbackup 就可以避免。mysqldump 产生的备份文件相对
ibbackup 生成的小多了。
还原时,ibbackup 相比重新导入 sql 文件会快不少,在这方面,ibbackup 有非
常大的优势。

Contenu connexe

Tendances

2018 Infortrend All Flash Arrays Introduction (GS3025A)
2018 Infortrend All Flash Arrays Introduction (GS3025A)2018 Infortrend All Flash Arrays Introduction (GS3025A)
2018 Infortrend All Flash Arrays Introduction (GS3025A)infortrendgroup
 
openSUSE storage workshop 2016
openSUSE storage workshop 2016openSUSE storage workshop 2016
openSUSE storage workshop 2016Alex Lau
 
Pod density comparison: VMware vSphere with Tanzu vs. a bare-metal approach ...
 Pod density comparison: VMware vSphere with Tanzu vs. a bare-metal approach ... Pod density comparison: VMware vSphere with Tanzu vs. a bare-metal approach ...
Pod density comparison: VMware vSphere with Tanzu vs. a bare-metal approach ...Principled Technologies
 
Hot Cloud'16: An Experiment on Bare-Metal BigData Provisioning
Hot Cloud'16: An Experiment on Bare-Metal BigData ProvisioningHot Cloud'16: An Experiment on Bare-Metal BigData Provisioning
Hot Cloud'16: An Experiment on Bare-Metal BigData ProvisioningAta Turk
 
Performance analysis with_ceph
Performance analysis with_cephPerformance analysis with_ceph
Performance analysis with_cephAlex Lau
 
Raid designs in Qsan Storage
Raid designs in Qsan StorageRaid designs in Qsan Storage
Raid designs in Qsan Storageqsantechnology
 
Build an affordable Cloud Stroage
Build an affordable Cloud StroageBuild an affordable Cloud Stroage
Build an affordable Cloud StroageAlex Lau
 
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
 
Ibm flash tms presentation 2013 04
Ibm flash tms  presentation 2013 04Ibm flash tms  presentation 2013 04
Ibm flash tms presentation 2013 04Patrick Bouillaud
 
Ibm db2 10.5 for linux, unix, and windows getting started with db2 installa...
Ibm db2 10.5 for linux, unix, and windows   getting started with db2 installa...Ibm db2 10.5 for linux, unix, and windows   getting started with db2 installa...
Ibm db2 10.5 for linux, unix, and windows getting started with db2 installa...bupbechanhgmail
 
PostgreSQL + ZFS best practices
PostgreSQL + ZFS best practicesPostgreSQL + ZFS best practices
PostgreSQL + ZFS best practicesSean Chittenden
 
Introduction to TrioNAS LX U300
Introduction to TrioNAS LX U300Introduction to TrioNAS LX U300
Introduction to TrioNAS LX U300qsantechnology
 
Azure VM 101 - HomeGen by CloudGen Verona - Marco Obinu
Azure VM 101 - HomeGen by CloudGen Verona - Marco ObinuAzure VM 101 - HomeGen by CloudGen Verona - Marco Obinu
Azure VM 101 - HomeGen by CloudGen Verona - Marco ObinuMarco Obinu
 
Collaborate vdb performance
Collaborate vdb performanceCollaborate vdb performance
Collaborate vdb performanceKyle Hailey
 
Zfs Nuts And Bolts
Zfs Nuts And BoltsZfs Nuts And Bolts
Zfs Nuts And BoltsEric Sproul
 
ASUS 200 Series Motherboard
ASUS 200 Series MotherboardASUS 200 Series Motherboard
ASUS 200 Series MotherboardLow Hong Chuan
 
Btrfs current status and_future_prospects
Btrfs current status and_future_prospectsBtrfs current status and_future_prospects
Btrfs current status and_future_prospectsfj_staoru_takeuchi
 

Tendances (19)

2018 Infortrend All Flash Arrays Introduction (GS3025A)
2018 Infortrend All Flash Arrays Introduction (GS3025A)2018 Infortrend All Flash Arrays Introduction (GS3025A)
2018 Infortrend All Flash Arrays Introduction (GS3025A)
 
openSUSE storage workshop 2016
openSUSE storage workshop 2016openSUSE storage workshop 2016
openSUSE storage workshop 2016
 
Pod density comparison: VMware vSphere with Tanzu vs. a bare-metal approach ...
 Pod density comparison: VMware vSphere with Tanzu vs. a bare-metal approach ... Pod density comparison: VMware vSphere with Tanzu vs. a bare-metal approach ...
Pod density comparison: VMware vSphere with Tanzu vs. a bare-metal approach ...
 
Hot Cloud'16: An Experiment on Bare-Metal BigData Provisioning
Hot Cloud'16: An Experiment on Bare-Metal BigData ProvisioningHot Cloud'16: An Experiment on Bare-Metal BigData Provisioning
Hot Cloud'16: An Experiment on Bare-Metal BigData Provisioning
 
Upgrade & ndmp
Upgrade & ndmpUpgrade & ndmp
Upgrade & ndmp
 
Performance analysis with_ceph
Performance analysis with_cephPerformance analysis with_ceph
Performance analysis with_ceph
 
Raid designs in Qsan Storage
Raid designs in Qsan StorageRaid designs in Qsan Storage
Raid designs in Qsan Storage
 
Build an affordable Cloud Stroage
Build an affordable Cloud StroageBuild an affordable Cloud Stroage
Build an affordable Cloud Stroage
 
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
 
Ibm flash tms presentation 2013 04
Ibm flash tms  presentation 2013 04Ibm flash tms  presentation 2013 04
Ibm flash tms presentation 2013 04
 
Ibm db2 10.5 for linux, unix, and windows getting started with db2 installa...
Ibm db2 10.5 for linux, unix, and windows   getting started with db2 installa...Ibm db2 10.5 for linux, unix, and windows   getting started with db2 installa...
Ibm db2 10.5 for linux, unix, and windows getting started with db2 installa...
 
PostgreSQL + ZFS best practices
PostgreSQL + ZFS best practicesPostgreSQL + ZFS best practices
PostgreSQL + ZFS best practices
 
Introduction to TrioNAS LX U300
Introduction to TrioNAS LX U300Introduction to TrioNAS LX U300
Introduction to TrioNAS LX U300
 
Azure VM 101 - HomeGen by CloudGen Verona - Marco Obinu
Azure VM 101 - HomeGen by CloudGen Verona - Marco ObinuAzure VM 101 - HomeGen by CloudGen Verona - Marco Obinu
Azure VM 101 - HomeGen by CloudGen Verona - Marco Obinu
 
ZFS
ZFSZFS
ZFS
 
Collaborate vdb performance
Collaborate vdb performanceCollaborate vdb performance
Collaborate vdb performance
 
Zfs Nuts And Bolts
Zfs Nuts And BoltsZfs Nuts And Bolts
Zfs Nuts And Bolts
 
ASUS 200 Series Motherboard
ASUS 200 Series MotherboardASUS 200 Series Motherboard
ASUS 200 Series Motherboard
 
Btrfs current status and_future_prospects
Btrfs current status and_future_prospectsBtrfs current status and_future_prospects
Btrfs current status and_future_prospects
 

En vedette

Kadin Industri Pengolahan Teh Peluang & Tantangan 50809
Kadin   Industri Pengolahan Teh Peluang & Tantangan 50809Kadin   Industri Pengolahan Teh Peluang & Tantangan 50809
Kadin Industri Pengolahan Teh Peluang & Tantangan 50809Bio Perforasi
 
Hai Vision Video Furnace Overview
Hai Vision Video Furnace OverviewHai Vision Video Furnace Overview
Hai Vision Video Furnace Overviewdjgood
 
Great Depression
Great DepressionGreat Depression
Great Depressionhubert1967
 
Building Energy Consumption Problems
Building Energy Consumption ProblemsBuilding Energy Consumption Problems
Building Energy Consumption ProblemsJosh Wentz
 
Kadin (29 Juli 2009)
Kadin (29 Juli 2009)Kadin (29 Juli 2009)
Kadin (29 Juli 2009)Bio Perforasi
 
PC服务器阵列卡管理简易手册 叶金荣@CYOU-20121223
PC服务器阵列卡管理简易手册 叶金荣@CYOU-20121223PC服务器阵列卡管理简易手册 叶金荣@CYOU-20121223
PC服务器阵列卡管理简易手册 叶金荣@CYOU-20121223Jinrong Ye
 
Jewel Kade Holiday 09 Charms
Jewel Kade Holiday 09 CharmsJewel Kade Holiday 09 Charms
Jewel Kade Holiday 09 Charmscrcardinale
 
Special Education Mandated from Birth
Special Education Mandated from BirthSpecial Education Mandated from Birth
Special Education Mandated from BirthEarly On Michigan
 
Quality Program Indicators 2
Quality Program Indicators 2Quality Program Indicators 2
Quality Program Indicators 2moorhead
 
121107 los romanticos_emotitoast2
121107 los romanticos_emotitoast2121107 los romanticos_emotitoast2
121107 los romanticos_emotitoast2djpolitzer
 
Postgraduate Research @ Mayo Clinic Jacksonville
Postgraduate Research @ Mayo Clinic JacksonvillePostgraduate Research @ Mayo Clinic Jacksonville
Postgraduate Research @ Mayo Clinic JacksonvilleSean Clancy, Ph.D.
 
Hp dl380 g7测试结果报告 - 20100823
Hp dl380 g7测试结果报告 - 20100823Hp dl380 g7测试结果报告 - 20100823
Hp dl380 g7测试结果报告 - 20100823Jinrong Ye
 
Психологическая безопасность в образовании и социальном взаимодействии
Психологическая безопасность в образовании и социальном взаимодействииПсихологическая безопасность в образовании и социальном взаимодействии
Психологическая безопасность в образовании и социальном взаимодействииpyotr001
 
Historia De Engormix2
Historia De Engormix2Historia De Engormix2
Historia De Engormix2Engormix.com
 
МОЗГ И ПОВЕДЕНИЕ ПОДРОСТКА (Рациональность против Иррациональности)
МОЗГ И ПОВЕДЕНИЕ ПОДРОСТКА (Рациональность против Иррациональности)МОЗГ И ПОВЕДЕНИЕ ПОДРОСТКА (Рациональность против Иррациональности)
МОЗГ И ПОВЕДЕНИЕ ПОДРОСТКА (Рациональность против Иррациональности)pyotr001
 

En vedette (20)

Pearl Necklaces
Pearl NecklacesPearl Necklaces
Pearl Necklaces
 
Kadin Industri Pengolahan Teh Peluang & Tantangan 50809
Kadin   Industri Pengolahan Teh Peluang & Tantangan 50809Kadin   Industri Pengolahan Teh Peluang & Tantangan 50809
Kadin Industri Pengolahan Teh Peluang & Tantangan 50809
 
Hai Vision Video Furnace Overview
Hai Vision Video Furnace OverviewHai Vision Video Furnace Overview
Hai Vision Video Furnace Overview
 
Great Depression
Great DepressionGreat Depression
Great Depression
 
Building Energy Consumption Problems
Building Energy Consumption ProblemsBuilding Energy Consumption Problems
Building Energy Consumption Problems
 
Kadin (29 Juli 2009)
Kadin (29 Juli 2009)Kadin (29 Juli 2009)
Kadin (29 Juli 2009)
 
Projectes arquitectònics - com trobar informació
Projectes arquitectònics - com trobar informacióProjectes arquitectònics - com trobar informació
Projectes arquitectònics - com trobar informació
 
PC服务器阵列卡管理简易手册 叶金荣@CYOU-20121223
PC服务器阵列卡管理简易手册 叶金荣@CYOU-20121223PC服务器阵列卡管理简易手册 叶金荣@CYOU-20121223
PC服务器阵列卡管理简易手册 叶金荣@CYOU-20121223
 
Jewel Kade Holiday 09 Charms
Jewel Kade Holiday 09 CharmsJewel Kade Holiday 09 Charms
Jewel Kade Holiday 09 Charms
 
MARSE April 2009
MARSE April 2009MARSE April 2009
MARSE April 2009
 
Special Education Mandated from Birth
Special Education Mandated from BirthSpecial Education Mandated from Birth
Special Education Mandated from Birth
 
Quality Program Indicators 2
Quality Program Indicators 2Quality Program Indicators 2
Quality Program Indicators 2
 
121107 los romanticos_emotitoast2
121107 los romanticos_emotitoast2121107 los romanticos_emotitoast2
121107 los romanticos_emotitoast2
 
Postgraduate Research @ Mayo Clinic Jacksonville
Postgraduate Research @ Mayo Clinic JacksonvillePostgraduate Research @ Mayo Clinic Jacksonville
Postgraduate Research @ Mayo Clinic Jacksonville
 
Hp dl380 g7测试结果报告 - 20100823
Hp dl380 g7测试结果报告 - 20100823Hp dl380 g7测试结果报告 - 20100823
Hp dl380 g7测试结果报告 - 20100823
 
Психологическая безопасность в образовании и социальном взаимодействии
Психологическая безопасность в образовании и социальном взаимодействииПсихологическая безопасность в образовании и социальном взаимодействии
Психологическая безопасность в образовании и социальном взаимодействии
 
Map idea in_michigan
Map idea in_michiganMap idea in_michigan
Map idea in_michigan
 
Social Emotional Booklet
Social Emotional BookletSocial Emotional Booklet
Social Emotional Booklet
 
Historia De Engormix2
Historia De Engormix2Historia De Engormix2
Historia De Engormix2
 
МОЗГ И ПОВЕДЕНИЕ ПОДРОСТКА (Рациональность против Иррациональности)
МОЗГ И ПОВЕДЕНИЕ ПОДРОСТКА (Рациональность против Иррациональности)МОЗГ И ПОВЕДЕНИЕ ПОДРОСТКА (Рациональность против Иррациональности)
МОЗГ И ПОВЕДЕНИЕ ПОДРОСТКА (Рациональность против Иррациональности)
 

Similaire à ibbackup vs mysqldump对比测试 - 20080718

MySQL Enterprise Backup (MEB)
MySQL Enterprise Backup (MEB)MySQL Enterprise Backup (MEB)
MySQL Enterprise Backup (MEB)Mydbops
 
Percona xtrabackup - MySQL Meetup @ Mumbai
Percona xtrabackup - MySQL Meetup @ MumbaiPercona xtrabackup - MySQL Meetup @ Mumbai
Percona xtrabackup - MySQL Meetup @ MumbaiNilnandan Joshi
 
Redo log improvements MYSQL 8.0
Redo log improvements MYSQL 8.0Redo log improvements MYSQL 8.0
Redo log improvements MYSQL 8.0Mydbops
 
IceBreak Cloud Backup
IceBreak Cloud BackupIceBreak Cloud Backup
IceBreak Cloud BackupDanielRace
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAsMark Leith
 
Start Counting: How We Unlocked Platform Efficiency and Reliability While Sav...
Start Counting: How We Unlocked Platform Efficiency and Reliability While Sav...Start Counting: How We Unlocked Platform Efficiency and Reliability While Sav...
Start Counting: How We Unlocked Platform Efficiency and Reliability While Sav...VMware Tanzu
 
Webinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Webinar slides: Our Guide to MySQL & MariaDB Performance TuningWebinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Webinar slides: Our Guide to MySQL & MariaDB Performance TuningSeveralnines
 
PostgreSQL Write-Ahead Log (Heikki Linnakangas)
PostgreSQL Write-Ahead Log (Heikki Linnakangas) PostgreSQL Write-Ahead Log (Heikki Linnakangas)
PostgreSQL Write-Ahead Log (Heikki Linnakangas) Ontico
 
R1Soft CDP 3.0 Key Features
R1Soft CDP 3.0 Key FeaturesR1Soft CDP 3.0 Key Features
R1Soft CDP 3.0 Key FeaturesR1Soft
 
Become a MySQL DBA - slides: Deciding on a relevant backup solution
Become a MySQL DBA - slides: Deciding on a relevant backup solutionBecome a MySQL DBA - slides: Deciding on a relevant backup solution
Become a MySQL DBA - slides: Deciding on a relevant backup solutionSeveralnines
 
Percona XtraBackup - New Features and Improvements
Percona XtraBackup - New Features and ImprovementsPercona XtraBackup - New Features and Improvements
Percona XtraBackup - New Features and ImprovementsMarcelo Altmann
 
JUDCon 2010 Boston : BoxGrinder
JUDCon 2010 Boston : BoxGrinderJUDCon 2010 Boston : BoxGrinder
JUDCon 2010 Boston : BoxGrindermarekgoldmann
 
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
 
OpenNebulaConf 2016 - Measuring and tuning VM performance by Boyan Krosnov, S...
OpenNebulaConf 2016 - Measuring and tuning VM performance by Boyan Krosnov, S...OpenNebulaConf 2016 - Measuring and tuning VM performance by Boyan Krosnov, S...
OpenNebulaConf 2016 - Measuring and tuning VM performance by Boyan Krosnov, S...OpenNebula Project
 
The InnoDB Storage Engine for MySQL
The InnoDB Storage Engine for MySQLThe InnoDB Storage Engine for MySQL
The InnoDB Storage Engine for MySQLMorgan Tocker
 
Inno db datafiles backup and retore
Inno db datafiles backup and retoreInno db datafiles backup and retore
Inno db datafiles backup and retoreVasudeva Rao
 
Alibaba cloud benchmarking report ecs rds limton xavier
Alibaba cloud benchmarking report ecs  rds limton xavierAlibaba cloud benchmarking report ecs  rds limton xavier
Alibaba cloud benchmarking report ecs rds limton xavierLimton Xavier
 
MySQL database replication
MySQL database replicationMySQL database replication
MySQL database replicationPoguttuezhiniVP
 
MySQL新技术研究与实践
MySQL新技术研究与实践MySQL新技术研究与实践
MySQL新技术研究与实践orczhou
 
AWS APAC Webinar Week - AWS MySQL Relational Database Services Best Practices...
AWS APAC Webinar Week - AWS MySQL Relational Database Services Best Practices...AWS APAC Webinar Week - AWS MySQL Relational Database Services Best Practices...
AWS APAC Webinar Week - AWS MySQL Relational Database Services Best Practices...Amazon Web Services
 

Similaire à ibbackup vs mysqldump对比测试 - 20080718 (20)

MySQL Enterprise Backup (MEB)
MySQL Enterprise Backup (MEB)MySQL Enterprise Backup (MEB)
MySQL Enterprise Backup (MEB)
 
Percona xtrabackup - MySQL Meetup @ Mumbai
Percona xtrabackup - MySQL Meetup @ MumbaiPercona xtrabackup - MySQL Meetup @ Mumbai
Percona xtrabackup - MySQL Meetup @ Mumbai
 
Redo log improvements MYSQL 8.0
Redo log improvements MYSQL 8.0Redo log improvements MYSQL 8.0
Redo log improvements MYSQL 8.0
 
IceBreak Cloud Backup
IceBreak Cloud BackupIceBreak Cloud Backup
IceBreak Cloud Backup
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAs
 
Start Counting: How We Unlocked Platform Efficiency and Reliability While Sav...
Start Counting: How We Unlocked Platform Efficiency and Reliability While Sav...Start Counting: How We Unlocked Platform Efficiency and Reliability While Sav...
Start Counting: How We Unlocked Platform Efficiency and Reliability While Sav...
 
Webinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Webinar slides: Our Guide to MySQL & MariaDB Performance TuningWebinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Webinar slides: Our Guide to MySQL & MariaDB Performance Tuning
 
PostgreSQL Write-Ahead Log (Heikki Linnakangas)
PostgreSQL Write-Ahead Log (Heikki Linnakangas) PostgreSQL Write-Ahead Log (Heikki Linnakangas)
PostgreSQL Write-Ahead Log (Heikki Linnakangas)
 
R1Soft CDP 3.0 Key Features
R1Soft CDP 3.0 Key FeaturesR1Soft CDP 3.0 Key Features
R1Soft CDP 3.0 Key Features
 
Become a MySQL DBA - slides: Deciding on a relevant backup solution
Become a MySQL DBA - slides: Deciding on a relevant backup solutionBecome a MySQL DBA - slides: Deciding on a relevant backup solution
Become a MySQL DBA - slides: Deciding on a relevant backup solution
 
Percona XtraBackup - New Features and Improvements
Percona XtraBackup - New Features and ImprovementsPercona XtraBackup - New Features and Improvements
Percona XtraBackup - New Features and Improvements
 
JUDCon 2010 Boston : BoxGrinder
JUDCon 2010 Boston : BoxGrinderJUDCon 2010 Boston : BoxGrinder
JUDCon 2010 Boston : BoxGrinder
 
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...
 
OpenNebulaConf 2016 - Measuring and tuning VM performance by Boyan Krosnov, S...
OpenNebulaConf 2016 - Measuring and tuning VM performance by Boyan Krosnov, S...OpenNebulaConf 2016 - Measuring and tuning VM performance by Boyan Krosnov, S...
OpenNebulaConf 2016 - Measuring and tuning VM performance by Boyan Krosnov, S...
 
The InnoDB Storage Engine for MySQL
The InnoDB Storage Engine for MySQLThe InnoDB Storage Engine for MySQL
The InnoDB Storage Engine for MySQL
 
Inno db datafiles backup and retore
Inno db datafiles backup and retoreInno db datafiles backup and retore
Inno db datafiles backup and retore
 
Alibaba cloud benchmarking report ecs rds limton xavier
Alibaba cloud benchmarking report ecs  rds limton xavierAlibaba cloud benchmarking report ecs  rds limton xavier
Alibaba cloud benchmarking report ecs rds limton xavier
 
MySQL database replication
MySQL database replicationMySQL database replication
MySQL database replication
 
MySQL新技术研究与实践
MySQL新技术研究与实践MySQL新技术研究与实践
MySQL新技术研究与实践
 
AWS APAC Webinar Week - AWS MySQL Relational Database Services Best Practices...
AWS APAC Webinar Week - AWS MySQL Relational Database Services Best Practices...AWS APAC Webinar Week - AWS MySQL Relational Database Services Best Practices...
AWS APAC Webinar Week - AWS MySQL Relational Database Services Best Practices...
 

Plus de Jinrong Ye

为什么学习MySQL-20220530.pdf
为什么学习MySQL-20220530.pdf为什么学习MySQL-20220530.pdf
为什么学习MySQL-20220530.pdfJinrong Ye
 
如何针对业务做DB优化
如何针对业务做DB优化如何针对业务做DB优化
如何针对业务做DB优化Jinrong Ye
 
程序猿都该知道的MySQL秘籍
程序猿都该知道的MySQL秘籍程序猿都该知道的MySQL秘籍
程序猿都该知道的MySQL秘籍Jinrong Ye
 
MySQL运维那些事
MySQL运维那些事MySQL运维那些事
MySQL运维那些事Jinrong Ye
 
高效Linux SA
高效Linux SA高效Linux SA
高效Linux SAJinrong Ye
 
MySQL设计、优化、运维
MySQL设计、优化、运维MySQL设计、优化、运维
MySQL设计、优化、运维Jinrong Ye
 
我们的MySQL
我们的MySQL我们的MySQL
我们的MySQLJinrong Ye
 
MySQL数据库设计、优化
MySQL数据库设计、优化MySQL数据库设计、优化
MySQL数据库设计、优化Jinrong Ye
 
MySQL技术分享:一步到位实现mysql优化
MySQL技术分享:一步到位实现mysql优化MySQL技术分享:一步到位实现mysql优化
MySQL技术分享:一步到位实现mysql优化Jinrong Ye
 
MySQL压力测试经验
MySQL压力测试经验MySQL压力测试经验
MySQL压力测试经验Jinrong Ye
 
Cgroup lxc在17173 iaas应用池中应用
Cgroup lxc在17173 iaas应用池中应用Cgroup lxc在17173 iaas应用池中应用
Cgroup lxc在17173 iaas应用池中应用Jinrong Ye
 
Tpcc mysql使用手册 - 20120329
Tpcc mysql使用手册 - 20120329Tpcc mysql使用手册 - 20120329
Tpcc mysql使用手册 - 20120329Jinrong Ye
 
MySQL 6.0 下的cluster + replicate - 20080220
MySQL 6.0 下的cluster + replicate - 20080220MySQL 6.0 下的cluster + replicate - 20080220
MySQL 6.0 下的cluster + replicate - 20080220Jinrong Ye
 
InnoDB引擎数据表压缩特性测试 - 20120329
InnoDB引擎数据表压缩特性测试 - 20120329InnoDB引擎数据表压缩特性测试 - 20120329
InnoDB引擎数据表压缩特性测试 - 20120329Jinrong Ye
 
Xtrabackup工具使用简介 - 20110427
Xtrabackup工具使用简介 - 20110427Xtrabackup工具使用简介 - 20110427
Xtrabackup工具使用简介 - 20110427Jinrong Ye
 
Handler socket测试报告 - 20110422
Handler socket测试报告 - 20110422Handler socket测试报告 - 20110422
Handler socket测试报告 - 20110422Jinrong Ye
 
mysql cluster测试记录 - 20120905
mysql cluster测试记录 - 20120905mysql cluster测试记录 - 20120905
mysql cluster测试记录 - 20120905Jinrong Ye
 
dell服务器raid冷迁移方法
dell服务器raid冷迁移方法dell服务器raid冷迁移方法
dell服务器raid冷迁移方法Jinrong Ye
 
服务器基准测试-叶金荣@CYOU-20121130
服务器基准测试-叶金荣@CYOU-20121130服务器基准测试-叶金荣@CYOU-20121130
服务器基准测试-叶金荣@CYOU-20121130Jinrong Ye
 

Plus de Jinrong Ye (19)

为什么学习MySQL-20220530.pdf
为什么学习MySQL-20220530.pdf为什么学习MySQL-20220530.pdf
为什么学习MySQL-20220530.pdf
 
如何针对业务做DB优化
如何针对业务做DB优化如何针对业务做DB优化
如何针对业务做DB优化
 
程序猿都该知道的MySQL秘籍
程序猿都该知道的MySQL秘籍程序猿都该知道的MySQL秘籍
程序猿都该知道的MySQL秘籍
 
MySQL运维那些事
MySQL运维那些事MySQL运维那些事
MySQL运维那些事
 
高效Linux SA
高效Linux SA高效Linux SA
高效Linux SA
 
MySQL设计、优化、运维
MySQL设计、优化、运维MySQL设计、优化、运维
MySQL设计、优化、运维
 
我们的MySQL
我们的MySQL我们的MySQL
我们的MySQL
 
MySQL数据库设计、优化
MySQL数据库设计、优化MySQL数据库设计、优化
MySQL数据库设计、优化
 
MySQL技术分享:一步到位实现mysql优化
MySQL技术分享:一步到位实现mysql优化MySQL技术分享:一步到位实现mysql优化
MySQL技术分享:一步到位实现mysql优化
 
MySQL压力测试经验
MySQL压力测试经验MySQL压力测试经验
MySQL压力测试经验
 
Cgroup lxc在17173 iaas应用池中应用
Cgroup lxc在17173 iaas应用池中应用Cgroup lxc在17173 iaas应用池中应用
Cgroup lxc在17173 iaas应用池中应用
 
Tpcc mysql使用手册 - 20120329
Tpcc mysql使用手册 - 20120329Tpcc mysql使用手册 - 20120329
Tpcc mysql使用手册 - 20120329
 
MySQL 6.0 下的cluster + replicate - 20080220
MySQL 6.0 下的cluster + replicate - 20080220MySQL 6.0 下的cluster + replicate - 20080220
MySQL 6.0 下的cluster + replicate - 20080220
 
InnoDB引擎数据表压缩特性测试 - 20120329
InnoDB引擎数据表压缩特性测试 - 20120329InnoDB引擎数据表压缩特性测试 - 20120329
InnoDB引擎数据表压缩特性测试 - 20120329
 
Xtrabackup工具使用简介 - 20110427
Xtrabackup工具使用简介 - 20110427Xtrabackup工具使用简介 - 20110427
Xtrabackup工具使用简介 - 20110427
 
Handler socket测试报告 - 20110422
Handler socket测试报告 - 20110422Handler socket测试报告 - 20110422
Handler socket测试报告 - 20110422
 
mysql cluster测试记录 - 20120905
mysql cluster测试记录 - 20120905mysql cluster测试记录 - 20120905
mysql cluster测试记录 - 20120905
 
dell服务器raid冷迁移方法
dell服务器raid冷迁移方法dell服务器raid冷迁移方法
dell服务器raid冷迁移方法
 
服务器基准测试-叶金荣@CYOU-20121130
服务器基准测试-叶金荣@CYOU-20121130服务器基准测试-叶金荣@CYOU-20121130
服务器基准测试-叶金荣@CYOU-20121130
 

Dernier

DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 

Dernier (20)

DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 

ibbackup vs mysqldump对比测试 - 20080718

  • 1. 前言:随着数据量的增加,备份问题会越来越突出,尤其是当前没有免费热备 工具的情形下。本文针对 InnoDB 的备份需求,采用商业的 ibbackup 以及免费 的 mysqldump 2 种工具进行对比,让大家有个大致的了解。 1. 准备 ibbackup 是 InnoDB 提供的收费工具,它支持在线热备 InnoDB 数据,主要有 以下特性: • * Online backup of InnoDB tables — the backup takes place entirely online, without preventing queries or updates. • * Online backup of MyISAM tables — during the backup of InnoDB tables, read and write access is permitted to MyISAM tables. While the MyISAM tables are being copied, updates (but not reads) to the MyISAM tables are precluded. • * Compressed backups — the backup of InnoDB files can be compressed at various levels, saving as much as 70% or more of the storage required. • * Partial backups — you can selectively backup all or only some of your InnoDB tables. • * High performance — backup time is comparable to file copy, applying logs for recovery is even faster.
  • 2. • * Unlimited database size — no practical limit to database size or number of tables. • * Broad platform support — runs on Linux, Windows and leading Unix platforms. 在 innodb 官网 申请了个试用版测试下,发现效果还是不错的,不过在我们自 己的独特应用环境下,ibbackup 的优势并没有多少。具体的测试结果就不发上 来了,有兴趣的同学自己测试看看吧。 ibbackup 只需要识别简单的几个 InnoDB 相关参数即可。它在备份时需要用到 2 个配置文件,一个是指定在线运行的信息,一个是备份相关信息。例如: online-my.cnf 告诉 ibbackup 当前正在运行的 mysql 数据文件所在目录 [mysqld] datadir = /home/mysql innodb_data_file_path = ibdata1:512M:autoextend innodb_data_home_dir = /home/mysql innodb_log_file_size = 256M innodb_log_files_in_group = 3 innodb_log_group_home_dir = /home/mysql backup-my.cnf 告诉 ibbackup 备份文件存储的目录
  • 3. [mysqld] datadir = /home/hotbackup innodb_data_file_path = ibdata1:512M:autoextend innodb_data_home_dir = /home/hotbackup innodb_log_file_size = 256M innodb_log_files_in_group = 3 innodb_log_group_home_dir = /home/hotbackup 运行 ibbackup --help,就能看到以下几个主要选项: [yejr@imysql.cn]# ibbackup --help Usage: ibbackup [--sleep ms] [--suspend-at-end] [--compress [level]] [--include regexp] my.cnf backup-my.cnf or ibbackup --apply-log [--use-memory mb] [--uncompress] backup-my.cnf or ibbackup --restore [--use-memory mb] [--uncompress] backup-my.cnf
  • 4. 我一般只需要用到 --compress 以及 --uncompress,告诉 ibbackup 压缩/解压 缩的级别。 2. 备份 执行以下命令: [yejr@imysql.cn]# ibbackup --compress 5 online-my.cnf backup-my.cnf InnoDB Hot Backup version 3.0.0; Copyright 2002-2005 Innobase Oy License A13002 is granted to imysql Inc. (imysql@imysql.cn) (--apply-log works in any computer regardless of the hostname) Licensed for use in a computer whose hostname is 'yejr.imysql.cn' Expires 2008-9-1 (year-month-day) at 00:00 See http://www.innodb.com for further information Type ibbackup --license for detailed license terms, --help for help Contents of online-my.cnf: innodb_data_home_dir got value /home/mysql innodb_data_file_path got value ibdata1:512M:autoextend datadir got value /home/mysql innodb_log_group_home_dir got value /home/mysql innodb_log_files_in_group got value 3 innodb_log_file_size got value 268435456 Contents of backup-my.cnf:
  • 5. innodb_data_home_dir got value /home/hotbackup innodb_data_file_path got value ibdata1:512M:autoextend datadir got value /home/hotbackup innodb_log_group_home_dir got value /home/hotbackup innodb_log_files_in_group got value 3 innodb_log_file_size got value 268435456 ibbackup: Found checkpoint at lsn 8 804380391 ibbackup: Starting log scan from lsn 8 804380160 080716 19:50:47 ibbackup: Copying log... 080716 19:50:47 ibbackup: Log copied, lsn 8 804380391 ibbackup: We wait 1 second before starting copying the data files... 080716 19:50:48 ibbackup: Copying /home/mysql/ibdata1 ibbackup: Progress in MB: 100 200 300 400 500 600 700 800 900 1000 080716 19:51:21 ibbackup: Copying /home/mysql/test/sbtest.ibd ibbackup: Progress in MB: 100 200 300 400 080716 19:51:34 ibbackup: Copying /home/mysql/test/geom.ibd 080716 19:51:34 ibbackup: Copying /home/mysql/test/t.ibd 080716 19:51:34 ibbackup: Copying /home/mysql/test/sbtest1.ibd ibbackup: Progress in MB: 100 200 300 400 080716 19:51:50 ibbackup: Copying /home/mysql/yejr/yejr.ibd ibbackup: Progress in MB: 100 200 300 400 500 600 700 800 900 1000 1100 1200 1300 1400 1500 1600 1700 1800 1900 2000 2100 2200 2300
  • 6. ............ ibbackup: A copied database page was modified at 8 804394835 ibbackup: Scanned log up to lsn 8 804394835 ibbackup: Was able to parse the log up to lsn 8 804394835 ibbackup: Maximum page number for a log record 209 080716 19:53:03 ibbackup: Full backup completed! 就会在 /home/hotbackup 下产生相应备份文件,例如 [yejr@imysql.cn]# ls -l hotbackup/ total 34368 -rw-r----- 1 root root 1024 Jul 17 17:40 ibbackup_logfile -rw-r----- 1 root root 35128069 Jul 17 17:38 ibdata1.ibz drwxr-x--- 2 root root 4096 Jul 17 17:39 yejr drwxr-x--- 2 root root 4096 Jul 17 17:38 test 在备份过程中,还可以持续的提交事务,例如增、删、改数据等,ibbackup 会以 最后一次提交的事务为准,取得最新备份。 压缩级别视各自的实际情况而定了。一般需要通过测试,得到一个中间折中值。
  • 7. 3. 还原 [yejr@imysql.cn]# ibbackup --uncompress 5 --apply-log backup-my.cnf InnoDB Hot Backup version 3.0.0; Copyright 2002-2005 Innobase Oy License A13002 is granted to imysql Inc. (imysql@gmail.com) (--apply-log works in any computer regardless of the hostname) Licensed for use in a computer whose hostname is 's01_tc_10.11.54.189_CNC' Expires 2008-9-1 (year-month-day) at 00:00 See http://www.innodb.com for further information Type ibbackup --license for detailed license terms, --help for help Contents of backup-my.cnf: innodb_data_home_dir got value /home/hotbackup innodb_data_file_path got value ibdata1:512M:autoextend datadir got value /home/hotbackup innodb_log_group_home_dir got value /home/hotbackup innodb_log_files_in_group got value 3 innodb_log_file_size got value 268435456 ibbackup: Uncompressing data file '/home/hotbackup/ibdata1.ibz' ibbackup: Progress in MB: 100 200 300 400 500 600 700 800 900 1000 ibbackup: Uncompressing data file '/home/hotbackup/test/sbtest.ibz' ibbackup: Progress in MB: 100 200 300 400
  • 8. ibbackup: Uncompressing data file '/home/hotbackup/test/geom.ibz' ibbackup: Uncompressing data file '/home/hotbackup/test/t.ibz' ibbackup: Uncompressing data file '/home/hotbackup/test/sbtest1.ibz' ibbackup: Progress in MB: 100 200 300 400 ........ ibbackup: Uncompressing data file '/home/hotbackup/yejr/yejr.ibz' ibbackup: Progress in MB: 100 200 300 400 500 600 700 800 900 1000 1100 1200 1300 1400 1500 1600 1700 1800 1900 2000 2100 2200 2300 ........ 080717 17:49:43 ibbackup: ibbackup_logfile's creation parameters: ibbackup: start lsn 8 872965632, end lsn 8 872966026, ibbackup: start checkpoint 8 872966026 InnoDB: Doing recovery: scanned up to log sequence number 8 872966026 InnoDB: Starting an apply batch of log records to the database... InnoDB: Progress in percents: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 Setting log file size to 0 268435456 InnoDB: Progress in MB: 100 200 Setting log file size to 0 268435456 InnoDB: Progress in MB: 100 200
  • 9. Setting log file size to 0 268435456 InnoDB: Progress in MB: 100 200 ibbackup: We were able to parse ibbackup_logfile up to ibbackup: lsn 8 872966026 ibbackup: The first data file is '/home/hotbackup/ibdata1' ibbackup: and the new created log files are at '/home/hotbackup/' 080717 17:50:10 ibbackup: Full backup prepared for recovery successfully! 然后把还原出来的数据文件 "冷" 拷贝到 mysql 的 datadir 下,启动 mysqld,即 可正常使用了。 从测试结果来看,ibbackup 备份和恢复是基于物理块级,把每个表空间文件做 一个干净的备份,并且支持备份同时有事务提交,以得到最新的数据备份。 因此 ibbackup 产生的备份文件如果不经压缩(不管是备份时压缩,还是事后压 缩),那么占用的空间会比较大。 mysqldump 可以用 single-transaction 来得到一致性备份,但是备份的数据是 发起操作的瞬间快照,之后提交的事务都不会在备份 中体现。mysqldump 可能会导致 log purge 停滞很长时间,使得 mysql 的响应 变得非常慢,这点 ibbackup 就可以避免。mysqldump 产生的备份文件相对 ibbackup 生成的小多了。 还原时,ibbackup 相比重新导入 sql 文件会快不少,在这方面,ibbackup 有非 常大的优势。
  • 10. Setting log file size to 0 268435456 InnoDB: Progress in MB: 100 200 ibbackup: We were able to parse ibbackup_logfile up to ibbackup: lsn 8 872966026 ibbackup: The first data file is '/home/hotbackup/ibdata1' ibbackup: and the new created log files are at '/home/hotbackup/' 080717 17:50:10 ibbackup: Full backup prepared for recovery successfully! 然后把还原出来的数据文件 "冷" 拷贝到 mysql 的 datadir 下,启动 mysqld,即 可正常使用了。 从测试结果来看,ibbackup 备份和恢复是基于物理块级,把每个表空间文件做 一个干净的备份,并且支持备份同时有事务提交,以得到最新的数据备份。 因此 ibbackup 产生的备份文件如果不经压缩(不管是备份时压缩,还是事后压 缩),那么占用的空间会比较大。 mysqldump 可以用 single-transaction 来得到一致性备份,但是备份的数据是 发起操作的瞬间快照,之后提交的事务都不会在备份 中体现。mysqldump 可能会导致 log purge 停滞很长时间,使得 mysql 的响应 变得非常慢,这点 ibbackup 就可以避免。mysqldump 产生的备份文件相对 ibbackup 生成的小多了。 还原时,ibbackup 相比重新导入 sql 文件会快不少,在这方面,ibbackup 有非 常大的优势。