Mango 4.0+ supports storing the latest cached values for data points on disk separately to the time series which can drastically improve startup time. The feature is currently only supported in the MapDB module. Without this module installed the latest values are retrieved from the data point time series stored in the database.
Map DB Module Configuration
This module has no UI and is completely configured via env.properties
. The following are the properties with their defaults:
#Enable module
mapdb.enabled=false
#Specify directory for db file
db.pointValueCache.location=databases
#Flush changes to disk this often
mapdb.commitFrequencyPeriods=30
mapdb.commitFrequencyPeriodType=SECONDS
The data is stored in the databases folder named pointValueCache.db
. If mango starts with this module installed and the db file doesn’t exist it will re-create it at startup by pulling the latest values from the time series stores.