SAP Knowledge Base Article - Preview

2319110 - General questions about Rowcount - SAP ASE


1). What is the internal source data OPTDIAG/sp_showoptstats use to display the table-level row count in their output?
2). Is the value of systabstats.rowcnt (where indid=0) also populated from the above source data?
3). Is that source data accurate compared to "select count(*)" after "dbcc flushstats" is run?



  • SAP Adaptive Server Enterprise (ASE)
  • Dataserver


SAP Adaptive Server Enterprise 12.5 ; SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0


row count, row_count(), sp_flushstats, sp_flushstats title, statistics, optdiag, index, dbcc flushstats   , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , 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.