MySQL5.7.11 mysqlpump 多執行緒邏輯備份工具
2016.03.14
為了體驗5.7.11版本帶來的新體驗,俺也是迫不及待的想測試一下,新的特性和新功能。這幾天心裡一直想著的就是5.7.11 修復版的mysqlpump。在MySQL 5.7.11之前官方也明確說了mysqlpump 不支援一致性備份。
直到5.7.11中被修復了。其中最為有看點的就是:
1. 支援基於表的多執行緒匯出功能(--default-parallelism,預設為2,--parallel-schemas,控制並行匯出的庫)
2. 匯出的時候帶有進度條(--watch-progress,預設開啟)
3. 支援直接壓縮匯出匯入(引數--compress-output,而且支援ZLIB和LZ4)
資料庫:MySQL 5.7.11
系統:CentOS6.5 x64
測試資料量:6.1G
[root@zhangMySQL5711 mysql]#mysqlpump -uroot -pzhangmysql --single-transaction -B zhangdb >pump.sql
下一篇,詳細介紹mysqlpump 工具的使用。
為了體驗5.7.11版本帶來的新體驗,俺也是迫不及待的想測試一下,新的特性和新功能。這幾天心裡一直想著的就是5.7.11 修復版的mysqlpump。在MySQL 5.7.11之前官方也明確說了mysqlpump 不支援一致性備份。
直到5.7.11中被修復了。其中最為有看點的就是:
1. 支援基於表的多執行緒匯出功能(--default-parallelism,預設為2,--parallel-schemas,控制並行匯出的庫)
2. 匯出的時候帶有進度條(--watch-progress,預設開啟)
3. 支援直接壓縮匯出匯入(引數--compress-output,而且支援ZLIB和LZ4)
資料庫:MySQL 5.7.11
系統:CentOS6.5 x64
測試資料量:6.1G
[root@zhangMySQL5711 mysql]#mysqlpump -uroot -pzhangmysql --single-transaction -B zhangdb >pump.sql
-
Dump progress: 0/4 tables, 250/80745 rows
-
Dump progress: 16/165 tables, 770247/29474007 rows
-
Dump progress: 25/315 tables, 1209539/29521538 rows
-
Dump progress: 41/452 tables, 1543620/29526630 rows
-
Dump progress: 42/452 tables, 1817564/29526630 rows
-
Dump progress: 48/452 tables, 2391505/29526630 rows
-
Dump progress: 56/452 tables, 2803286/29526630 rows
-
Dump progress: 56/452 tables, 3238286/29526630 rows
-
Dump progress: 56/452 tables, 3604536/29526630 rows
-
Dump progress: 56/452 tables, 3877036/29526630 rows
-
Dump progress: 57/452 tables, 4176414/29526630 rows
-
Dump progress: 57/452 tables, 4462164/29526630 rows
-
Dump progress: 57/452 tables, 4599164/29526630 rows
-
Dump progress: 63/452 tables, 4874850/29526630 rows
-
Dump progress: 63/452 tables, 5162850/29526630 rows
-
Dump progress: 63/452 tables, 5454100/29526630 rows
-
Dump progress: 63/452 tables, 5779600/29526630 rows
-
Dump progress: 63/452 tables, 6112100/29526630 rows
-
Dump progress: 64/452 tables, 6733289/29526630 rows
-
Dump progress: 65/452 tables, 7091126/29526630 rows
-
Dump progress: 77/452 tables, 7461652/29526630 rows
-
Dump progress: 80/452 tables, 7807596/29526630 rows
-
Dump progress: 87/452 tables, 8185024/29526630 rows
-
Dump progress: 87/452 tables, 8430774/29526630 rows
-
Dump progress: 87/452 tables, 8689024/29526630 rows
-
Dump progress: 87/452 tables, 9076524/29526630 rows
-
Dump progress: 88/452 tables, 9193037/29526630 rows
-
Dump progress: 88/452 tables, 9414287/29526630 rows
-
Dump progress: 88/452 tables, 9539037/29526630 rows
-
Dump progress: 88/452 tables, 9730787/29526630 rows
-
Dump progress: 88/452 tables, 9924287/29526630 rows
-
Dump progress: 88/452 tables, 10018537/29526630 rows
-
Dump progress: 90/452 tables, 10391305/29526630 rows
-
Dump progress: 90/452 tables, 10655555/29526630 rows
-
Dump progress: 90/452 tables, 11472555/29526630 rows
-
Dump progress: 90/452 tables, 11803055/29526630 rows
-
Dump progress: 90/452 tables, 12692305/29526630 rows
-
Dump progress: 90/452 tables, 13109805/29526630 rows
-
Dump progress: 90/452 tables, 14025805/29526630 rows
-
Dump progress: 90/452 tables, 14462555/29526630 rows
-
Dump progress: 90/452 tables, 15162305/29526630 rows
-
Dump progress: 90/452 tables, 15678555/29526630 rows
-
Dump progress: 90/452 tables, 16001305/29526630 rows
-
Dump progress: 90/452 tables, 16508055/29526630 rows
-
Dump progress: 91/452 tables, 16948143/29526630 rows
-
Dump progress: 91/452 tables, 17045893/29526630 rows
-
Dump progress: 92/452 tables, 17193630/29526630 rows
-
Dump progress: 93/452 tables, 17236301/29526630 rows
-
Dump progress: 94/452 tables, 17243551/29526630 rows
-
Dump progress: 94/452 tables, 17377051/29526630 rows
-
Dump progress: 94/452 tables, 17424051/29526630 rows
-
Dump progress: 94/452 tables, 17518051/29526630 rows
-
Dump progress: 94/452 tables, 17611801/29526630 rows
-
Dump progress: 94/452 tables, 17657051/29526630 rows
-
Dump progress: 94/452 tables, 17776801/29526630 rows
-
Dump progress: 94/452 tables, 17828801/29526630 rows
-
Dump progress: 94/452 tables, 17972551/29526630 rows
-
Dump progress: 94/452 tables, 18036551/29526630 rows
-
Dump progress: 94/452 tables, 18116301/29526630 rows
-
Dump progress: 94/452 tables, 18155301/29526630 rows
-
Dump progress: 94/452 tables, 18209551/29526630 rows
-
Dump progress: 94/452 tables, 18328801/29526630 rows
-
Dump progress: 94/452 tables, 18378051/29526630 rows
-
Dump progress: 94/452 tables, 18480551/29526630 rows
-
Dump progress: 94/452 tables, 18509551/29526630 rows
-
Dump progress: 94/452 tables, 18624801/29526630 rows
-
Dump progress: 94/452 tables, 18719551/29526630 rows
-
Dump progress: 94/452 tables, 18789551/29526630 rows
-
Dump progress: 94/452 tables, 18888301/29526630 rows
-
Dump progress: 94/452 tables, 19020301/29526630 rows
-
Dump progress: 95/452 tables, 19070378/29526630 rows
-
Dump progress: 95/452 tables, 19211128/29526630 rows
-
Dump progress: 95/452 tables, 19269878/29526630 rows
-
Dump progress: 95/452 tables, 19373878/29526630 rows
-
Dump progress: 95/452 tables, 19437628/29526630 rows
-
Dump progress: 98/452 tables, 19515141/29526630 rows
-
Dump progress: 98/452 tables, 19588141/29526630 rows
-
Dump progress: 98/452 tables, 19627891/29526630 rows
-
Dump progress: 98/452 tables, 19701391/29526630 rows
-
Dump progress: 98/452 tables, 19723391/29526630 rows
-
Dump progress: 98/452 tables, 19788141/29526630 rows
-
Dump progress: 98/452 tables, 19819141/29526630 rows
-
Dump progress: 98/452 tables, 19888141/29526630 rows
-
Dump progress: 99/452 tables, 19928833/29526630 rows
-
Dump progress: 101/452 tables, 20142102/29526630 rows
-
Dump progress: 101/452 tables, 20237602/29526630 rows
-
Dump progress: 101/452 tables, 20407602/29526630 rows
-
Dump progress: 101/452 tables, 20537602/29526630 rows
-
Dump progress: 101/452 tables, 20656602/29526630 rows
-
Dump progress: 101/452 tables, 20811352/29526630 rows
-
Dump progress: 101/452 tables, 20874102/29526630 rows
-
Dump progress: 101/452 tables, 21031602/29526630 rows
-
Dump progress: 101/452 tables, 21131602/29526630 rows
-
Dump progress: 101/452 tables, 21278102/29526630 rows
-
Dump progress: 101/452 tables, 21352852/29526630 rows
-
Dump progress: 104/452 tables, 21527999/29526630 rows
-
Dump progress: 107/452 tables, 21630721/29526630 rows
-
Dump progress: 107/452 tables, 21649221/29526630 rows
-
Dump progress: 107/452 tables, 21723721/29526630 rows
-
Dump progress: 107/452 tables, 21758471/29526630 rows
-
Dump progress: 107/452 tables, 21836471/29526630 rows
-
Dump progress: 107/452 tables, 21916221/29526630 rows
-
Dump progress: 107/452 tables, 21944721/29526630 rows
-
Dump progress: 107/452 tables, 22014721/29526630 rows
-
Dump progress: 107/452 tables, 22048221/29526630 rows
-
Dump progress: 107/452 tables, 22111471/29526630 rows
-
Dump progress: 107/452 tables, 22179471/29526630 rows
-
Dump progress: 107/452 tables, 22217221/29526630 rows
-
Dump progress: 107/452 tables, 22288721/29526630 rows
-
Dump progress: 107/452 tables, 22319221/29526630 rows
-
Dump progress: 107/452 tables, 22380221/29526630 rows
-
Dump progress: 107/452 tables, 22411971/29526630 rows
-
Dump progress: 107/452 tables, 22488721/29526630 rows
-
Dump progress: 107/452 tables, 22551471/29526630 rows
-
Dump progress: 107/452 tables, 22570971/29526630 rows
-
Dump progress: 107/452 tables, 22643471/29526630 rows
-
Dump progress: 107/452 tables, 22706221/29526630 rows
-
Dump progress: 108/452 tables, 22744342/29526630 rows
-
Dump progress: 108/452 tables, 23085342/29526630 rows
-
Dump progress: 108/452 tables, 23403092/29526630 rows
-
Dump progress: 108/452 tables, 23601842/29526630 rows
-
Dump progress: 108/452 tables, 23852342/29526630 rows
-
Dump progress: 112/452 tables, 23894226/29526630 rows
-
Dump progress: 117/452 tables, 23968536/29526630 rows
-
Dump progress: 117/452 tables, 23998786/29526630 rows
-
Dump progress: 117/452 tables, 24059286/29526630 rows
-
Dump progress: 117/452 tables, 24125286/29526630 rows
-
Dump progress: 124/452 tables, 24249875/29526630 rows
-
Dump progress: 127/452 tables, 24460692/29526630 rows
-
Dump progress: 129/452 tables, 24534638/29526630 rows
-
Dump progress: 130/452 tables, 24820991/29526630 rows
-
Dump progress: 130/452 tables, 25212491/29526630 rows
-
Dump progress: 130/452 tables, 25386241/29526630 rows
-
Dump progress: 131/452 tables, 25774761/29526630 rows
-
Dump progress: 131/452 tables, 26173761/29526630 rows
-
Dump progress: 138/452 tables, 26861561/29526630 rows
-
Dump progress: 141/452 tables, 27331040/29526630 rows
-
Dump progress: 142/452 tables, 27605532/29526630 rows
-
Dump progress: 143/452 tables, 28430203/29526630 rows
-
Dump progress: 143/452 tables, 28635953/29526630 rows
-
Dump progress: 143/452 tables, 29262703/29526630 rows
-
Dump progress: 143/452 tables, 29533453/29526630 rows
-
Dump progress: 178/452 tables, 29859085/29526630 rows
-
Dump progress: 351/452 tables, 29910716/29526630 rows
-
Dump completed in 187454 milliseconds
- [root@zhangMySQL5711 mysql]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30936525/viewspace-2090697/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MySQL 官方出品,比 mydumper 更快的多執行緒邏輯備份工具-MySQL Shell Dump & LoadMySql執行緒
- mysql多執行緒備份與還原工具mydumperMySql執行緒
- [02] 多執行緒邏輯程式設計執行緒程式設計
- MongoDB 邏輯備份工具mongodumpMongoDB
- MySQL 5.7 mysqlpump 備份工具說明MySql
- 邏輯備份全庫或者邏輯備份多個使用者的資料
- 邏輯備份--mysqldumpMySql
- 執行緒池 execute() 的工作邏輯執行緒
- 11. shell多執行緒備份資料庫執行緒資料庫
- python使用多執行緒備份資料庫Python執行緒資料庫
- mysql 邏輯備份 (mysqldump)MySql
- mysql的邏輯備份MySql
- 使用Windows指令碼進行邏輯備份Windows指令碼
- Shell多執行緒備份資料庫的指令碼執行緒資料庫指令碼
- Mysql備份與恢復(2)---邏輯備份MySql
- 揭祕ORACLE備份之--邏輯備份(EXP)Oracle
- 揭祕ORACLE備份之--邏輯備份(EXPDP)Oracle
- Oracle 邏輯備份 expdp/impdpOracle
- expdp 邏輯備份指令碼指令碼
- MySql邏輯備份恢復MySql
- Oracle邏輯備份指令碼Oracle指令碼
- openGauss-邏輯備份
- MySQL5.7新特性之備份工具mysqlpump的使用MySql
- mysqlpump 資料庫備份程式MySql資料庫
- Windows邏輯備份-EXPDP(保留5天內邏輯備份)批處理指令碼Windows指令碼
- 配置監聽器,建立執行緒定時執行業務邏輯執行緒行業
- Oracle裡邏輯備份、物理備份、Rman備份的區別Oracle
- ORACLE備份和恢復 - 邏輯備份 exp/impOracle
- 資料庫邏輯備份(轉)資料庫
- ftp多執行緒下載工具FTP執行緒
- 多執行緒和多執行緒同步執行緒
- Oracle資料庫的邏輯備份工具-expdp資料泵Oracle資料庫
- 同時具備多執行緒和多程式安全的寫日誌工具執行緒
- MySQL 5.7 新備份工具mysqlpump 使用說明 - 運維小結MySql運維
- 多執行緒【執行緒池】執行緒
- 多執行緒--執行緒管理執行緒
- Java多執行緒——執行緒Java執行緒
- 執行緒與多執行緒執行緒