on 06-04-2012 11:07 AM
Hi Experts,
I am working on a scenario Proxy to Jdbc where BW was my source system it will process 2400000 records on a average (this will run on mothnly Basis).
when i executed the proxy program 2400000 records are coming in a single payload. i just want to process 1000 records at a time to JDBC is there chance to control the output from PI end.
if i change the message interface occurrence & Interface mapping occerrence to 1.Unbounded what will happen?
Thanks in Advance
Pavan
You can basically chunk data on source system it self. Change ABAP report to send 1000 records in each message till all records are complete/read
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavan,
Sorry for the delay in response. You can split the message at the root node by putting a condition and a counter. For example, if your target root node is T_MT and its occurence is 0..unbounded then you put a condition that when the counter value of Source node reaches 1000 then create new T_MT node by inserting context after every 1000 records.
Solve this splitting on the sender side, because PI is no Data Warehouse system. Such huge messages could make PI instable.
CSY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe the best approach for this is to change the proxy to send only N(Optinal number should be decided based on record size) records at a time. Modifying the proxy will be pretty easy compared to other solutions. Since you already have the proxy buil, you need to modify the code to build a loop around the proxy method for each N records.
I have used this approach when you have mltiple records to be sent, but the target system is capable of accepting only one record at a time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.