Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Purging old data from the database used by vCenter Server
Symptoms
vCenter Server stores performance data in the vCenter Server database. Over time, data collection results in growth of the database files and a mechanism is needed to shrink these files.For more information on shrinking databases, see:
vCenter Server has a Database Retention Policy setting that allows you to specify when vCenter Server tasks and events should be deleted. Since this setting does not affect performance data records it is still possible to purge or shrink old records from the database using the scripts attached to this article. To access the Database Retention Policy setting in the vSphere Client, click Administration > vCenter Server Settings > Database Retention Policy.
The scripts attached to this article support purging the performance data from vCenter Server.
Caution: Do not run the scripts attached to this article against a VirtualCenter 2.x database. For information about purging data in VirtualCenter 2.x, see Purging old data from the database used by VirtualCenter Server 2.x (1000125).
Note: SQL Express 2005/2008 (vCenter Server 5.0 has SQL Express 2008 as the bundled edition) supports a maximum of 5 hosts and 50 virtual machines. If your environment exceeds this threshold, you must upgrade your database to SQL Standard.
Resolution
Additional Information
For IBM DB2 database, see Reorganizing the database. Engage your database administrator to perform any required actions.
For further assistance, file a support request with VMware Support and note this KB Article ID in the problem description. For more information, see How to Submit a Support Request.
Note: When the vCenter Database has been purged, you may notice an improvement in the performance of the vSphere Client connected to the vCenter Server.
Note: When the vCenter Database has been purged, you may notice an improvement in the performance of the vSphere Client connected to the vCenter Server.
Tags
See Also
- Troubleshooting transaction logs on a Microsoft SQL database server
- Depurando la base de datos usada por vCenter Server
Update History
Attachments
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
- KB Article:
- Updated:
- Categories:
- Product Family:
- Products:
- Product Versions:

