I want to migrate a table from Amazon RedShift to MySQL, but using \"unload\" will generate multiple data files which are hard to imported into MySQL directly.
Is there
In order to send to a single file use parallel off
unload ('select * from venue')
to 's3://mybucket/tickit/unload/venue_' credentials
'aws_access_key_id=;aws_secret_access_key='
parallel off;
Also I recommend using Gzip, to make that file even smaller for download.
unload ('select * from venue')
to 's3://mybucket/tickit/unload/venue_' credentials
'aws_access_key_id=;aws_secret_access_key='
parallel off
gzip;