Sync Data from ES to MySQL

Do you think is better take small pieces and treat each one?

That's what scroll API is built for.
You scroll over x documents let say 200 by 200 docs.