Quantcast
Channel: SCN : Discussion List - SAP on SQL Server
Viewing all articles
Browse latest Browse all 669

Index maintenance

$
0
0

Dear Team,

 

Please help me with following doubts in Sql server (2005 onwards)

 

1) can we regularly go for index reorg/rebuild (depending upon fragmentation level) ?

 

2) After doing Index rebuild do we need to go for Full scan update statistics ?

 

3) Is it necessary that we must go for SP_RECOMPILE <Table> after every Full scan update-stat ?

 

4) can we schedule jobs like SP_UPDATESTAT and SP_RECOMPILE for all tables ? what are disadvantages ?

 

5) And last but not least ; in DB02 I see that there are two statistics (index Statistics and Column statistics - "Screenshot attached"); When we run full scan (SP_UPDATESTAT) will it update all the statistics or only index statistics ? In our case it can be seen that there is discrepancy about the latest date the statistics were updated. Kindly advise.

 

Regards,

 

Arthur


Viewing all articles
Browse latest Browse all 669

Trending Articles



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