on 11-28-2012 6:24 AM
Dear All,
We have a JDBC Scenario where we are Update/insert the data to the table, it takes approximately 10mins to update/insert the data to the staging table.
As per my understanding PI will lock the table while update/Insert the data in to the table.
what will happen suppose if connection is dropped while inserting/updating the data?
* will the table remain locked or else the lock will be removed when connection is dropped?
* no data will be inserted/Updated?
your detailed explanation will be very helpful to understand better
Thanks & Regards,
Manikandan
Hello Manikandan,
10 minutes for an insert/update statement seems a lot to me.
Have you checked already options to split the records and build smaller packages?
However I would expect that the DBMS only locks the records that are affected by the current transaction.
If an irregular event occurs, and you loose connection between PI an the DB, you should get a timeout for the user session and a rollback for the current transaction should be done by the DBMS.
Furthermore there are some parameters to control the persistence, error and lock handling in the receiver channel configuration.
Please check out the help page for the JDBC reciever channel configuration:
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/48/465581929734d9e10000000a42189d/content.htm
Regards,
Jürgen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.