dbTalk Databases Forums  

direct path insert

comp.databases.oracle comp.databases.oracle


Discuss direct path insert in the comp.databases.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Vissu
 
Posts: n/a

Default direct path insert - 08-12-2004 , 10:03 PM






Hi,

I am trying to move bulk of data from one table to another (all in the
db). Can I use direct insert method for doing this ?. I want to
reduce my resource consumption (undo tablespaces, etc). Any advice is
appreciated
Thanks

Vissu

Reply With Quote
  #2  
Old   
Pratap
 
Posts: n/a

Default Re: direct path insert - 08-18-2004 , 11:07 PM






create table t2 NOLOGGING as select * from t1;

Pratap

Reply With Quote
  #3  
Old   
Wario
 
Posts: n/a

Default Re: direct path insert - 08-26-2004 , 08:43 AM



pratap_fin (AT) rediffmail (DOT) com (Pratap) wrote in message news:<830861d2.0408182007.69b7629d (AT) posting (DOT) google.com>...
Quote:
create table t2 NOLOGGING as select * from t1;

Pratap
Try

insert into /*+ append */ table2
select * from table1;

commit;


If a table or an index is specified with nologging, this hint applied
with an insert statement produces a direct path insert which reduces
generation of redo.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.