I was trying to free up space in '/storage/seat on my vcsa 6.5
This is not applicable for 6.5 :
I don't have "vpx_event" and "vpx_event_arg" table.
Instead I have "vpx_event_1" to "vpx_event_92", and "vpx_event_arg_1" to "vpx_event_arg_92".
So I ran "truncate table vpx_event_1 cascade;" for each "event" tables (184 tables!).
/storage/seat/ was back to 1%.
But there's also this command :
sudo -u postgres /opt/vmware/vpostgres/9.4/bin/vacuumdb -a -e -v -f -U postgres > /tmp/vacuumdb.log
(as suggested at the bottom of this article : http://www.settlersoman.com/how-to-reclaim-space-on-storageseat-in-vcenter-appliance-5-5-or-6-x/ )
But I don't have a "postgres" user. Is that ok ?
So I tried that :
sudo -u root /opt/vmware/vpostgres/9.4/bin/vacuumdb -a -e -v -f -U postgres > /tmp/vacuumdb.log
And entered the password returned by this command :
cat /etc/vmware-vpx/embedded_db.cfg | grep
But I don't see anything changed. Normal ?
When I tried running it before the "truncate" , there was no change to "storage/seat" either.
Thanks