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

Home -> Community -> Usenet -> c.d.o.server -> Re: Flat File Processing

Re: Flat File Processing

From: <MarkP28665_at_yahoo.com>
Date: 10 Oct 2002 20:06:28 GMT
Message-ID: <ao4mk4$28p$1@news.netmar.com>

In article <ao3k7a$h3r$1_at_ctb-nnrp2.saix.net>, Billy Verreynne <vslabs_at_onwe.co.za> writes:
>Oracle 8.1.x and later on HP-UX/Linux/Solaris..
>
>How effective is UTL file ito of performance? If having the choice between

>doing flat file processing either via Pro*C, or via PL/SQL using UTL file,

>what would you choose and why? (pretend that SQL*Loader is not an option
>and that db access is a requirement as part of the processing).
>
>Basically what I would like to know if anyone has done some serious
>intensive file processing via PL/SQL and if one should consider this as an

>option instead of using Pro*C.
>
>--
>Billy

I have never ran any performance tests, but I was told by Oracle support back when utl_file was new that if your files were large that Pro*C IO was faster since OS IO via the package required additional overhead. But I have not noticed any performance issue with small files.

However, as utl_file is limited to reading and writing on the db server using Pro*C allows you to run the application from an application server rather than on the db server, which is an important consideration.

HTH -- Mark D Powell --

Received on Thu Oct 10 2002 - 15:06:28 CDT

Original text of this message

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