Under the RdbmsNetwork, each "device" component represents a specific type of relational database and should be located under the RdbmsNetwork driver, as shown below.

The following device components and properties are identical to those listed under Types of RdbmsNetwork network-level components and properties and described in the NiagaraAX Drivers Guide.
Properties and components that are common to (or similar among) most Rdbms database devices are visible from the Rdbms driver property sheet view are described in the following list:
Select from the option list.
Use this field to set the IP address or ‘hostname’ of the computer platform where the database resides. A Dialup selection option is available, if required. This property does not apply to the MySQL device.
This property is the user name that is used to login to the database.
This property is the password of the user than is used to login to the database.
This is a child component of all Rdbms driver devices. The "Rdbms Worker" manages the queue and threads for asynchronous operations on a single parent database. The Worker component provides two properties for setting the maximum number of concurrent threads and for setting the maximum allowable queue size for the database connection. These worker properties are not pooled at the Network level, as with the NiagaraNetwork driver, each database driver has its own thread pool setting. The following two parameters apply to Worker properties:
This value allows you to specify the maximum number of multiple concurrently connections (Threads) that the station makes with the external database. The default value is one thread. Each thread uses one JDBC Connection to communicate with the database, so there are as many connections created as there are threads.
This can normally be increased to a value between 20 and 50 to improve performance when handling large volumes of data.
This value allows you to specify the maximum queue size supported for Rdbms actions specific to the associated database driver (i.e. exports, imports). The default Max Queue Size is 1000.
Max Queue Size needs to be adjusted to reflect the peak number of import or export records per archive that are expected to be processed and will normally be increased when handling large volumes of data.
This property allows you to specify how histories will be exported into the specified database. The two possible options are:
This choice specifies that histories are exported as one table per History Id. This is the default value setting.
This choice specifies that histories are exported as one table per History Type. This option may make the data easier to query once it has been exported.
This boolean property has true and false (default) options that allow you to create history table schemas with Universal character set Transformation Format (UTF-8) or Unicode data types for string valued columns in order to store Asian character sets. This property is available starting in NiagaraAX-3.8 and it defaults to false to maintain backwards compatibility with the existing history export mechanism. When this property is set to true, the resulting history tables created in the database will have the 'NVARCHAR' data type for any columns in the tables that expect string data.
This enum property allows you to export or update history timestamps to Coordinated Universal Time (UTC). It enables History records to be exported from different timezones into a common database and be chronologically correct and independent of any specific source timezone characteristics. In other words, exported histories will show the timestamp data from where the history is actually stored, making useable histories with a consistent timestamp.
This property is available starting in NiagaraAX-3.8 and it defaults to Dialect Default to maintain backwards compatibility with the existing history export mechanism. This property does not apply to the MySQL device. The possible options are:
This choice specifies that the timestamp export policy is in legacy mode to maintain backwards compatibility with the existing history export mechanism. This is the default value setting.
This choice applies when using Orion databases only and does not apply to history exports.
This choice specifies that all subsequent exported histories will be exported with their timestamps adjusted to UTC time.
This choice applies when using Orion databases only and does not apply to history exports.
This component is available starting in NiagaraAX-3.4 and is a child of all Rdbms driver devices. The "Rdbms Point Device Extension" provides point import capability for the various relational database drivers using methods and views that are similar to other proxy point driver views. Using this feature, you can represent relational database cell values as proxy points. No configuration is required for RdbmsNetwork Driver configuration. See “Using the Rdbms Point Device Extension”, and "About the Points Extension" in the NiagaraAX Drivers Guide.
This property has true and false (default) options that allow you to specify that Sql Scheme is to be enabled.
You must set this property to true if you are going to execute queries against the relevant database. It also needs to be enabled as a prerequisite of using the Rdbms Point Device Extension.
You must also set this property to true if you are going to chart or load data back in from an Oracle database into Niagara. This is also useful for debugging as you can run limited queries against the database from Niagara.
If you are not executing queries, using the Rdbms Point Device Extension, or loading data from Oracle, for good security practice you should set the property to false.
Type in the name of the database that you are connecting to (see the following notes).
The value of this property specifies the port number to use when connecting with the database. Default values are:
This is the History Device Extension which is fully described in the NiagaraAX Drivers Guide. It is not available on the HsqlDbDatabase device since this database may not be used to import or export histories.
In addition to the normal default “Retry Trigger” component, the History Device Extension contains the following two parameters which are specific to this driver:
This property has true and false (default) options.
When this property is set false, every time an export descriptor processes, the Niagara station must query the database to determine the value of the last timestamp in the database. Depending on the size of the database table and the number of export descriptors being processed, this can be a time consuming activity.
When this property is set true, instead of querying the database each time for the last record in the database, the Niagara station stores the last timestamp as a property on the export descriptor each time it processes the export. This is an efficiency related setting that helps with overall system performance when exporting data. You may consider therefore, to set the option true.
This property has true and false (default) options.
This property was originally added to configure how the timestamp is normalized before it is to written to the external database. Prior to NiagaraAX-3.8, timestamps stored in the external database did not include time zone information, rather they were simply date and time.
When this property is set false, timestamp values are normalized to the supervisor station’s time zone before being written to the external database.
When this property is set true, the original timestamp value is retained by the supervisor and written to the external database. Unfortunately, there is no timezone information in this data and difficulties have arisen with local timezones especially in relation to daylight savings time. It is for this reason that the NiagaraAX-3.8 release introduced the Timestamp Storage property allowing you to export or update history timestamps to Coordinated Universal Time (UTC).
This would normally be left blank but it would typically be used for advanced diagnostics or tuning under the guidance of a support channel. It is not required for a normal connection to the database. Extra connection properties are additional parameters which are passed in plain text by the driver when connecting to a database. It is beyond the scope of this document however, to define the parameters that could be used but they are typically entered in the format: ;parameter1=value1;parameter2=value2;...etc. This property applies to the MySQL and SqlServer devices.
This is used to determine whether the Sql Server database supports the SQL ‘DATE’ type. The ‘DATE’ Sql type is supported from Sql server 2008 onwards and the database device needs to know how to translate timestamps when retrieving records. You must set this property to match the version of the database you are connecting to. This property only applies to the SqlServer device. The possible options are:
This choice specifies that the Version of Sql Server you are connecting to is Sql Server 2008. This is the default value setting.
This choice specifies that the Version of Sql Server you are connecting to is Sql Server 2005.
This choice specifies that the Version of Sql Server you are connecting to is Sql Server 2000.
Copyright © 2000-2016 Tridium Inc. All rights reserved.