Azure SQL Data Base: Missing Index

Fernando Gutierrez 180 Reputation points
2024-09-11T00:48:32.02+00:00

Hello

I would like to know which script to run to check if there is a Missing Index in an Azure SQL Database.

In the Azure Portal it shows me recommendations for Indexes to apply, but it does not tell me when there is a Missing Index.

I would like to know which script within SQL Management Studio can be used to check if there are Missing Indexes.

Thanks!

Azure SQL Database
{count} votes

1 answer

Sort by: Most helpful
  1. Alberto Morillo 33,866 Reputation points MVP
    2024-09-11T01:21:10.61+00:00

    The best you can do is to grab missing indexes from query plans in the plan cache as shown in this support article and consolidate yourself the required index with existing indexes on the database. Creating indexes suggested on Azure Portal often ends with a proliferation of duplicated indexes.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.