Disabling and dropping indexes
Disabling and dropping indexes
Often an index is created and after some time a database administrator or developer may realize that it is really not needed. As a result, the administrator or developer typically will want to remove the index.In some cases, instead of removing the index, it may be a good idea to disable it.This will allow you to verify how performance is affected without actually dropping the index.
Disable an index using SSMS
- Open SSMS and connect to a server.
- Expand the Databases folder.
- Expand the AdventureWorks2012 database.
- Expand the Tables folder.
- Expand the Sales.SalesOrderHeader table.
- Expand the Indexes folder.
- Right-click the IX_SalesOrderHeader_OrderDate index and select Disable.
Drop an index using SSMS
- Open SSMS and connect to a server.
- Expand the Databases folder.
- Expand the AdventureWorks2012 database.
- Expand the Tables folder.
- Expand the Sales.SalesOrderHeader table.
- Expand the Indexes folder.
- Right-click the IX_SalesOrderHeader_OrderDate index and select Delete.
Thanks & Regards
Srikanth Goud– Virtualization Administrator
Leave a Comment