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

Different ways to improve Insert Query

ArtiBhat
Product and Topic Expert
Product and Topic Expert
0 Likes
637

Hi All,

I want to improve the performance of SQL query

"INSERT (REF_TABLE_NAME) FROM TABLE INSERT_TAB." as it is taking v.long time to execute.

Would request you to suggest some best ways to do it ASAP.

Best Regards,

Arti.

Hi All,

I want to improve the performance of SQL query

"INSERT (REF_TABLE_NAME) FROM TABLE INSERT_TAB." as it is taking v.long time to execute.

Would request you to suggest some best ways to do it ASAP.

Best Regards,

Arti.

4 REPLIES 4
Read only

Former Member
0 Likes
614

Hi Arti,

I am really unable to make out, Can you please mail the code to me

Read only

Former Member
0 Likes
614

Hi,

Enque and deque the table and inb/n do this.

use roll back work and commit work

and if the datat is very high then its better to do by fixed number.

Regards,

sasi

Read only

ArtiBhat
Product and Topic Expert
Product and Topic Expert
0 Likes
614

Hi,

Thanks for your help.

Can you please explain in detail how it is going to improve the performance.

Regards,

Arti.

Read only

0 Likes
614

I think there's not much you can do to improve performance. The only possibility (and it's a slim one) that I can think of, would be to insert into a specific table rather than one defined at run time.

Rob