sosrest[1906]: sqlite3.DatabaseError: database disk image is malformed
pg_dump: error: Dumping the contents of table "session" failed: PQgetResult() failed.
pg_dump: error: Error message from server: ERROR: could not open file "base/#####/919045.3" (target block 809476): previous segment is only 18140 blocks
pg_dump: error: The command was: COPY public.session (sid, sess, expire) TO stdout;
pg_dumpall: error: pg_dump failed on database "sddc_manager_ui", exiting
For VCF 4.x
psql -h localhost -U postgres -d sddc_manager_ui -c "select * from session"
For VCF 5.x
/usr/pgsql/13/bin/psql -h localhost -U postgres -d sddc_manager_ui -c "select * from session"
ERROR: could not open file "base/#####/919045.3" (target block 809476) : previous segment is only 95976 blocks
Size of session table also appears to be incredibly large in size
VMware Cloud Foundation
Corruption in table "session" from "sddc_manager_ui" database
The resolution requires clearing out database tables. Please contact Broadcom support for assistance.