Home > Archive > MS SQL Server > March 2006 > SQL Server statistics









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author SQL Server statistics
Praveen

2006-03-10, 3:23 am

How do i find out sql server statistics are out of date for particular
table or index?.
(Except Graphical excution plan and profiler). is there any system
procedure avilible?.

Roji. P. Thomas

2006-03-10, 3:23 am

DBCC SHOW_STATISTICS

--
Regards
Roji. P. Thomas
http://toponewithties.blogspot.com
"Praveen" <apveen@gmail.com> wrote in message
news:1141971917.083529.179880@i40g2000cwc.googlegroups.com...
> How do i find out sql server statistics are out of date for particular
> table or index?.
> (Except Graphical excution plan and profiler). is there any system
> procedure avilible?.
>



Praveen

2006-03-10, 3:23 am

How can i find out the particular statistics becomes out of date based
on this DBCC SHOW_STATISTICS result?.

Tibor Karaszi

2006-03-10, 3:23 am

Please define "out of date".

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www. solidqualitylearning
.com/



"Praveen" <apveen@gmail.com> wrote in message
news:1141975064.023021.13490@j33g2000cwa.googlegroups.com...
> How can i find out the particular statistics becomes out of date based
> on this DBCC SHOW_STATISTICS result?.
>



Praveen

2006-03-10, 3:23 am

How can i find out the particular statistics become old?. i.e
statistics not proper or old?.

Tibor Karaszi

2006-03-10, 3:23 am

DBCC SHOW_STATIATICS will tell you when you last updated the statistics. If you need to check the
information stored in the statistics compared to the actual values in the table you have to compare
the output from DBCC SHOW_STATISTICS to what you physically have in the table. Or you can also read
in Books Online about the rowmodctr column in the sysindexes table.

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www. solidqualitylearning
.com/



"Praveen" <apveen@gmail.com> wrote in message
news:1141981513.273371.142260@i40g2000cwc.googlegroups.com...
> How can i find out the particular statistics become old?. i.e
> statistics not proper or old?.
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2009 droptable.com