An inventory clean refers to a process in VMware Cloud Director in which you clean up or reconcile the inventory of objects, such as virtual machines VMs, networks, storage, and other resources, to ensure that the inventory within VCD is accurate and up to date.
This operation is usually performed directly in the embedded Postgres vcloud database.
This process involves removing orphaned or stale objects that no longer exist in the underlying vCenter Server or not correctly synchronised with VCD.
Upon completion of the clean, you might see in the VCD UI that the Storage Containers are empty and the Storage Profile values are displayed as N/A.
VMware Cloud Director 10.3.3.20685133
vCenter 7.0U3
NSX 3.2.0.1
sudo -i -u postgres psql -d vcloud
truncate table scheduled_activity_jobs;
truncate table activity_pc_queue;
truncate table activity_pc_event_queue;
truncate table fifo_activity_queue;
truncate table task_activity_queue;
truncate table vc_activity_queue;
\x