SAP Knowledge Base Article - Preview

2319110 - General questions about Rowcount - SAP ASE


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



SAP Adaptive Server Enterprise (ASE)


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) , How To

About this page

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

Search for additional results

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