vpxd service was terminated.vpxd.log contains messages similar to:--/var/log/vmware/vpxd/vpxd.log
YYYY-MM-DDTHH:MM:SS error vpxd[20552] [Originator@6876 sub=Default opID=StatsUpdateQueryOptimizer-45aa0c19] [VdbStatement] SQL execution failed: vacuum (analyze) vpx_hist_stat1_92YYYY-MM-DDTHH:MM:SS error vpxd[20552] [Originator@6876 sub=Default opID=StatsUpdateQueryOptimizer-45aa0c19] [VdbStatement] Statement diagnostic data from driver is 23505:0:1:ERROR: duplicate key value violates unique constraint "pg_statistic_relid_att_inh_index";--> Error while executing the query
vCenter Server 7.x
vCenter Server 8.x
It's data corruption with the system table "pg_catalog.pg_statistic" in the vCenter embedded vpostgres database.
To resolve this issue, it's suggest to truncate the system table "pg_catalog.pg_statistic".
Please contact Broadcom Support for assistance.
Contact Broadcom support
https://knowledge.broadcom.com/external/article/206567/
There was another issue about "SQL execution failed: vacuum (analyze) vpx_hist_stat".
vCenter Server Appliance fails with error: Error while executing the query" is returned when executing SQL statement "vacuum (analyze) vpx_hist_stat"
https://knowledge.broadcom.com/external/article/332309/