Network Management
Default database retention settings for the SolarWinds Platform
This article provides information on the default database retention settings. We strongly recommend you should never touch the below default Database Settings unless you are sure you do need to change. If you do need to change the below settings for some reason to increase the retention, please do consult SolarWinds support and consider your SQL deployment environment, as it could drastically increase the DB size.
First published date
Last published date
Overview
This article provides information about the default database retention settings.
For information about optimizing your database,
see Optimize the data you retain in the database.
Also, see Quick Orion database health check guide.
SolarWinds strongly recommends only touching the default Database Settings if you are sure you need to make changes.
If you need to change the database settings to increase retention, please consult SolarWinds support and consider your SQL deployment environment.
(Changing database retention settings can immediately increase the database size and create performance issues loading graphs and applications such as web pages, historical charts, statistical data, Services connection to the Orion DB, TempDb growth, and high table fragmentation.)
SQL Server instance workload will prevent expanding the TempDB database data and log files very frequently, taking into consideration that the file expands process is an expensive process in which SQL Server Engine will request extra space from the operating system, which will perform zeroing on that space before allocating it to SQL Server Engine.
After changing the default database retention settings, you can imagine the time and resources required for this allocation process.
Product section
Cause
Database Best Practices for SolarWinds Platform Health
Resolution
Polling Settings
To access the default database and network settings, complete the following steps:
- Log in to your SolarWinds Platform Web Console with an administrator account.
- Click Settings > All Settings > Polling Settings.
For information about default values, refer to Polling Settings in the NPM online help.
And to find out the non-default value i.e. values that were changed.
1. Open Database Manager or SQL Server Management Studio and run the following SQL query against SolarWinds Orion DB.
-- Scripts are not supported under any SolarWinds support program or service.
-- Scripts are provided AS IS without warranty of any kind. SolarWinds further
-- disclaims all warranties including, without limitation, any implied warranties
-- of merchantability or of fitness for a particular purpose. The risk arising
-- out of the use or performance of the scripts and documentation stays with you.
-- In no event shall SolarWinds or anyone else involved in the creation,
-- production, or delivery of the scripts be liable for any damages whatsoever
-- (including, without limitation, damages for loss of business profits, business
-- interruption, loss of business information, or other pecuniary loss) arising
-- out of the use of or inability to use the scripts or documentation.
SELECT name, currentvalue, defaultvalue
FROM settings
WHERE name like '%reten%' and currentvalue <> defaultvalue
In some cases, you can't edit the threshold, and a red dot appears beside the value. This means that the value is too low or high. To know what value you can set, just hover your mouse on the red dot, and it will show the value you can use.