Hi All,
I have a VC server and DB on a different Server. My client has asked me to keep performance data only for 90 days and delete the rest.
I followed article VMware KB: Purging old data from the database used by VMware vCenter Server 4.x and 5.0.x
I ran the script on my environment and this is what it returned
it has close to 2500363 rows that needs to be deleted. I have created steps that I will perform to get this going. I am running VC 5.5 and my hosts are on 5.1
please let me know if this looks ok or anything else needs to be done
Thanks in advance
Why not take a snapshot instead of copy vmdk/vmx ?
purging would generate a lot of I/O and this would quickly fill the datastore and increase the size of snapshot
Yes, I know... but I doubt that the space for the snapshot will be greater than the full copy of vmdk... my recommendation to take a snapshot is only to speed up the process.
Anyway, your steps looks ok for me 🙂
Hi All,
I ran the test on my lab environment and it returned an error. snapshot attached
In the summary it says that it attempted to delete 68000 thousand rows but deleted only 1.
when I ran the script again; it shows that there are no rows to delete
I had stopped the VC service and then gone ahead with the deletion. Now when I check the graphs it only shows data for the previous day only -- all the previous data is gone. this is what I wanted and had set the script to delete all the data except previous day.
Did I do something wrong?
Thanks