This psql command is used to reduce the size of the table, but on occasion, this command has been known to not finish and seemingly hang for many hours:
sudo psql -p 5002 -d cb -c "VACUUM FULL VERBOSE ANALYZE;" 2> /tmp/vacuum_output.txt
# /usr/share/cb/cbservice cb-enterprise status# sudo psql -p 5002 -d cb -c "TRUNCATE sensor_comm_failures" TRUNCATED <-- expected output # sudo /usr/share/cb/cbservice cb-pgsql stop