Re: Loading LOTS of data into Oracle

From: Joe Ahmann <ahmann_at_toucan.fs.com>
Date: Thu, 21 Apr 1994 17:33:07 GMT
Message-ID: <CoME38.G81_at_cardinal.fs.com>


--

: >>
: >> > We are loading millions of records into an Oracle
: >> > database running on HP-UX on an HP 9000/890.
: >> > Using ProC Oracle can only handle about 24 records
: >> > addition per second.
: >> >
: >> > What kind of optimization would you recommend?
If you can't use the direct loader (as others have suggested) and require PRO*C you should make sure that you are doing "Array Inserts". That is, you stuff all of your data into arrays and use the arrays as bind variables. See the precompiler guides for details. Try array sizes > 1000 if you can tolerate the memory usage. Your 890 should be able to kick through data much faster than 24/sec. -------------------------------------------------------------- Joe Ahmann ahmann_at_fs.com Fourth Shift Corp. (612) 851-1427 JIT Enterprise Systems
Received on Thu Apr 21 1994 - 19:33:07 CEST

Original text of this message