Submit a ticketCall us

Quickly Address Software Vulnerabilities
Patch Manager is an intuitive patch management software which extends the capabilities of WSUS and SCCM to not only patch Windows® servers and workstations, and Microsoft® applications, but also other 3rd-party applications which are commonly exploited by hackers. Learn more about our patch management solution.

 

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
18:49, 27 Jun 2017

Tags

Classifications

Public