powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Microsoft SQL Server [игнор отключен] [закрыт для гостей] / Вопрос про процедурный кэш...
2 сообщений из 2, страница 1 из 1
Вопрос про процедурный кэш...
    #32045663
Фотография Евгений Фадеев
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
С удивлением обнаружил, что в системе жуткое количество cache miss'ов. Такое ощущение, что процедуры практически никогда не попадают в кэш. С чем это может быть связано? У меня мыслей нет...
...
Рейтинг: 0 / 0
Вопрос про процедурный кэш...
    #32045670
Robert Djabarov
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
It's a 2-fold situation you're describing: one is related to procedure cache, and the other is the data cache. Execution of a procedure for the first time generates an execution plan for that procedure and stores it in procedure cache. If parameters supplied for the consecutive executions are different, then a new copy of the execution plan gets created and stored in cache. Once the amount of cache has reached the limit, the FIFO rule applies and the oldest plan gets paged out. Cache misses that you're describing are related to the data cache. It means that the optimizer does not find the data in cache, thus forces a physical read directly from the disk. In high volume OLTP systems it is not unusual, so there is nothing to worry about.
...
Рейтинг: 0 / 0
2 сообщений из 2, страница 1 из 1
Форумы / Microsoft SQL Server [игнор отключен] [закрыт для гостей] / Вопрос про процедурный кэш...
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]