Missing Indexï¼ä¸è¶³ãã¦ããã¤ã³ããã¯ã¹ï¼ã®ä¸è¦§ï¼dm_db_missing_index_group_stats ãªã©ï¼
TechEd 2009 ã§ã®ç§ã®ã·ã¢ã¿ã¼ã»ãã·ã§ã³ãSQL Server åç管çãã¥ã¼åå ¥éãã§ç´¹ä»ãããä¸è¶³ãã¦ããã¤ã³ããã¯ã¹ã®ä¸è¦§ããåå¾ã§ããã¹ã¯ãªããã§ããDMVï¼åç管çãã¥ã¼ï¼ã® dm_db_missing_index_group_stats 㨠dm_db_missing_index_groupsãdm_db_missing_index_details ã JOIN ãã¦ãã¾ãã
SELECT group_handle,i.*, gs.* FROM sys.dm_db_missing_index_group_stats gs INNER JOIN sys.dm_db_missing_index_groups g ON gs.group_handle = g.index_group_handle INNER JOIN sys.dm_db_missing_index_details i ON i.index_handle = g.index_handle