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: PL/SQL performance question

Re: PL/SQL performance question

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Thu, 13 May 2004 21:50:01 +0800
Message-ID: <40A37D08.FBC@yahoo.com>


Marcel Stör wrote:
>
> Hi all,
>
> Just out of curiosity, I'd like to get your opinion on the following
> scenario:
> Lots of data (i.e. 2 million records) are periodically loaded into the db
> through SQL Loader. Unfortunately, each record needs to be tweaked before
> will eventually be saved. Would it be faster to have an on-insert trigger do
> this at record level or to have a procedure that will run once all records
> are stored in the table?
>
> Regards,
> Marcel

Options

  1. reference the data as an external table and use insert-append
  2. direct sqlldr in v9 now supports a greater variety of things within the control file

hth
connor

-- 
Connor McDonald
Co-author: "Mastering Oracle PL/SQL - Practical Solutions"
ISBN: 1590592174

web: http://www.oracledba.co.uk
web: http://www.oaktable.net
email: connor_mcdonald_at_yahoo.com

Coming Soon! "Oracle Insight - Tales of the OakTable"

"GIVE a man a fish and he will eat for a day. But TEACH him how to fish,
and...he will sit in a boat and drink beer all day"

------------------------------------------------------------
Received on Thu May 13 2004 - 08:50:01 CDT

Original text of this message

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