All main settings of BI server are saved in the [HKEY_LOCAL_MACHINE] key in the System subsection:
[HKLM\SOFTWARE\Foresight\Foresight Analytics Platform\10.0\PP\BIS\System].
In the key [HKLM\SOFTWARE\Foresight\Foresight Analytics Platform\10.0], additional subsections or keys that are used both in BI server and Foresight Analytics Platform desktop application work can be created:
Audit. Credentials of service user of security subsystem.
Service. Access points to various BI servers.
Manager. Settings used for working of Foresight Analytics Platform desktop application. The Pool subsection can only be created in the subsection, its structure and parameters are identical to the subsection created in System. These settings will be used by the desktop application if it has configured connection to the repository via web services.
InMem. Settings that determine the In-Memory data caching mode.
Dimensions. The settings that allow the use of dictionary in the cross-session cache mode.
SysLogServer. The settings that determine connection parameters to syslog server to send messages about auditing events.
Debug. The settings used for algorithm calculation.
Nav. The settings used by the object navigator.
These sections include subsections, for which different parameters can be set.
NOTE. All parameters created in these subsections have string type. The parameters that take only integer values can be created with the REG_DWORD type.
Registry file example: settings_reg.zip.
This section is used to create a parameter that affects the work of web service:
Parameter | Description |
GetSystemInfoExtended | Get details about resources consumed by BI server on executing the GetSystemInfo web service operation with the specified fields processInfo and cpuInfo. Available values:
To get details without specifying moniker, the request should contain the allowMetabaseNotFound field that is set to True. NOTE. When the moniker is specified, detailed information is returned regardless of value of the GetSystemInfoExtended parameter. |
Parameters impacting the session functioning with repositories are created in the subsection [HKLM\SOFTWARE\Foresight\Foresight Analytics Platform\10.0\PP\BIS\System\Session]:
Parameters | Description |
RWLockSlim | It locks access to opened object instances. Available values:
|
LockSession | It locks the entire session on processing requests. When the lock is enabled, requests to all objects within the session are executed one by one, otherwise they are executed concurrently, or individual locks are used (RWLockSlim). Available values:
|
LockAd | It locks access to opened dashboard instances. When the lock is enabled, read/write requests are executed one by one, otherwise they are executed concurrently. The lock is also enabled for nested objects accessed using the dashboard moniker. Available values:
|
SamplingStr | It collects time and memory statistics for performance counters. Available values:
The IsOn checkbox is always specified, otherwise the statistics is not collected. Other checkboxes that indicate, which counters must be used, are listed and separated with commas. Specifying only the IsOn checkbox equals to selecting all checkboxes. |
Sampling | It collects time and memory statistics for performance counters. Available values:
|
SysLogMb | An identifier of a repository, which contains system tables to store collected statistics (creating system tables to collect statistics is executed by means of the PP.Util utility). |
TimeoutSec | Period of inactivity (no requests), after which a session with repository is closed. The period of time is set in seconds in the range [60, 127800]. When the value is set to -1, the timeout period is not limited. Default value is 1800. |
Statable | Object state save and restore mode at state server. It is used with the StateServer settings group. Available values:
|
KeyIncr | Generate consecutive session and object monikers. Available values:
|
StoreBins | It sets a limit for the number of export results stored on the server with each object (for express reports and regular reports). |
StoreBinSize | Maximum total size of loaded binary objects within the session. The size is indicated in bytes by default. If B, K or M Latin character is specified after the value, the value size is set in bytes, kilobytes, or megabytes respectively. The default value is 0, and the loaded volume is not limited. |
PoolMaxConnections | It sets a limit to the number of repository database connections. Available values:
NOTE. The PoolMaxConnections parameter is outdated, it is left for compatibility with previous versions of Prognoz Platform. Use the MaxConnections parameter in the registry subsection [HKLM\SOFTWARE\Foresight\Foresight Analytics Platform\10.0\PP\BIS\System\Pool]. |
GetStatusMode | Processing mode of the GetStatus operation that is used in the web application to check connection status. Available values:
|
Other System subsections to set up BI server:
Subsection | Parameters |
[HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\PP\BIS\System\Pool] |
This subsection is used to create parameters that affect operation of BI server application pool.
Additional subsections that contain parameters for specific repositories can also be created in the Pool subsection. A created additional subsection must have a unique name. It can be used to create the following parameters:
NOTE. Connection pool parameters are applied, if the MaxConnections parameter value is greater than zero. |
[HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\PP\BIS\System\StateServer] |
Parameters of connection to state server.
To set up state server, make sure to set one of the values depending on the application.
To set up authentication on state server, create the Credentials subsection and set the Crs and Crsa parameters. In the parameters specify user credentials to connect to state server in encrypted form. Encrypted values of the parameters can be obtained using the PP.Util utility and the /encrypt_creds parameter. |
[HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\PP\BIS\System\Cert] |
This subsection stores private key of the security certificate. Parameters of this registry subsection are created at the runtime of PP.Util utility.
IMPORTANT. Parameters of this subsection must not be edited manually. |
[HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\PP\BIS\System\Mbs] |
Parameters of objects for statistics collection. In this subsection the user needs to create additional subsections with names matching repository identifier. A parameter can be created in each additional subsection:
|
[HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\PP\BIS\System\OAuth] |
Work parameters via the OAuth 2.0 or OpenID Connect protocol for user authentication on external servers that support this protocol. If authentication via external services is used, one should set up connection between the client and the BI server via HTTPS protocol. The "state" parameter is checked by default to protect from potential CSRF attacks on getting authorization code. If connection between the client and the BI server is set up via HTTP protocol, create the StateCheckOff parameter and set it to 1 to disable the check. To set up interaction with external services inside the OAuth section, create subsections with OAuth/OpenID Connect authentication server names. Each subsection has its own specific parameters. The following parameters of OAuth/OpenID Connect authentication servers are available:
When setting up repository connection under the specific user authorized on the external server, values of the UserIdAttr and the UserNameAttr parameters may match. Unique identifier and user name obtained on working with external service using the UserIdAttr and UserNameAttr attributes are recorded:
Values specified in the ConsumerKey and ConsumerSecret parameters will be obtained after registering developed application on the required OAuth/OpenID Connect authentication server. These parameters are required in order that BI server can check after authorization on OAuth/OpenID Connect server and authorize the corresponding user in the repository. If the ConsumerKey and ConsumerSecret parameters are not specified, internal settings of the BI server are used; the OAuth/OpenID Connect server must contain registered application based on Foresight Analytics Platform. |
[HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\PP\BIS\System\MbDefs] |
Parameters of work with the list of repositories. Allowed string parameter:
|
[HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\PP\BIS\System\Dal] |
Parameters of SQL queries execution with the use of BI server. These parameters affect BI server work if it is used as a client for access to DBMS.
|
[HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\PP\BIS\System\Fore] |
Parameters for working with development environment objects.
|
[HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\PP\BIS\System\WebForms] |
Web form work parameters.
|
This section stores encrypted credentials of service user of security subsystem. The GOST 28147-89 algorithm is used to encrypt credentials.
Subsection | Keys |
[HKLM\SOFTWARE\Foresight\Foresight Analytics Platform\10.0\Audit\Credentials\Item0] | The subsection which stores service user credentials:
|
The number and types of subsections may change depending on the number of computers, on which service user credentials were added.
NOTE. Subsection data is created automatically and is read-only.
This section is used to specify addresses of remote BI servers to get and cache data from repository. The BI server with the web application will request remote BI servers and get a thread with required data without additional request to DBMS.
Subsection | Keys |
[HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\Service\Epts] |
The subsection, in which end points to remote servers are specified. For each point create a subsection with a unique name, add a parameter for each subsection:
|
[HKLM\SOFTWARE\Foresight\ |
The subsection contains repository settings. To set up, inside Mbs create a subsection with a unique name, that is, repository identifier. The parameter can also be specified inside the created subsection:
Additional subsections with settings can also be created for repository inside each subsection:
For example: [HKLM\SOFTWARE\Foresight\Foresight Analytics Platform\10.0\Service\Mbs\WAREHOUSE\Cubes\InMemSettings] Where:
If the UpdCache subsection is created, the BI server, to which the specified access point corresponds, will be used on executing cache update task in scheduled tasks container. |
In the [HKEY_CURRENT_USER] key create parameters that determine the In-Memory data caching mode. The settings are used during the work of the current user. The key, to which the settings are saved: [HKCU\SOFTWARE\Foresight\Foresight Analytics Platform\10.0\InMem]. Working with cache is available within one running instance of Foresight Analytics Platform. The specified settings are determined on client computers if the desktop application is in use, or on BI server if users are working in the web application.
The settings can also be set in the [HKEY_LOCAL_MACHINE] key, they will be applied to all users. The settings search priority should be taken into account:
The [HKEY_CURRENT_USER] key.
The [HKEY_LOCAL_MACHINE] key.
NOTE. All parameters should be of string type; values should be entered in lower case.
Parameters | Description |
CacheType |
Data caching mode for cubes, including ADOMD cubes and time series databases. Available values:
If the CacheType parameter is not contained in the registry, the UseInMem parameter is checked:
|
UseInMem | Indicates whether the In-Memory mechanism is used for data caching of cubes, including ADOMD cubes and time series databases in file cache. Available values:
IMPORTANT. The UseInMem paameter is outdated and is used for compatibility with previous versions. To determine a data caching mode, use the CacheType parameter. If the UseInMem and CacheType parameters are set at the same time, the value of the CacheType parameter has a higher priority. |
CacheDims | It indicates whether In-Memory mechanism for dictionary data caching is used. The mechanism is absent by default and repository object caching is used. To cache dictionaries using In-Memory, create a parameter and set it to True. NOTE. The parameter may be set to True if the CacheType parameter is set to file. If the CacheType parameter is set to global, the CacheDims parameter is automatically set to False. |
DataDir | The path to the folder with stored cache files. If the parameter is not set, files are saved to the folder by default:
NOTE. The operating system user who will work with cached data must have read and write permissions for the specified folder. |
MemoryThreshold | The free RAM limit, after which cache warm-up will be unavailable (in percents). The REG_DWORD parameter, available values: 0-100. The parameters is set to 20 by default, cache warm-up is available if 80% or less RAM is used. |
MemLimitMb | Virtual memory limit in megabytes. If the parameter is not set, the following constraint is used: x64 - 5120 Mb. |
CacheLimitMb |
Disk space limit allocated to store aggregated data cache. Value is given in megabytes. Default parameter is not set. If parameter is set, when the limit exceeds, outdated or unused cache data will be deleted. Minimum disk space size that can be allocated to store aggregated data cache is 1024 MB. NOTE. If aggregated data cache size exceeds the specified limit, but all aggregated data is currently in use, cache data will be cleared at the next aggregated data cache generation. |
Threads | The number of threads, in which parallel data processing is executed on aggregation. By default, the number of threads is equal to the number of processor logical cores. |
AllowConv |
It indicates whether aggregated data is stored in cache that can be obtained on aggregation of fixed dimensions. Aggregated data is not stored in cache by default. To enable aggregated data caching, set the parameter to True, as this allows for the data to be quickly loaded and saves time avoiding repeated aggregate calculations on selection change, if source data was not changed. If data volume is too large, the first caching of aggregated data may take a long time and considerably increase the disk space used by cache. |
MatrixAggr |
Matrix aggregation operation mode. Matrix aggregation is applied, if on working with cached data the aggregated values are not cached in files, and they are calculated in memory each time. Available values:
|
OptimalThreshold |
Matrix aggregation mode application threshold. The parameter is relevant if the MatrixAggr parameter is set to optimal. During the work, the size of selection (Cartesian product of selected elements) sent for data aggregation production is calculated. If the obtained size is less than the value set in OptimalThreshold, matrix aggregation is applied. If selection size is greater than the OptimalThreshold value, aggregated values will be calculated and cached to file cache. The default threshold size is 10000. If the OptimalThreshold parameter is set to 0, it will not be taken into account. |
PreloadData |
Attribute of data preload from cache to memory on the first cube request. If the parameter is set to True, then on the first request to any cached cube its cache is scanned for full loading into the RAM. As a result, the first cube use will be slow and all the following will be significantly quicker. It can be used to implement data preloading. The parameter is set to False by default. NOTE. Preloading is executed till the RAM size or the MemLimitMb parameter value are not exceeded. |
UseMemoryPool |
It indicates whether a pool of new pages with cached data in memory is used. To use the pool, set the parameter to True. The pool use can considerably speed up the work with high load, but it will also lead to the excessive use of the RAM. The parameter is set to False by default, the pool of cached data pages is not used. |
In the [HKEY_CURRENT_USER] key create a parameter that determines whether a dictionary is used in the cross-session mode. The settings are used during the work of the current user. The key, to which the settings are saved: [HKCU\SOFTWARE\Foresight\Foresight Analytics Platform\10.0\Dimensions]. The specified settings are determined on client computers if the desktop application is in use, or on BI server if users are working in the web application.
The settings can also be set in the [HKEY_LOCAL_MACHINE] key, they will be applied to all users. The settings search priority should be taken into account:
The [HKEY_CURRENT_USER] key.
The [HKEY_LOCAL_MACHINE] key.
Parameters | Description |
Cache |
Indicates whether a dictionary is used in the cross-session cache mode. The REG_DWORD parameter. Available values:
|
The [HKEY_CURRENT_USER] key is used to specify syslog server connection settings for forwarding auditing event messages. The settings are used during the work of the current user. The key, to which the settings are saved: [HKCU\SOFTWARE\Foresight\Foresight Analytics Platform\10.0\SysLogServer]. The specified settings are determined on client computers if the desktop application is in use, or on BI server if users are working in the web application.
The settings can also be set in the [HKEY_LOCAL_MACHINE] key, they will be applied to all users. The settings search priority should be taken into account:
The [HKEY_CURRENT_USER] key.
The [HKEY_LOCAL_MACHINE] key.
Parameters | Description |
Active |
Activation of syslog server connection for forwarding security event messages. The REG_DWORD parameter. Available values:
|
Host |
IP address of syslog server. String parameter. The IPv4 protocol is available only. The default value: 127.0.0 1. |
Port |
Port of syslog server for incoming connections. The REG_DWORD parameter. Default value: 514. |
Protocol |
Protocol used for forwarding. The REG_DWORD parameter. Available values:
|
The section is used for creating parameters used for algorithm calculation.
Parameters | Description |
EtalonHashPath | Save checksum calculation result of the lpsolve55.dll library for Windows OS or the liblpsolve55.so library for Linux OS. String type parameter. As a parameter value, set full path to the file with checksum calculation result. The parameter should be added on local computers of all users. For details about integration with LPSolve, see the Connecting External Modules to Foresight Analytics Platform section. |
MsDump | Additional debug info in calculations. The REG_DWORD parameter. Available values:
If data filtering is enabled, full information about is added with the information about calculation mode depending on whether data filtering sources contain a calculation block destination cube. If no, multithreaded calculation will be applied.
IMPORTANT. The parameter does not affect algorithm calculation speed on executing collection and output of additional debug info. The parameter should be added on local computers of all users. For details about getting debug info on calculations see the How to View Debug Information on Calculations? section. |
MsNumThreads | Changing the maximum number of threads, by which parallel iteration calculation will be executed, on calculation of calculation blocks and/or control blocks. The maximum of 8 threads is used by default on multithreaded calculation. The REG_DWORD parameter. If the specified parameter value is less than the number of processor cores, the number of threads specified in the parameter will be used. If the specified parameter value is greater than the number of processor cores, the number of threads equal to the number of cores will be used. NOTE. When specifying the parameter take into account the architecture of Intel processor 2019 or later. When calculating iterations, the doubled number of streams is used relative to the specified parameter value. The parameter should be added on local computers of all users. For details about multithreaded calculation see the How to Execute Multithreaded Calculation? section. |
MsUseRDSVersions | The use of various versions of attribute element values of version dictionary in calculation formula on pointwise calculation of the entire algorithm and/or a specific formula. The REG_DWORD parameter. Available values:
IMPORTANT. The use of the parameter with the 1 value results in decreased performance and slowdown in algorithm calculation. The parameter should be added on local computers of all users. For details about calculation formulas see the Setting Up Calculation Formulas section. NOTE. The parameter can be used only in the desktop application. |
The section is used for creating parameters used by the object navigator.
Parameters | Description |
RecursiveDeps | Indicates whether recursive queries are used on getting repository object dependencies. It is relevant if a repository is created based on PostgreSQL/Postgres Pro or SQLite DBMS. The parameter is ignored for other DBMS. Available values:
|
The key [HKLM\SOFTWARE\Foresight\Foresight Analytics Platform\10.0] can be used to create single parameters.
Parameters | Description |
PlatformUserType | Access restriction to MDM dictionary elements using key ranges that are used to assign user with roles: vendor, counterpart, customer. A role allows for adding and editing MDM dictionary elements in its own key range and in the next key ranges located in ascending order. Elements with keys from the key range located in descending order will be unable for editing. For details about access permissions for MDM dictionary elements see the Access Permissions for MDM Dictionary Elements section. The REG_DWORD parameter. Available values:
The parameter should be added on local computers of all users. NOTE. The parameter can be used only in the desktop application. |
VirtualMemoryThreshold | The threshold of virtual memory use, exceeding of which will enable clearing cache of objects' metadata. The REG_DWORD parameter, available values: 0-100%. |
See also:
System Settings of Analytics Platform | Settings in settings.xml