EMS logo

Produits

SQL Manager for IB/FB

Notre statut de partenariat

Microsoft Certified Partner
Oracle Certified Partner
Embarcadero Technology Partner

EMS SQL Manager for InterBase/Firebird

Documentation en ligne

Data options


The Data Options section of the Database Registration Info dialog allows you to define options for data view. These options will be applied only to this database. Default settings for newly registered databases can be defined on the Grid | Data Options page of the Environment Options dialog.

 

Database Registration Info - Grid - Data options

 

 

Advanced

 

CheckBox Use separate connections for each data view within a database

Select this option to use a separate connection for each data view within a database. Disabling this option is recommended if maximum allowed number of connections is too low.

 

CheckBox Asynchronous query execution

Check this option to allow executing queries in background mode (asynchronously). Note that this option is only available when the Use separate connections for each data view within a database option is enabled.

 

CheckBox Perform data sorting on client in data view

If enabled, the data are sorted by SQL Manager for InterBase/Firebird (on the client side). If this option is disabled, the data are sorted on InterBase/Firebird server with the help of the ORDER BY clause used in SQL query.

 

CheckBox Perform data filtration on client in data view

If enabled, the data are filtered by SQL Manager for InterBase/Firebird (on the client side).

If disabled, SQL filter is used in data view. In this case filtering is performed on the InterBase/Firebird server with the help of the WHERE clause used in SQL query.

 

With the Perform data sorting on client in data view option enabled, sorting is performed by means of the grid. Otherwise a click on the column header for sorting causes reloading all table data with the selected field in the ORDER BY expression of the SELECT statement.

If the table contains a huge amount of records and the Select only N records mode (see the Default limit options in table and view editors group) is used, this mode is more preferable (e.g. all the records having values starting with "A" will be displayed, and not those which were in originally opened N records).

 

All above-mentioned is related to the Perform data filtration on client in data view option as well. If the filter is applied to a table containing a great number of records, it is strongly recommended to enable this option - in this case the filter will be applied to all table/view records, not only to those which are displayed at the present moment.

 

CheckBox Sort by primary key

When enabled, the option allows sorting data by the primary key on opening the data grid.

 

String fields width (chars)

Using this option you can limit string fields width that may improve performance on large datasets.

 

 

Default Grid Mode

 

RadioButton Load visible rows

The grid loads only a fixed number of dataset records into memory. This option minimizes dataset loading time. The automatic sorting, filtering, summary calculations are not supported in this mode.

 

RadioButton Load all rows

The grid loads all records from a dataset. This option increases the grid performance by reloading only changed dataset records when updating.  In this mode all features (automatic sorting, filtering and summary calculations) are available.

 

Default Grid Mode defines grid mode which will be used by default.

With the Load all rows option enabled, when loading data, all the records are loaded into grid buffers. In this mode opening the tables with many records may take a very long time. But  in this case you have some advantages: e.g. in the filter drop-down list the column headers are displayed with the values for quick filter; it is possible to open several sublevels at the same time when viewing data in master-detail view, etc.

Because opening and other operations with an object consisting of many records takes sufficient time the Load visible rows mode should be used instead. It can be set individually for each table and is saved between sessions (can be set through the context menu of the grid).

 

Load visible rows mode if records more than...

Set this option to switch to the Load visible rows mode when the number of records in the dataset exceeds the specified value.