Configuring the driver to always create an index on exported history tables
The RDBMS driver can be configured to always create an index in the target database when exporting history data. You can set the Always Create Index For New Tables property (added in Niagara 4.11) on the Rdb Archive History Provider component to true to ensure that an index in the created RDBMS tables for exported histories is always created regardless of how other properties are configured. For example, if this property is set to false and the Use Last Timestamp property is set to true, indexes may not get created on the exported tables. There is no creation of indexes when Use Last Timestamp is set to true, regardless of this property setting. Setting this property to true in that scenario would cause any new tables created going forward to also have a proper index created. You can subsequently use the The Migrate To Optimized Table Indexes action against existing exported tables (also those prior to Niagara 4.11) that you want to migrate to ensure that updated indexes are created in the RDBMS. Creating indexes for exported tables can help maximize query performance.
