[MDEV-16378] No human-readable, fast, pipe-able dump & restore mechanism available Created: 2018-06-04 Updated: 2018-06-04 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Backup |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor |
| Reporter: | Sam Kuper | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | upstream | ||
| Description |
ProblemEach of the available mysqldump export formats possesses a significant problem:
The fact that there is no good solution to this problem is, at least in my view, a reason to avoid MySQL or MariaDB wherever possible, until the problem is fixed. I view it as a major issue, because there is no workaround available: with MySQL/MariaDB, you have no choice but to compromise one of those important factors, and if that is not viable, then an alternative product must be used. However, others may disagree, so I have reported it as a "minor" issue. Please modify that to "major" if you agree that this warrants it. Proposed solutionAs described here by Kendall Bennett, `mysqldump --extended-insert` should be fixed to format its output the same way as MySQL Administrator used to. I.e. when fixed, mysqldump --extended-insert would yield this:
instead of this:
According to Tim Riker and Lon Binder the fix is as simple as this:
If Riker and Binder are correct that the fix is that trivial, then I hope the MariaDB devs/maintainers will be able to easily and quickly patch and backport it into the versions of mysqldump that they ship. Thank you for your work on MariaDB! |