You can configure the maximum number of database connections that can occur simultaneously. To limit the growth of the vCenter Server database and save storage space, you can configure the database to discard information about tasks or events periodically.
Note: Do not use the database retention options, if you want to keep a complete history of tasks and events for your
vCenter Server.
Procedure
- In the vSphere Client, navigate to the vCenter Server instance.
- Select the Configure tab.
- Under Settings, select General.
- Click Edit.
- In Edit vCenter general settings window, click Database.
- In Maximum connections field, enter the required number of connections.
Note: Do not change this value unless one of these issues exists in your system.
- If your vCenter Server system performs many operations frequently and performance is critical, increase the number of connections.
- If the database is shared and connections to the database are costly, decrease the number of connections.
- Enable Task cleanup option for vCenter Server to delete the retained tasks periodically.
- (Optional) In Task retention (days) field, enter a value (in days).
Information about tasks that are performed on this
vCenter Server system is discarded after the specified number of days.
- Enable Event cleanup option for vCenter Server to clean up the retained events periodically.
- (Optional) In Event retention (days) field, enter a value (in days).
Information about events for this
vCenter Server system is discarded after the specified number of days.
Note: Monitor
vCenter Server database consumption and disk partition in the
vCenter Server Management Interface.
Warning: Increasing the events retention to more than 30 days results in significant increase of vCenter database size and can shutdown the vCenter Server. Ensure that you increase the vCenter database accordingly.
- Click SAVE.