If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Insert Huge data from one table to another table in Oracle

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-13-12, 05:09
suvo suvo is offline
Registered User
 
Join Date: Feb 2012
Posts: 2
Insert Huge data from one table to another table in Oracle

Hi

I want to insert huge data like 10lacs or more from one table to another table in oracle.

which is the secure and faster process to insert this amount of data ?
and what are the things we need to consider before or at the time of inserting?

can any one please suggest with proper example?
Reply With Quote
  #2 (permalink)  
Old 02-13-12, 07:50
Littlefoot Littlefoot is offline
Lost Boy
 
Join Date: Jan 2004
Location: Croatia, Europe
Posts: 3,629
INSERT statement is the most obvious option.

Where are these tables? In the same schema? In the same database? In different databases? Can you easily reach it (over the network) or do you need to transfer data differently (for example, export, burn to DVD, send by mail)?

Does the second table already exist and contains some data, or is it empty? Can you afford disabling indexes (and, possibly, constraints) to make the insert faster?

Anyway: provide some more information, as the most accurate answer might depend on actual situation.

P.S. 1 million rows is not that much
Reply With Quote
  #3 (permalink)  
Old 02-14-12, 00:09
suvo suvo is offline
Registered User
 
Join Date: Feb 2012
Posts: 2
Insert Huge data from one table to another table in Oracle

Yes both tables are in same database and same schema .

second table(means where we are going to insert the data) where already having huge number of data. Yes we can able to disabled or drop constraints and indexes there.

as both table present in same schema so dont needd to user any external devices.

please suggest what will be the faster and optimul option to insert ?
Reply With Quote
  #4 (permalink)  
Old 02-14-12, 00:14
anacedent anacedent is offline
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 6,416
>please suggest what will be the faster and optimul option to insert ?
CREATE VIEW instead
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On