Skip to end of banner
Go to start of banner

Known Reports Cache

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

opReports 3.1.10 introduces a newly developed  known_reports_cache  to speed up the loading of reports:

  • A new option  'opreports_do_cache_known_reports'  in  /path/to/omk/conf/opCommon.nmis  determines whether this cache is enabled or disabled. The cache is enabled by default since opReports 3.1.11.
  • Testing on a server with a moderateley large number of generated reports has found load time to view a large report improves from more than 9 minutes to less than 45 seconds with the cache enabled.

When known_reports_cache is enabled and one deletes generated reports manually, on the commandline or in a cron job, it is necessary to update the  known_reports_cache flag files modified time to flag that the cache must refresh - this command will suffice:

  • touch /path/to/omk/var/opreports/known_reports_cache/*.flag

Flushing the cache with the above command may also be useful in problem-solving.


The performance of the opReports known_reports_cache can be summarised as follows when checked on a virtual server with 4 CPUs , 16GB of RAM and no use of swap:

Page LoadedTime to load without known_reports_cache (seconds)Time to load with known_reports_cache (seconds)
Dashboard15.5316.52
Operational Status40.27

15.36

Report Schedules17.563.29
Saved Reports26.0113.48
Opening grouped_capacity Report within Saved Reports Page86425.23
On-Demand Reports18.243.33
Opening grouped_capacity Report within On-Demand Reports Page95425.43
  • No labels