GetSvcResult GetSvc(GetSvcArg tArg)
tArg. Operation execution parameters.
The GetSvc operation gets BI server work parameters.
This operation enables the user to get the following information:
Parameters used by BI server on working of separate sessions with repositories.
Parameters of connection pool used by BI server.
State server parameters.
Execution statistics by operations and requests.
Information about features.
To execute the operation, set flags of the parameters, that must be obtained, in the tArg.pattern pattern. Use the tArg.credentials field to specify credentials of the user who has access permissions to system tables and is saved in BI server registry. The PP.Util.exe application with the /DC key is used for saving.
To get operation execution statistics, determine the tArg.pattern.operationsStat field; for operations grouped into separate groups determine the tArg.pattern.requestsStat field. In this case the statistics stored in server memory is obtained. To get statistics collected and stored in the system repository tables, determine the tArg.pattern.operationRequestsStat field.
NOTE. Statistic data collected in the memory is reset on BI server restart.
To collect statistics, the BI server must be prepared in the following way:
In the registry create the Sampling or SamplingStr key (see details in description of the registry keys used by BI server).
To collect statistics in system repository tables, the repository must be prepared using the PP.Util.exe application. Identifier of the repository that contains system tables must be specified in the SysLogMb registry key.
Various methods of using this operation are given in the following examples:
Example name |
Getting BI Server Work Parameters |
Getting Statistics of Operations Execution |
See also: