Runtime repository administration > Exporting and importing processing statistics

Exporting and importing processing statistics
You can migrate processing statistics from one runtime repository to another. For example, if you must recreate the runtime repository and want to keep statistics about already made transactions, or if you want to export processing statistics to be presented in an auditing scenario.
Processing statistics
Processing statistics contain information about the usage of StreamServer and gather data on key objects:
Defining counters for specific objects
In addition to the key objects above, you can define a counter for a specific object in the Project. When a job is complete, the counter is saved in the repository thus enabling it to be reported. For example, you can count the following:
To define counters for specific objects, and to increase the value of the counters, you use the IncProcStatCounter script function.
Exporting processing statistics
When you export processing statistics, the information is gathered in a data.xml file included in the exported zip file.
Note:
To export processing statistics from the source environment
1
Start DBAT in the source environment and click the Runtime Repository category button.
2
3
4
Select ProcessingStatistics data.
5
Click Export. The zip file is created in the specified folder.
Importing processing statistics
Prerequisites
The target repository must not contain any processing statistics. For example, it could be a newly created repository. If statistics already exist in the repository, the import will fail. This means that the following settings have no impact when importing statistics:
To import processing statistics to the target environment
1
Start DBAT in the target environment and click the Runtime Repository category button.
2
3
4
Click Import.
Log for audit and export/import failures
Errors are logged in strs-rtmt.log and import-failures.log. You will find the log files in:
<user_home>\dbadmintool-files
OpenText StreamServe 5.6.2 Updated: 2018-01-26