Managing the App Visibility database
Description of database management properties
You can modify the database parameters listed in the following table.
The parameters are located in the following files:
portal.properties
- Windows
portal_installationDirectory\portal\properties - Linux
portal_installationDirectory/portal/properties
collector.properties
- Windows
collector_installationDirectory\collector\properties - Linux
collector_installationDirectory/collector/properties
Property | Description |
---|---|
Maximum database size db.max.size | Defined during installation, you can adjust this value higher or lower, depending on the amount of data you collect. |
Data retention time retention.time | Defined during installation, you can adjust this value higher or lower depending on the amount of data and requirements to view old application data. |
Database port number Part of database.url | Defined during installation, you might need to change the port number if it is required for another application.
|
Database cleanup events db.cleanup.start.threshold db.cleanup.stop.threshold db.cleanup.open.event | To prevent your database from entirely filling up, the App Visibility portal and collector databases provide a warning and maintenance mechanism that starts when data storage approaches the maximum value. The following process describes the events and data cleanup actions, as set by the parameters and the default values:
Events are sent to the health-events.csv file and integrated systems. You might need to adjust the retention.time or db.max.size parameters, or contact Customer Support for more solutions. You can modify the following default values for the cleanup events: # Percentage of used DB space at which the cleanup process starts |
Before you begin
Confirm that you have sized App Visibility Manager and Synthetic TEA Agent components and considered the results with your own data.
Before you change the database properties, be aware that the following effects on your system might result in data collection gaps until all services are running:
- After you change the required properties file or files, you must restart the corresponding service or services.
- In a high-availability environment, modify the properties files in the following order:
- Stop the standby component service.
- Modify the active component and restart the service.
- Modify the standby component and start the service.
To modify database size and location
Open the portal.properties file, the collector.properties file, or both.
If the portal and collector are installed on the same computer, ensure that both component properties files have the same database information.
- Update database properties in the file as required.
- Save and close the properties file.
- Restart the App Visibility portal service, collector service, or both.