Submit a ticketCall us

AnnouncementsAre You “Flying Blind?”

When it comes to your complex IT infrastructure, you want to ensure you have a good grasp of what’s going on to avoid any fire drills that result from guesswork. Read our white paper to learn how proactively monitoring your IT environment can help your organization while giving you peace of mind.

Get your free white paper.

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

Hardware Health monitoring table is too big

Created by Interspire Import, last modified by Kevin Twomey on Sep 28, 2018

Views: 1,647 Votes: 0 Revisions: 17

Updated 27th September 2017

Overview

The Hardware Health monitoring table is too big. This article describes how to shrink the tableAPM_HardwareItem_Detail 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.

Suggested Tags:   hardware health, table, retention, retain

Last modified

Tags

Classifications

Public