Repository Objects Caching

To speed up access to objects and to provide their work, use repository objects caching.

On Foresight Analytics Platform BI server working, extraction and storage of data required for web application work is made in the BI server memory.

The system can be expanded by introducing additional (more powerful) servers with function of data extraction and caching from repository. BI server will request these BI servers and get the thread with required data without additional request to DBMS. To introduce additional BI servers, fill in the Service section in the settings.xml file or in system registry settings.

Caching is available for some of the repository object types:

Caching is also available for documents but with some features of use:

Caching of dictionaries and dimensions in time series databases

Regular report caching

Development environment object caching

To use actual data, clear cache if required.

Cache Clearing

Cache clearing helps avoiding the use of potentially outdated data. Depending on the operating system in use, there are different cache clearing options.

To delete development environment object cache, delete files in the subfolder opt/foresight/fp10.x-biserver/var/cache/AsmCache<n>/Mod/<repository ID> of the required repository. Cache is cleared by the BI server administrator.

To clear repository cache, select the Tools > Clear Cache item in the object navigator's main menu.

To clear cache of dictionaries and time series databases, click the Clear Cache button on the Cache in the object properties.

To clear regular report cache, click the Clear button in the Object Cache dialog box.

To clear development environment object cache, select the Repository > Clear Assembly Cache item in the security manager's main menu.

To work with cache of various objects in the Fore language, use properties and methods of the IMetabase, IMetabaseObject interfaces. To clear object cache, use the IMetabaseCache.FlushAll method.

See also:

Caching