Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Exporting Table Data as CSV

415477Feb 23 2004 — edited Feb 23 2004
I am having to export a schema's tables in CSV format. The largest has 10,000,000 rows.

I've written an SQL*Plus script that automatically creates a SQL script for each table using the USER_TABLES view. So far, so good...

Unfortunately, running the 10,000,000 row export script, for example, takes 20 hours (down from 40 hours thanks to several SET commands to aid efficiency). The output file is 900Mb.

Is there a better (as in quicker) way? I threw it at TOAD which, er, croaked!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 22 2004
Added on Feb 23 2004
4 comments
365 views