Get limited number of records from mysqldump

From DevOps Notebook
$ mysqldump --opt --where="1 limit 1000000" database_name > dump.sql