on 05-12-2014 3:35 AM
Hi Experts, I have a synchronous proxy-jdbc with SQL_QUERY (Select) as action. When the query is executed directly in the DB, it's only taking 3-4 minutes to get the results. But when it's run thru PI, we always encounter synchronous timeout exceeded error (20 minutes). Since the query is getting results on time in the DB, I'm thinking the problem could be in PI side but I'm running out of options to check. Has anyone faced this problem before? Any inputs will be greatly appreciated. Thanks!
Some additional information: When we try to query for a few rows (1-5), it's working. We're getting the response in seconds. However, if we run the normal query which is supposed to get 300k records with 12 fields, we always get timeout. What I would like to understand is the reason why we're able to fetch all the results in the DB in less than 5 minutes but if we send it thru PI, 20 minutes (current timeout) is not enough. Can JDBC handle 300k+ records? Configuration is ICO. I've also added the parameters sqlquerytimeout in the JDBC channel and XI.Timeout in SOAP sender to no avail. What I haven't done yet (due to missing authorization) is to change the value of xiadapter.inbound.timeout.default. But would that help?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
Yes, it is better to use query by range. I have not used it too but based on this help Defining XML Documents for Message Protocol Native SQL Format - Configuring the JDBC Adapter in the ...
the output is in non-xml format (also used for testing purposes only).
Regards,
Mark
Hi Mark,
It looks like a network problem. Can you ping the database hostname in your PI system (create ping command in SM69)? Also take a look at this note: Note 1085539 - XI JDBC/FTP connection Test and XML Validation Application
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
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.