Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Faster option than utl_file

RE: Faster option than utl_file

From: Guang Mei <GMei_at_ph.com>
Date: Wed, 22 Feb 2006 11:09:42 -0500
Message-ID: <99965A782DFBA44EB9F773211FFC9DE602A5F2D2@phexchange2.ph.com>


If you can use sqlplus to do the job, I found that spool is faster than utl_file. Or you can use perl's print , it is faster than utl_file. But if you have to use utl_file, instead of writing out each short line, you can concate the string to make it long enough, then write it out once (the limit is something like 32K).

HTH. Guang

-----Original Message-----

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of John Dunn Sent: Wednesday, February 22, 2006 11:04 AM To: oracle-l_at_freelists.org
Subject: Faster option than utl_file

I find utl_file too slow for reading and writing large text files.

In fact it seems faster to read/write files from a Windows Visual Basic client application over NFS then to read/write using utl_file on the server.

 Is there a faster alternative? Or any way to tune utl_file?

Platform is Oracle 9i on AIX 5.

John

--

http://www.freelists.org/webpage/oracle-l

--

http://www.freelists.org/webpage/oracle-l Received on Wed Feb 22 2006 - 10:09:42 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US