Показать сообщение отдельно
Старый 07.05.2020, 17:27   #2  
Vadik is offline
Vadik
Модератор
Аватар для Vadik
Лучший по профессии 2017
Лучший по профессии 2015
 
3,631 / 1849 (69) ++++++++
Регистрация: 18.11.2002
Адрес: гражданин Москвы
Цитата:
Don't: Use plan guides as first mitigation step
https://academylive.blob.core.window...-DYN549PAL.pdf



Цитата:
Probably recently they created a new location, and this new location was the first parameter for this query and SQL Server based on the current statistics decided to start the plan with InventDim(that was probably OK for this new location with no data), the plan was cached and caused a performance problem for all other locations
Trace flag 2371 на SQL Server был включен? Статистики с какой периодичностью обновлялись?
__________________
-ТСЯ или -ТЬСЯ ?

Последний раз редактировалось Vadik; 07.05.2020 в 19:10.
За это сообщение автора поблагодарили: trud (1), raz (5).