Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

Home > Success Center > Server & Application Monitor (SAM) > Hardware Health monitoring table is too big

Hardware Health monitoring table is too big

Updated 27th June, 2017

Overview

The Hardware Health monitoring table is too big. This article describes how to shrink the APM_HardwareItem_Detail table and reduce hardware health historical data while keeping the current settings for other statistics.

Environment

All SAM versions

Resolution

As a workaround, modify the following stored functions in SQL Studio Manager:

  • GetOrionRetainDetailDate_apm
  • GetOrionRetainHourlyDate_apm
  • apm_GetOrionRetainDailyDate

Perform the following:

  1. Open SQL Studio Manager.
  2. Expand DB > Programmability > Functions > Scalar-Valued Functions.
  3. Replace the following line:
    select @DataRetainDays = CurrentValue from Settings where SettingID = 'SWNetPerfMon-Settings-Retain Detail'
    with
    SET @DataRetainDays= <requested/>
  4. Verify that the value has been updated in apm_GetOrionRetainDetailDate < apm_GetOrionRetainHourlyDate < apm_GetOrionRetainDailyDate.

 

Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment.  You elect to use third party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.

Last modified

Tags

Classifications

Public