Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

Missing indices on Sharepoint table

$
0
0

Hi

In our SQL server, in some queries we are seeing a missing index suggestion from SQL server. The tables are AllUserData & AllDocs.

The SQL server is asking to create indices to improve the performance.

Can we go ahead and create this index?

/*
Missing Index Details from ExecutionPlan2.sqlplan
The Query Processor estimates that implementing the following index could improve the query cost by 22.3693%.
*/
/*
USE [WSS_Content_1018]
GO
CREATE NONCLUSTERED INDEX [<Name of Missing Index, sysname,>]
ON [dbo].[AllUserData] ([tp_ListId],[tp_SiteId],[tp_RowOrdinal],[tp_ParentId],[tp_DeleteTransactionId],[tp_Level],[tp_IsCurrentVersion],[tp_CalculatedVersion],[datetime2])
GO
*/

2nd

/*
Missing Index Details from ExecutionPlan2.sqlplan
The Query Processor estimates that implementing the following index could improve the query cost by 68.5204%.
*/
/*
USE [WSS_Content_1018]
GO
CREATE NONCLUSTERED INDEX [<Name of Missing Index, sysname,>]
ON [dbo].[AllUserData] ([tp_ListId],[tp_SiteId],[tp_RowOrdinal],[tp_ParentId],[tp_DeleteTransactionId],[nvarchar4],[tp_Level],[tp_IsCurrentVersion],[tp_CalculatedVersion],[tp_ID])
GO
*/

3rd

/*
Missing Index Details from ExecutionPlan2.sqlplan
The Query Processor estimates that implementing the following index could improve the query cost by 12.7661%.
*/
/*
USE [WSS_Content_1018]
GO
CREATE NONCLUSTERED INDEX [<Name of Missing Index, sysname,>]
ON [dbo].[AllDocs] ([SiteId],[DeleteTransactionId],[IsCurrentVersion],[Level],[ParentId])
GO
*/

Any pointers.

Viewing all articles
Browse latest Browse all 13778

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>