ORACLE 9i :- TUNING data extraction from EXTERNAL TABLES [message #64997] |
Fri, 26 March 2004 02:19 |
Sunil Bassi
Messages: 28 Registered: June 2003
|
Junior Member |
|
|
Hi,
We are having a datafile of size 700MB. WE are uploading it into our system in the following steps using EXTERNAL TABLEs( a new feature in Oralce 9i) :-
1. We are loading the data into external table .
2. we are inserting the data into our tmp table using
insert /*+APPEND*/ into temp select * from external table.
This 2nd step iteself takes 1 hr to finish. How can we tune this. what initalization parameters are to be taken care of..
pls suggest
Thanks
Sunil
|
|
|
|
|
Re: ORACLE 9i :- TUNING data extraction from EXTERNAL TABLES [message #65005 is a reply to message #64997] |
Sun, 28 March 2004 09:47 |
William Robertson
Messages: 1643 Registered: August 2003 Location: London, UK
|
Senior Member |
|
|
Is the table you load into defined as NOLOGGING (or else is the database in NOARCHIVELOG mode)? Otherwise APPEND has no effect on redo logging. (AUTOTRACE in SQL*Plus is an easy way to see how much redo you are generating.)
Also, is this table in a locally managed tablespace (LMT)? These perform a lot faster than the old dictionary managed kind.
TKPROF might shed some light on what is taking the time.
|
|
|
|
|