AI OnAI Off
Related to this query there is a recommendation that this index should be created
CREATE NONCLUSTERED INDEX [nci_wi_tblWorkContent_3209EB2DC6A8F46F07D65456C79E00E1] ON [dbo].[tblWorkContent] ([ChangedByName], [fkLanguageBranchID], [Status]) INCLUDE ([CommonDraft], [DelayPublishUntil], [fkContentID], [fkMasterVersionID], [Name], [NewStatusByName], [Saved]) WITH (ONLINE = ON)
The SQL text look like the stored procedure "editDeletePageCheckInternal". This stored procedure get called when you put contents into the trash to verify the active references to the contents being deleted. This is quite normal if Editors are cleaning up contents on the site and doing too many delete operations so I guess you can just placed an index there to improve its performance.
Hi,
We're running Episerver in Azure and our SQL is on tier P1. Intermittently our DTU maxes out. What I've found so far is that a specific query is taking a lot of CPU when the DTU is very high, but I don't know which Episerver API/method is generating this query. Is there a way to find out?
The query has a parameter called @pages, so my thinking was that it's related to IContentLoader.Get(IEnumerable), i.e. getting content from a list of content references.
But why is the tblContentSoftLink in the query? That leads me to think that this might be Find, when related content needs to be re-indexed, e.g. a block is updated and now all pages that uses that block needs to be re-indexed.
The query: