Cleaning of the space of SQL Express 2005 database; Sound to its fullest.

Hi all

Here's a question I need help. I have a vCenter Server, which has a database of maxed out of 4 GB on SQL Express 2005. It won't let me restart the service for vCenter Server if I restart the computer. Fortunately, I somehow got it upward after the restart, but not until I spent 3 hours on medium with HP/VMware. I went through the Article (KB1025914) showing the script that cleans your database, but it has not cleaned enough space to work. Now support tells me that I need to truncate the database, but I have to call Microsoft for support because they do not support problems with SQL even if it is a database of VMware and VMware the data that I need to clean all the partners. Go figure!

After that go through all of these reasons, I realized that the table that uses my space is the dbo. Table VPX_EVENT of the 1.2 GB and dbo. Table VPX_EVENT_ARG to 995MB. I was able to come back in vCenter and I found that my database retention policy has been set to never delete for events and tasks, and now I have put in 90 days. Although it has not cleaned all the space in the database, I guess that's my question is. Can someone give me any indication on how I can clean these two tables? I want to delete all events and tasks that are more than 90 days from these two tables, which should give me should I want to shrink my database of at least 50%.

Thanks for the help.

After you change the setting, it will remove the events, but the size of the DB's not going down. You will need to run a full backup of the DB to truncate the logs. This will be relase little space but not automatically, it will just remove balls and add instead of whitespace. You can reduce the database and then you would see the size of the DB down. In SQL 2005 Express, you may need to run the cut several times, as I've experienced it won't shrink until the 3rd or 4th attempt.

Tags: VMware

Similar Questions

Maybe you are looking for