We had similar issues, with our database getting too big. We tackled this in several ways...
- Change Data Retention settings within the SolarWinds/Orion UI. -- For example, reducing the Syslog retention to 14 days has helped a lot.
- Database Shrink -- This was mentioned by a fellow Thwack-er, and this helped but only after we had made changes to our retention settings.
- Truncating some tables (i.e. Wireless tables). Below is an example of truncate commands I received from SW tech support:
- Truncate WL tables
truncate table [dbo].[NPM_NV_WL_APS_DAILY]
truncate table [dbo].[NPM_NV_WL_APS_DETAIL]
truncate table [dbo].[NPM_NV_WL_APS_HOURLY]
truncate table [dbo].[NPM_NV_WL_CLIENTS_DAILY]
truncate table [dbo].[NPM_NV_WL_CLIENTS_DETAIL]
truncate table [dbo].[NPM_NV_WL_CLIENTS_HOURLY]
truncate table [dbo].[NPM_NV_WL_CONTROLLERS_DAILY]
truncate table [dbo].[NPM_NV_WL_CONTROLLERS_DETAIL]
truncate table [dbo].[NPM_NV_WL_CONTROLLERS_HOURLY]
truncate table [dbo].[NPM_NV_WL_INTERFACES_DAILY]
truncate table [dbo].[NPM_NV_WL_INTERFACES_DETAIL]
truncate table [dbo].[NPM_NV_WL_INTERFACES_HOURLY]
- Truncate WL tables
Of course, before truncating any tables... Please, (1) verify that you are truncating the correct table -- lest you end up wiping out tables critical to the application. Also, (2) ensure that you have a good SQL backup of the SolarWinds database. Anyway,I hope this helps in your aim to trim the size of your database. Lastly, I would concur with my fellow Thwakers' words of caution when dealing with the SQL database. If you are a newbie on SQL issues, it is best for you to contact SW tech support. They will provide you with the guidance you need, and will significantly reduce chances of something going very badly.
Best wishes.