Use Insert-Select query
The Use Insert-Select query option can improve the performance significantly, because it causes the data to remain on the SQL server. By default, this option is disabled if the object - a record, a metric, or a translation table - is designed based on the tables from a data source. Conversely, the option is enabled if the object is designed based on other Insight objects.
If the Use Insert-Select query option is disabled, the data is loaded the following way.
-
The Select query is sent to the data source and executed.
-
The data is read by the system and incrementally added to memory.
-
The added data is inserted to the Data DB database through Fast Insert.
If the option is enabled, the data can be loaded with a single Insert-Select query. In this case, if the tables are used to design the object, an access to a source database is required.
To enable the Use Insert-Select query option, complete the following procedure.
- On the Documents Tree select Records, or Metrics, or Translation tables, and then select the required object to open them.
- On the SQL tab, select the Use Insert-Select query check box.
- Click Save.