CB Response: How To Re-Index the 'server_storage_stats' Table
book
Article ID: 290310
calendar_today
Updated On:
Products
Carbon Black EDR (formerly Cb Response)
Issue/Introduction
How to re-index the 'server_storage_stats' Postgres table.
Environment
- CB Response Server: All Versions
- Clustered
- PostGres
Resolution
- Stop all CB Response Services
- Run following command on Master/Standalone server to start only Postgres service:
- Run following command on Master/Standalone server to backup 'server_storage_stats' table:
/usr/bin/pg_dump -C -Fp -f /var/log/server_storage_stats.sql cb -p 5002 --table server_storage_stats
- Run following command on Master/Standalone server to re-index 'server_storage_stats' table:
/usr/pgsql-9.3/bin/psql -p 5002 -d cb -c "REINDEX TABLE server_storage_stats;"
- Run following command on Master/Standalone server to stop Postgres service
- Re-start CB Response Server Services
Feedback
thumb_up
Yes
thumb_down
No