Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Loader
savula_at_my-deja.com wrote:
>
> I want to load sets of 20,000 records each from 4000 different flat
> files into a table. I know conventional SQl load takes lot of time,
> Also, I am told it is not safe to use Direct SQL Load to production
> tables.
>
> So, could you please tell me what is the best way to get the data into
> the tables.
>
> The table has a composite primary key which should be enforced when I
> load.
>
> One way i tried was to load into a temporary table and then use:
>
> Insert into production_table select * from temp_table.
>
> Is this the best method or is there a faster approach.
>
> I want it to be as fast as possible.
>
> Pl reply to sudha_kar_at_hotmail.com
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Who told you direct load was unsafe...? Thats nonsense.
One was of speeding things up may be to:
alternatively drop the indexes and rebuild afterwards...
--
"Some days you're the pigeon, and some days you're the statue." Received on Mon Oct 18 1999 - 05:05:00 CDT