Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Performance of Mass data insert

Former Member
0 Likes
405

hi experts:

i am using following statement to insert data into db.

insert A from table ITAB

the entries of A are around 100-200 , 0000.

and the records of ITAB is around 10-20, 0000.

it will take me a lot of time.[ 6 minutes around].

do you know how to optimize it

Best Regards,

Kevin

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
369

Hi,

INSERT <db_table> FROM TABLE <itab> .

This statement itself the best way to insert the mass data.

But make sure u r not using this statement inside the loop and check the structure of an internal table is same as Db_table.

Regards,

Prem

2 REPLIES 2
Read only

Former Member
0 Likes
370

Hi,

INSERT <db_table> FROM TABLE <itab> .

This statement itself the best way to insert the mass data.

But make sure u r not using this statement inside the loop and check the structure of an internal table is same as Db_table.

Regards,

Prem

Read only

Former Member
0 Likes
369

okey