Summary
The BMongoHistoryExport is used to export history records to a Mongo database.
Each record of each targeted history will be exported as a document inside a single time series collection. To decrease the storage size inside the database, it is not possible to export records to non time series collections.
For performance reasons, the metadata is normalized, thus sent into another standard collection.
You can use the BExportChecker to check that this component works correctly.
Implementation
- Drag and drop the component from the palette anywhere in the station
- Select one or more selections.
- Trigger the Execute action
Properties
- Status: Export status
- State: State of the export, can be idle, pending or in progress
- Enabled: Enable/Disable the component.
- ExecutionTime: Component firing the export a topic at configured times
- Last Attempt: Datetime of the last export attempt.
- Last Success: Datetime of the last successful export.
Last Failure: Datetime of the last failed export.
- Fault Cause: The explanation of a fault cause.
- MongoDbConnector: Connector which will export the histories.
- TimeSeriesCollection: Name of the time series collection.
- MetadataCollection: Name of the metadata collection.
- Selection: Selection of histories to export
- BatchSize: Number of records to export by batch
- BatchDelay: Time (in ms) between two exports
- LastTimestampMap: Map of all the last exported timestamp for each history
Actions
- Execute: Exports the histories.