VMware Cloud Community
brian_rapidresp
Contributor
Contributor
Jump to solution

Database issues

The SQL Vcenter Database file VIM_VCDB grows constantly is currently around 8Gb. and the total size of the partition is 10GB. We need to reduce the size of database because the volumen is nearly full. Whats the best way to go about this and prevent vCenter from filling the db again.

Reply
0 Kudos
1 Solution

Accepted Solutions
rcporto
Leadership
Leadership
Jump to solution

To minimize the database grow you may need change the stats collection level, if it is different than the default, that is 1, change back to 1. If it is already at default stats collection level, you may no have choice, just increase the partition.

And here is a KB article showing how to shrink the database: VMware KB: Reducing the size of the vCenter Server database when the rollup scripts take a long time...

And, you're using the SQL Express database ?

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto

View solution in original post

Reply
0 Kudos
3 Replies
rcporto
Leadership
Leadership
Jump to solution

To minimize the database grow you may need change the stats collection level, if it is different than the default, that is 1, change back to 1. If it is already at default stats collection level, you may no have choice, just increase the partition.

And here is a KB article showing how to shrink the database: VMware KB: Reducing the size of the vCenter Server database when the rollup scripts take a long time...

And, you're using the SQL Express database ?

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
Reply
0 Kudos
SavkoorSuhas
Expert
Expert
Jump to solution

In addition to what Richardson mentioned, you can also check the recovery model of the DB of vCenter set to.

If it is Full Recovery Model, then the DB might grow up exponentially. It is ideally recommended to keep it at Simple Recovery model, unless you are doing some troubleshooting.

Suhas

If you found this or any other answer useful please consider the use of the Helpful or Correct buttons to award points.

Don't Backup. Go Forward!
Rubrik

Reply
0 Kudos
brian_rapidresp
Contributor
Contributor
Jump to solution

Thanks it was tasks & events data.

Reply
0 Kudos