MySQL Forums
Forum List  »  Performance

select into outfile by chunk
Posted by: Wueh Chia Lee
Date: July 16, 2020 02:10AM

There are 10 Millions of customers data in customers table.
If want to export all 10 Millions of records into the same file by chunk.

How could we achieve that ?
Thanks.


select *
from customers
into outfile '/data/customers.csv'
fields terminated by '|' lines terminated by '\n';

Options: ReplyQuote


Subject
Views
Written By
Posted
select into outfile by chunk
636
July 16, 2020 02:10AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.