Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
"Service Analytics group alerts" job is running too frequent and fetching too many records for an instance. - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • "Service Analytics group alerts" job is running too frequent and fetching too many records for an instance.
KB0746878

"Service Analytics group alerts" job is running too frequent and fetching too many records for an instance.


351 Views Last updated : May 21, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

Symptoms

"Service Analytics group alerts" job is running too frequent and fetching too many records for an instance

Release

All Versions.

Explanation

Alerts in em_agg_group_alert table would get deleted when the alert is closed and passed 90 days.

If the alert rate is high(i.e if a huge number of alerts are getting created in your environment) and you see slowness in the queries, reduce the time of the flush(Deleting records).

To do this, follow the below steps:

  • Go to sys_auto_flush table
  • Search for the em_agg_group_alert table name.
  • Decrease the number of seconds to what you want to keep the groups, for example, 30 days (and in seconds, it should be 30 * 24 * 60 * 60)

Also, please verify in event management --> properties the following property "Auto close interval (in hours), within which open alerts will be automatically closed. Setting the property to 0 will disable this feature but it is not recommended. It should be a week (168) or less because if alerts are not closed, the groups are still kept open.


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.