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.
Upgrading is slow for instances with Performance Analytics due to table indexing - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Upgrading is slow for instances with Performance Analytics due to table indexing
KB0552192

Upgrading is slow for instances with Performance Analytics due to table indexing


1039 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

Upgrading is slow for instances with Performance Analytics due to table indexing

Problem


If Performance Analytics is enabled on an instance, and there are a very large number of records on the Scores [pa_scores] and Snapshots [pa_snapshots] tables, upgrading to Fuji Patch 7, Eureka Patch 12, or later, or from Geneva Patch 1, 2, or 3, upgrading takes a very long time.

 

Symptoms


When upgrading from a version prior to Fuji Patch 7 or Eureka Patch 12 or from Geneva Patch 1, 2 or 3, the upgrade takes an excessively long time to complete. Your system may take more or less time to complete the operation and it is not possible to predict how long it will take for your system to add the indexes. However, we have seen examples of 25 million records taking 34 hours to add the indexes, 5 million records taking 3 hours, etc.

  

Cause


With Fuji Patch 7, Eureka Patch 12 and Geneva Patch 4, the Scores [pa_scores] and Snapshots [pa_snapshots] tables are indexed. Adding an index to these tables when there are a large number of records may take a long time to complete.


Resolution


Before upgrading, add the following indexes to the Scores [pa_scores] and Snapshots [pa_snapshots] tables during non-business hours to avoid performance impact:

  • pa_snapshots(sys_created_on,start_at)
  • pa_scores(sys created on, start_at)

For instances on Fuji or later, see Create a table index in the product documentation. For instances on a release prior to Fuji, you can contact ServiceNow customer support to request the indexes. 


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.