Products | Versions |
---|---|
Spotfire Analyst | All Versions |
In Spotfire version 6.0, the handling of data table loading was modified. The ReloadDataAsynchronously preference was introduced in Spotfire 6.0, and its default value was set to TRUE. Prior to Spotfire 6.0, the behavior was as if this new preference had been set to FALSE.
In Spotfire 6.5.2 HF-012, this preference was exposed as a configurable preference in the Administration Manager here:
Generally speaking, using ReloadDataAsynchronously set to TRUE solves data loading problems caused by data table dependencies and reload order, and will be the optimal solution. The only risk is that this configuration can be less stable, especially when data sources stop responding or return error messages. For example, when an information link does not respond to a query, or a file on a shared network drive temporarily becomes unavailable.
The ReloadDataAsynchronously preference controls the order in which data sources are loaded:
This means that setting the preference to FALSE has the potential for making the analysis harder to use if it uses dataTableDataSources where the parent data table is On Demand, or if it in its turn is dependent on a data table that uses On Demand. This is the default behavior in versions 6.0 and earlier.
In Spotfire 7.0, an improvement in the general handling of dataTableDatasources was introduced so that the child data table will automatically be refreshed when the parent data table is updated, as long as the child data table is set to "Automatic update". This is a new capability in 7.0, and helps avoid the issue seen when ReloadDataAsynchronously is set to FALSE and child data tables would earlier have required a manual second refresh.
To further explain the difference between setting the ReloadDataAsynchronously preference to TRUE and setting it to FALSE, consider the following example. A Spotfire analysis has three tables: A, B, and C. Each table is using "data on demand”, and table B has table C as a parent for getting parts of its data.
ReloadDataAsynchronously set to TRUE (default):
ReloadDataAsynchronously set to FALSE:
The ReloadDataAsynchronously preference does not directly affect performance in any way. Most of the data reloading speed is driven by how the data tables are set up and how/if they depend upon each other for getting data to construct the final tables.