Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


scrollbar


Warning

Old functionality

This module has reached its end-of-life (EOL) status. This means that there will be no active development of this module.


Info
titleFEWS version

From FEWS version 2018.02 the index files are managed automatically. The index file are stored in the central database and shared by all OC and FSS. Therefore this module should not be used in version 2018.02 and higher.

Anchor
_Toc154574464
_Toc154574464
Compact index and cache files

...

Because time series are combined in one record, FEWS uses a custom index to know which records are involved when reading time series. Expired records are automatically removed from the database but not from the index files that reside on forecasting shells. To do this the compact cache files activity should be scheduled on every forecasting shell daily. On operator clients and stand-alone systems this happens automatically. When the obsolete ModuleDescriptors.xml still exist the module “nl.wldelft.fews.system.plugin.rollingbarrel.RollingBarrelModule” is redirected to the compact cache file activity. It The compact cache file workflow is not running the rolling barrel any more. This is done The rows deleted by the MC or Rolling Barrel are removed every time the forecasting shell starts when a local data store is still used instead of DDA.

Compact_FSSCache.xml in WorkflowFiles

...

Example of a log message when the compact cache is finished:
20-02-2016 04:53:46 INFO - TimeSeriesIndex.CompactFinished: 6 seconds, removed rows 142844/403158, removed time series 923/50598, removed groups 39168/100775, removed ids 8/13565, removed qualifier sets 0/0, removed id sequences 27256/78750, released memory 10 MB/45 MB

...