Quantcast
Viewing all articles
Browse latest Browse all 669

Query on SQL Server SQL statement analysis - Table Analysis

In dbacockpit, under Performance -> SQL statements when we select a statement and select table detail based on that statement, we will see the table in question. On the indexes tab, we see a number of columns.

 

Can any one please tell me what does Row Modification counter(Row modctr) mean.   Is this the number of rows modified since the last statistics run.   If we see a huge number here and assuming the statistics have not run yet, should we anticipate performance issues while doing an clustered index scan based on this index.  The SQL query in question is a BW query report and the index is a clustered BW index on a fact table. Can any one throw some light here please.  It runs longer at times and the only denominator that i could draw is the row modification counter being high. When its lower, the runtimes are also on the lower side.

 

The Row Modification counter seem to be taking three values

 

1) Either a large number (1 - infinite based on table size,rows etc)

2) 0

3) 1-

 

Can any one advise what do "zero" and "1-" mean here. I tried looking through standard help but did not get anything out.

 

Also, if we have auto statistics on, sometimes the statistics of this index i referred to above are not getting updated.  What do auto statistics bases the run on. Can I control the behavior for a particular index if i have to. Basically, rest of the indexes are being built, when data is getting loaded however this one index is missing out. The interesting thing here is its missing on sometimes only and when it does, the query runs longer causing us problems.

 

Our landscape

SAP EHP 1 for SAP NetWeaver 7.0 SP8

SQL Server 2008 R2 Release 10.50.1804

Windows Server 2008 R2

 

Regards

Kalyan


Viewing all articles
Browse latest Browse all 669

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>