Skip to Content

Update_insert in JDBC Recevier Channel

Nov 02, 2016 at 09:50 AM


avatar image
Former Member

Hi Team,

i have a scenario proxy to jdbc. I want insert/update JDBC based on the account number existance. so when i am trying for 500 records itself it is taking 2 min time which is very high what i believe. i am usuing maximum cuncurrency as 3 and tables at sql server also indexed.

can any one please post me the strcture how it should be for improving performance.

as per sap below is strcture format for UPDATE_INSERT. my question is where should be 0..unbound either StatementName1 or access?



<dbTableName action=”UPDATE” | “UPDATE_INSERT”>















10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

avatar image
Former Member Nov 02, 2016 at 09:59 AM

Hi Allamudi,

The sap help says access should be one for update_insert. Check below link.

Defining an UPDATE_INSERT Statement

Enter the new column values in the <access> element.
Enter exactly one <access>element.



Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks Praveen for reply.

But when i run 500 records so 500 statements will be executed in parallel right so think of in Production i may expect 20000 records which means 20000 statements/times the query run at SQL server which will take more time. can you please let me know do you know any options how to increase the performance.



Evgeniy Kolmakov Nov 03, 2016 at 12:41 AM
Show 3 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Evgeniy,

thanks for your reply but i am not using stored procedure here. So looking for options in xml sql format itself.




Hi Allamudi!

The point is that you can use one stored procedure call for performing update operation in DB instead of using multiple statements. You just need to create very simple SP in target DB yourself or ask your DB team for assistance.

I saw comments where people said that using this approach reduced insert operation time from 20 min to less than a minute on the huge amount of records.

Regards, Evgeniy.

Former Member
Evgeniy Kolmakov

thanks Evgeniy,

i will check with my Legacy team on this approach and try it.