Bug #78717 Add parallel restore to mysqlpump

Submitted: 6 Oct 2015 13:11 Modified: 19 Nov 2015 15:53
Reporter: Daniël van Eeden Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: mysqlpump Command-line Client Severity:S4 (Feature request)
Version:5.7 OS:Any
Assigned to: CPU Architecture:Any
Tags: mysqlpump, parallel, restore

[6 Oct 2015 13:11] Daniël van Eeden
Description:
The mysqlpump utility now uses multiple threads to dump data to a single file, which then can be read by mysql to restore the data.

e.g.
$ mysqlpump > dump.sql
$ mysql < dump.sql

This is nice, because it is very similar to mysqldump. However it doesn't benefit from multiple cores etc on import.

How to repeat:
Try to restore data in parallel

Suggested fix:
mysqlpump --backup-dir=dump
This dumps each object to a separate file

mysqlrestore --backup-dir=dump restore
This basically sets up multiple sessions to mysqld and runs the sql files
[19 Nov 2015 15:53] Georgi Kodinov
thank you for the reasonable feature request.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.051 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.