on 11-27-2012 11:39 AM
Hello,
I have configured a JDBC to JDBC sceanrio in PI 70. my requirement is i have to capture the time taken to process the messages in PI and insert the same to target DB tables.
suppose if my select Query fetchs the 20000 records and inserting the same to traget DB tables...
--> i have to capture the start time of message process:
time stamp from the sender JDBC channel which shows as processing started. or start time from SXMB_MONI
-->Capture the message process End Time:
timestamp from receiver JDBC channel which shows message process completed successfully
So in my mapping i ahve to capture the start time and end time and insert the same to target DB table. pelase let meknow how can we achieve this. if it is with UDF, pelase provide me the standard SAP functions needs to call in UDF to fetch timestamp from SXMB_MONI / Channel / payload.
i have searched the scn existing posts...but did not get solution.
Thanks in advance.
Regards,VASU
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In addition to above suggestions, you can also do the performance monitoring in the RWB. Here you can see the time the message reached PI and the time message left PI. Basically this monitoring provides PI side total message processing time for the individual interface. This monitoring would help to great extent within PI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vasu,
Gagan solution is really good, you can try that but you need one extra field in each table to hold date time stamp value.
If you to calculate start and end time then go to moni and download message statics in to spreadsheet where you can see start and end time but this will not give 100% correct details because it shows only IE status.
other solution would be you need check sender and receiver adapter log, rwb -->message monitoring--->adapter engine(data base over view), it gives correct details start time and end time.
why you need PI interface for JDBC--JDBC interface?? are you integrating two different data base systems?
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raja,
Yes, we are integrating 2 different DB's. Also i need to update the processing time in DB table from PI.
even if i add one more field in DB table as 'inserted date', PI will insert value for that field as insertion start time...but if insert took 30min.(huge records >10L), how to capture end time...
Is there any way to write adapter module (standrad/custom) to capture end time stamp that shows in receiver channel. or will BPM can help here? Please clarify.
Regards,VASU
Hi,
i have one suggestion if you want end to end time
you can add insert command in sender and Receiver CC to add a current time in database table there you can check both time...................
Regards
Gagan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.