I have been using Bart Duncan's classic article to find out what indexes I am missing (http://blogs.msdn.com/b/bartd/archive/2007/07/19/are-you-using-sql-s-missing-index-dmvs.aspx)
Every now when I execute
select * from sys.dm_db_missing_index_details
I get back no rows, where I would have got rows back an hour earlier.
My question is, when do these dmvs get cleared or what sort of time window to they represent?
Thanks for your help
The missing index statistics are flushed from the cache
If there is memory pressure.
If the SQL Server service restarts.
Also note: if there is little or no activity on the box since the last service restart then there won't be any missing index info gathered.