Share via

Azure SQL Data Base: Missing Index

Fernando Gutierrez 325 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

1 answer

Sort by: Most helpful
  1. Alberto Morillo 35,506 Reputation points MVP Volunteer Moderator
    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.

    Was this answer helpful?

    0 comments No comments

Your answer

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