DG4ODBC taking a long time to fetch from HANA database over dblink with a where clause [message #660992] |
Fri, 03 March 2017 03:28 |
|
arnabarnab
Messages: 2 Registered: March 2017
|
Junior Member |
|
|
Dear All,
We have a requirement of fetching some data from HANA database from Oracle via database link.
While we have successfully configured the dg4odbc driver and Oracle Gateway and we are able to fetch the data from HANA successfully over DBLink, we are facing a strange problem when specifying a where clause in the query.
The select * (without the where clause) works just fine which rules out any issue with the network, however whenever we specify a where clause(with any column)in the query, it takes a very very long time to return the result over DBLINK.
Did anyone face any problem like this before? Any pointer towards possible circumvention of the issue would be highly appreciated. Attaching a pertinent trace file from the hs/trace folder of the oracle gateway(truncated a bit to meet the size limit)
select * from "_SYS_BIC"."cdw.Finance.POC/GCBilling"@DG4ODBC GCBilling --- comes in 8 seconds(HANA takes 7.8 seconds)
select * from "_SYS_BIC"."cdw.Finance.POC/GCBilling"@DG4ODBC GCBilling where sales_order = '0055077917' --- comes in 80 seconds(HANA takes 2 seconds)
and
select * from "_SYS_BIC"."cdw.Finance.POC/GCActualCost"@DG4ODBC comes in 60 seconds(HANA takes 59 seconds)
select * from "_SYS_BIC"."cdw.Finance.POC/GCActualCost"@DG4ODBC where sales_order = '0055793352' -- comes in 9 minutes(HANA takes 3 seconds)
Thanks
Arnab
|
|
|
|
|
|