User/TIP File Settings
1. User Settings for the Monitored Database
When registering the monitoring database in SysMaster DB, the users will be prompted to enter user information. The users can use an existing user or create a new one. The required permissions for the user are CONNECT, ALTER SYSTEM, and SELECT_CATALOG_ROLE. User creation and permission assignment are performed using the following DDL and DCL statements in the SYS account.
CREATE USER [username] IDENTIFIED BY [password];
GRANT CONNECT, ALTER SYSTEM, SELECT_CATALOG_ROLE TO [username];
Additionally, to use the TPR Report and ASH Report features, the users must grant the relevant permissions using the following DCL statement:
GRANT EXECUTE ON SYS.DBMS_TPR TO [username];
GRANT EXECUTE ON UTL_TPR TO [username];
2. TIP File Settings for the Monitored Database
To collect statistics generated when executing SQL in the monitoring database, add the 'SQL_STAT_HISTORY', 'SQL_STAT_HISTORY_THRESHOLD', and 'SQL_STAT_HISTORY_QSIZE' parameters to the tip file. The descriptions for each parameter are as follows.
SQL_STAT_HISTORY
Whether to generate SQL execution information
Y (required)
Not possible
SQL_STAT_HISTORY_THRESHOLD
SQL execution information creation threshold execution time (e.g., only create execution information for SQL that took 100 milliseconds or longer to execute)
100
Possible
SQL_STAT_HISTORY_QSIZE
Number of SQL execution information to be stored per session (An integer between 1 and 10000)
10
Not possible
The amount of shared memory used increases in proportion to SQL_STAT_HISTORY_QSIZE and the total number of sessions in the database. Therefore, when changing SQL_STAT_HISTORY from N to Y, the increased memory usage must be added to TOTAL_SHM_SIZE. For database stability, we recommend adding an additional 3–5% to the result of (increased memory usage) + TOTAL_SHM_SIZE to obtain the final TOTAL_SHM_SIZE value.
For DB_CACHE_SIZE, which is automatically changed by TOTAL_SHM_SIZE, set it to the value when SQL_STAT_HISTORY was N to minimize the impact.
When SQL_STAT_HISTORY_QSIZE=1, the memory used for SQL STAT HISTORY in a single session is approximately 231,000 bytes. Therefore, multiply this value by the total number of sessions (MAX_SESSION_COUNT + WTHR_PER_PROC) (including both MGWP and FGWP) and SQL_STAT_HISTORY_QSIZE.
3. libtpmstat.so library
The libtpmstat library is required for the TPM Agent to collect information from Tibero. If the 279651 patch has been applied to the management database and the libtpmstat library is available, the users can use the library by configuring the Tibero environment variables.
If the libtpmstat library is not available in the management database, the users must distribute the appropriate library for that database. After distributing the libtpmstat.so file, move it to the TPM Agent directory and configure the TPM Agent library path to use the library.
Last updated