まずは25個
http://yakst.com/ja/posts/135526)条件を付けて抜く
# sexが1のデータを抜く
mysqldump -u root -p -h localhost databasename table_name_to_dump -w 'sex = 1' > test_table.dmp
# 最新の10万件を抜く
mysqldump -u root -p -h localhost databasename table_name_to_dump -w 'id > 0 order by id desc limit 100000' > test_table.dmp
# クリスマスで先頭から10万件抜く
mysqldump -u root -p -h localhost databasename table_name_to_dump -w 'substring(created_at, 1, 10) >= "2014-12-24" and substring(created_at, 1, 10) <= "2014-12-25" order by id limit 100000' > test_table.dmp
id > 0はwhere句が無いとsqlエラーになるから