Running Offline Pruning on the Filenames or Pathnames Tables
book
Article ID: 370589
calendar_today
Updated On:
Products
Carbon Black App Control (formerly Cb Protection)
Issue/Introduction
Steps to run the offline pruning of the filenames or pathnames tables
Environment
App Control Server: All Supported Versions
Cause
Offline pruning of the filenames or pathnames tables should be done when those tables are near or have reached their limit of 2.14 Billion rows.
Offline pruning is also recommended when the filenames or pathnames tables have grown too big and have a large percentage of orphaned data thus causing performance and disk space issues
Resolution
Open a support case to obtain the relevant pruning script for the table/server version being pruned
Plan for a 24-hour maintenance window
Make a full backup of the DAS database
Login to the server with the App C service account
Stop the App C Server and Reporter services
Any SQL services accessing the DAS database should also be stopped (e.g. SQL Job Agent, Backup, Reporting, etc).
Open the OfflineFilePathnamePruning.zip
Double click the "RunOfflinePruning.bat (do not use "Run as Administrator")
On step 1 type the SQL Server\SQL Instance name (for local single-tier DB use a single dot . )
On step 2 choose to continue.
When finished, copy the output of the command line window to a text file before closing it
If you need to reclaim file/pathname IDs for re-use follow the steps provided by Support