StreamServer configurations > Handling processing statistics > Creating a statistics repository > Creating a statistics repository manually

Creating a statistics repository manually
To create a statistics repository manually, you must first generate the database scripts for the repository in Control Center and then execute the scripts in an external tool.
When you generate the database scripts from Control Center, the scripts are saved in the following directory:
<Base directory>\<Version>\root\config\database\<Statistics Repository>-<GUID>.zip
Where:
<Base directory> – Is the path specified for Design Center Projects during the Framework and StreamServer installation. For example: C:\ManagementGateway
<Statistics Repository> – Is the name of the statistics repository.
<GUID> – Is a globally unique identifier for the ZIP file.
To generate database scripts
1
In the Repositories folder, right-click the statistics repository and select Create Database.
2
In the Operation area, select Create scripts for later use.
3
4
Click Start to generate the scripts. When the scripts are generated, you can save a local copy of the scripts.
Executing the database scripts (Microsoft SQL Server)
To create a statistics repository, you must:
Run the load_as_sys.sql script to create the database.
Run the load.sql script to create the tables etc. for the statistics repository.
Prerequisites
To execute the database scripts
1
2
3
Run the load_as_sys.sql script.
4
Run the load.sql script in the database created in step 3 above.
Post requisites
Executing the database scripts (Oracle Database)
To create a statistics repository, you must:
Run the load_as_sys.sql script to create the schema.
Run the load.sql script to create the tables etc. for the statistics repository.
Prerequisites
The login details for the SYSDBA user and the schema owner are available.
To execute the database scripts
1
2
3
Log in as the SYSDBA user.
4
Run the load_as_sys.sql script.
5
6
Run the load.sql script.
Post requisites
 
OpenText StreamServe 5.6.2 Updated: 2018-01-26