--order-by-primary
This page is part of MariaDB's Documentation.
The parent of this page is: mariadb-dump
& mysqldump
Topics on this page:
Overview
This is a command-line option for the mariadb-dump
& mysqldump
commands.
Sorts each table's rows by primary key, or first unique key, if such a key exists. Useful when dumping a MyISAM table to be loaded into an InnoDB table, but will make the dump itself take considerably longer.