To speed up access to objects and their work, use repository objects caching.
On Foresight Analytics Platform BI server work, extraction and storage of data required for web application work is made in BI server memory.
The system can be expanded by connecting additional (more powerful) servers with used for 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 connect 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:
Document cache is created on document opening. By default, cache is located in the user profile, in the subdirectory %USERPROFILE%\AppData\Local\Foresight\Foresight Analytics Platform\AsmCache<number>\Mod\<repository ID>\<build number>\CachedFiles\Documents.
Document cache is cleared on document deletion.
Caching of dictionaries and dimensions in time series databases
Development environment object caching
To use actual data, clear cache if required.
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<number>/Mod/<repository ID> of the required repository. Cache is cleared by the BI server administrator during system downtime and when there are no connected users.
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 tab 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: