Hi,
After upgrading to EpiServer CMS 11 lately (1.5 month ago) we have started to get SQL performance problem on our production servers.
The SQL statement causing this seems to be:SELECT @SubscriptionCount = COUNT(*)
FROM [dbo].[tblNotificationSubscription]
WHERE UserName = @UserName AND SubscriptionKey = @key And Active=
These requests happends often and the average time was ~13 seconds.
When i looked in [tblNotificationSubscription] it contained ~ 2.5 million rows and was growing.
We cleared the table and the SQL performance problems where gone.
Now five days later the table contains 250k rows and is growing fast.
We don't have any performance problem yet but I guess they will be back.
I can se that rows are added to the table everytime an editor is visiting a page in edit mode.
Is that the correct behaviour?
Our site has multiple scheduled jobs which modifies the content and I think that this also adds rows to this table.
These jobs is running as a specific user and almost 99% of the rows in the table has this UserName.
Does any one know if this is a bug or if there is something we can do to handle this?
Is it possible to disasble notofocations for a specific user or in a scheduled job?
What is the purpose of this table?
/Erik Jonsson