vimtop.vsphere-ui or executing a full vCenter service restart temporarily restores responsiveness, performance degradation recurs shortly afterVMware vCenter Server 7.x
VMware vCenter Server 8.x
Excessive accumulation of historical tasks, events and performance statistics within the vCenter PostgreSQL Database has caused system resource exhaustion and UI responsiveness issues.
Perform the following steps to clean the database.
service-control --stop --allservice-control --start vmware-vpostgres/opt/vmware/vpostgres/current/bin/psql -U postgres -d VCDB/opt/vmware/vpostgres/current/bin/psql -U postgres -v TaskMaxAgeInDays=7 -v EventMaxAgeInDays=7 -v StatMaxAgeInDays=7 -d VCDB -t -q -f /tmp/2110031_Postgres_task_event_stat_reset_event_sequence.sqlvacuum full;vacuum analyze;\qservice-control --start --all