Seems to be the case without the plugin to.
We have 2278 products and 4 specifiaction attributes. There is however ALOT of attributecombinations.
The database is now using a S3 standard pool by itself and its at 99.9% dtu.
This is very critical. Have i done anything wrong when updating?
I did change the files in your post from august 22.
Screenshot of the database metric:
http://i.imgur.com/aPobirc.pngScreenshot of queries count:
http://i.imgur.com/1y4YnCn.png The 2 with insane count are these:
INSERT INTO #FilterableSpecs ([SpecificationAttributeOptionId])
SELECT DISTINCT [psam].SpecificationAttributeOptionId
FROM [Product_SpecificationAttribute_Mapping] [psam] WITH (NOLOCK)
WHERE [psam].[AllowFiltering] = 1
AND [psam].[ProductId] IN (
SELECT p.Id
FROM
Product p with (NOLOCK)
LEFT JOIN Product_Category_Mapping pcm with (NOLOCK)
ON p.Id = pcm.ProductId
WHERE
p.Deleted = 0
AND pcm.CategoryId IN (SELECT CategoryId FROM #FilteredCategoryIds)
AND pcm.IsFeaturedProduct = 0
AND p.VisibleIndividually = 1
AND p.Published = 1
AND p.Deleted = 0
AND (getutcdate() BETWEEN ISNULL(p.AvailableStartDateTimeUtc, '1/1/1900') and ISNULL(p.AvailableEndDateTimeUtc, '1/1/2999')))
and
(@p__linq__0 int)SELECT TOP (1)
[Project1].[Id] AS [Id],
[Project1].[PictureBinary] AS [PictureBinary],
[Project1].[MimeType] AS [MimeType],
[Project1].[SeoFilename] AS [SeoFilename],
[Project1].[AltAttribute] AS [AltAttribute],
[Project1].[TitleAttribute] AS [TitleAttribute],
[Project1].[IsNew] AS [IsNew]
FROM ( SELECT
[Extent1].[Id] AS [Id],
[Extent1].[PictureBinary] AS [PictureBinary],
[Extent1].[MimeType] AS [MimeType],
[Extent1].[SeoFilename] AS [SeoFilename],
[Extent1].[AltAttribute] AS [AltAttribute],
[Extent1].[TitleAttribute] AS [TitleAttribute],
[Extent1].[IsNew] AS [IsNew],
[Extent2].[DisplayOrder] AS [DisplayOrder]
FROM [dbo].[Picture] AS [Extent1]
INNER JOIN [dbo].[Product_Picture_Mapping] AS [Extent2] ON [Extent1].[Id] = [Extent2].[PictureId]
WHERE [Extent2].[ProductId] = @p__linq__0
) AS [Project1]
ORDER BY [Project1].[DisplayOrder] ASC
the one with 7800 is this one:
INSERT INTO #DisplayOrderTmp ([ProductId])
SELECT p.Id
FROM
Product p with (NOLOCK)
LEFT JOIN Product_Category_Mapping pcm with (NOLOCK)
ON p.Id = pcm.ProductId
WHERE
p.Deleted = 0
AND pcm.CategoryId IN (SELECT CategoryId FROM #FilteredCategoryIds)
AND pcm.IsFeaturedProduct = 0
AND p.VisibleIndividually = 1
AND p.Published = 1
AND p.Deleted = 0
AND (getutcdate() BETWEEN ISNULL(p.AvailableStartDateTimeUtc, '1/1/1900') and ISNULL(p.AvailableEndDateTimeUtc, '1/1/2999'))
AND p.Id in (select psam.ProductId from [Product_SpecificationAttribute_Mapping] psam with (NOLOCK) where psam.AllowFiltering = 1 and psam.SpecificationAttributeOptionId IN (SELECT SpecificationAttributeOptionId FROM #FilteredSpecsWithAttributes WHERE SpecificationAttributeId = 5))
AND p.Id in (select psam.ProductId from [Product_SpecificationAttribute_Mapping] psam with (NOLOCK) where psam.AllowFiltering = 1 and psam.SpecificationAttributeOptionId IN (SELECT SpecificationAttributeOptionId FROM #FilteredSpecsWithAttributes WHERE SpecificationAttributeId = 6))
AND p.Id in (select psam.ProductId from [Product_SpecificationAttribute_Mapping] psam with (NOLOCK) where psam.AllowFiltering = 1 and psam.SpecificationAttributeOptionId IN (SELECT SpecificationAttributeOptionId FROM #FilteredSpecsWithAttributes WHERE SpecificationAttributeId = 8))
ORDER BY pcm.DisplayOrder ASC, p.[Name] ASC
Does this make any sense to you Andrei?