Here is what Tech Support had me do (as manual maintenance):
You will need to do the following.
Database Essential Maintenance
*** IMPORTANT NOTE ***
Please make sure to have a recent backup of your database as the following instructions will make permanent changes to your database
Before doing anything please open Orion Service Manager and stop all services.
- Open SQL server Management Studio.
-(If you don't have a copy of this, you can download and install SQL Server Management Studio Express from Microsoft for free)
- Connect to your SQL server
To Shrink your Transaction Log File (.ldf)
- Right click the Orion database and choose All Tasks -> Shrink -> File
- Ensure the File Type is set to Log, file group will not be an available option.
- Please note, shrinking the log file will not be useful if the database is set to "Full Recovery" mode. This mode causes every transaction to be stored in the transaction log file, to allow the DB to recover to the last transaction if required. In comparison, Simple recovery will only allow recovery to the last good backup.
- For the Shrink Action, select "Reorganise pages before releasing unused space. Change the "Shrink File to" setting to 0 MB.
- Click OK. This will take a few seconds.
How to Shrink the Main Database (.mdf)
- Right click the Orion database and choose All Tasks -> Shrink -> Database
- For the Shrink Action, select "Reorganise pages before releasing unused space.
- Change the Maximum Free Space in files after shrinking = 0
- Click OK. This can take a while - usually a few mins per GB
To shrink Additional File Groups (applies only if using Netflow)
- Ensure the File Type is set to Data, Filegroup "FG1".
- For the Shrink Action, select "Reorganise pages before releasing unused space. Change the "Shrink File to" setting to just above the minimum setting shown on the right.
- Click OK. This can take a while - usually a few mins per GB.
- Repeat for each File group (FG1 to FG4)
Run database Maintenance from the Start menu, click Start > All Programs > SolarWinds Orion > Advanced Features > Database Maintenance, and then click Start
For me, with a 50G database, this took close to 2 hours.