Today I noticed the database for vmware on our sqlserver was sitting at 38 GB. How can I trim this down, because I am starting to run out of HD space?
Thanks,
Matt
Hello.
Check out kb article 1000125
Good Luck!
I just ran the script and the database got bigger, instead of smaller.
:_|
It's the database and not the transaction logs?
If you do a backup how big is the backup?
how big is the database after the backup?
I would suggest to create job and make BAK and TRN Backups!
It was the transaction logs that were the problem. The database was really only 3 GB, but the transaction logs was 40GB. I was able to clear the logs with this query:
DBCC SHRINKFILE("vmware_Log", 1)
BACKUP LOG vmware WITH TRUNCATE_ONLY
DBCC SHRINKFILE("vmware_Log", 1)
I am backing up my sqlserver with Symantec so now I have to figure out why the logs aren't purging.