When you configure monitoring in the domain, you configure the monitoring Model repository to store monitoring statistics. You also configure how often the monitoring Model Repository Service purges statistics. You can configure the repository database and purge settings to minimize resource consumption and maximize monitoring performance.
To optimize monitoring performance, enable the
Purge Statistics
option in the Monitoring Configuration. When you enable statistics purging, you configure how often the monitoring Model Repository Service purges data. Use the
Preserve
options in the Monitoring Configuration to configure how long Detailed and Summary data are saved in the monitoring Model repository before they are purged.
For optimum monitoring performance, consider the following guidelines when you configure the domain for monitoring:
Create the monitoring Model repository to store monitoring data. Specify the monitoring Model Repository Service when you configure monitoring in the domain.
Configure the monitoring Model Repository Service on the machine where you configure the domain.
Verify that the monitoring Model repository database is tuned as required for the following properties:
Maximum Heap Size property
Java Stack Size property
Memory settings
Hibernate Connection Pool Size property
Purge monitoring data during off-hours to limit the impact on other database operations.