2424530 - Preupgrade utility reports there are duplicate rows in sysstatistics for round-robin partitioning tables | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2424530 - Preupgrade utility reports there are duplicate rows in sysstatistics for round-robin partitioning tables

Symptom

When running preupgrade utility, the following warning will be reported  for round-robin partitioning tables,

Warning: The following user tables have duplicate rows in dbname.sysstatistics.
Please drop and recreate statistics on these objects.
Warning: delete statistics ORDER_REQUESTS; update [all] statistics ORDER_REQUESTS
Warning: delete statistics ORDER_REQUESTS; update [all] statistics ORDER_REQUESTS
Warning: delete statistics ORDER_REQUESTS; update [all] statistics ORDER_REQUESTS
Warning: delete statistics ORDER_REQUESTS; update [all] statistics ORDER_REQUESTS
Warning: delete statistics ORDER_REQUESTS; update [all] statistics ORDER_REQUESTS
Warning: delete statistics ORDER_REQUESTS; update [all] statistics ORDER_REQUESTS
……

Run the following SQL statement to identify duplicate rows in each database:
select s.id, s.statid, s.colidarray, s.formatid, s.sequence, count(*) from sysstatistics s
group by s.id, s.statid, s.colidarray, s.formatid, s.sequence having count(*) > 1


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 15.7
  • SAP Adaptive Server Enterprise (ASE) 16.0

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0

Keywords

preupgrade, sysstatistics, round-robin partitioning, duplicate rows, CR#805217 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , SAP Business Suite on Sybase ASE Database Platform , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.