Information Link based on Microsoft SQL Server loads very slowly in TIBCO Spotfire

Information Link based on Microsoft SQL Server loads very slowly in TIBCO Spotfire

book

Article ID: KB0076646

calendar_today

Updated On:

Products Versions
Spotfire Server All Versions

Description

Sometimes an information link query execution in TIBCO Spotfire may take considerably longer (as seen in execution time in the TIBCO Spotfire Server's sql.log) than when compared to any other JDBC tool with the exact same driver for Microsoft SQL server.

One of the reasons can be the "selectMethod" connection property setting in the data source template. The Microsoft SQL Server data source template by default will have selectMethod as "cursor" whereas most JDBC tools would have selectMethod as "direct".

 

Issue/Introduction

This article explains one potential reason for a longer than expected execution time for an Information Link based on Microsoft SQL Server.

Resolution

Try changing selectMethod=direct as follows in the Microsoft SQL Server data source template in the TIBCO Spotfire Server configuration (see Manual Configuration for more details) and save it.
<connection-property>
       <key>selectMethod</key>
       <value>direct</value>
</connection-property>
After making the change, restart the TIBCO Spotfire Server service and re-save any data sources using that data source template in the Information Designer for the template changes to take effect.

If there are still differences in the execution time when compared to 3rd party JDBC tools using the same driver, try changing the fetch-size to 0 in Data source of Information Designer.

If there are still issues, please contact TIBCO Spotfire at https://support.tibco.com/ for assistance.

Additional Information

Doc: Manual configuration Doc: Data Source in Information Designer Doc: Data Source Template in configuration Tool