Upgrading is slow for instances with Performance Analytics due to table indexingIssue <!-- div.margin{ padding: 10px 40px 40px 30px;}table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em;}table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2;}table.internalTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:0;}.sp td{ border-bottom: 1px solid; border-right: 1px solid; border-color:#E0E0E0; background-color: #ffffff; height: 20px; padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em;}.sphr td{ border-right: 1px solid; border-bottom: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; height: 20px;}.title { color: #D1232B; font-weight:; font-size:25px;}.hd1{ color: #D1232B; font-weight:; font-size:18px;}.hd2{ color: #646464; font-weight:bold; font-size:16px;}.hd3{ color: #7a7a7a; font-weight:; font-size:16 px; text-decoration:;}.hd4{ color: #000000; font-weight:bold; font-size:14 px; text-decoration:;} --> 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.