|
|
|
Вопрос про процедурный кэш...
|
|||
|---|---|---|---|
|
#18+
С удивлением обнаружил, что в системе жуткое количество cache miss'ов. Такое ощущение, что процедуры практически никогда не попадают в кэш. С чем это может быть связано? У меня мыслей нет... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 23.08.2002, 20:16:35 |
|
||
|
Вопрос про процедурный кэш...
|
|||
|---|---|---|---|
|
#18+
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. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 23.08.2002, 22:00:36 |
|
||
|
|

start [/forum/topic.php?fid=46&msg=32045670&tid=1820877]: |
0ms |
get settings: |
6ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
54ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
30ms |
get tp. blocked users: |
1ms |
| others: | 207ms |
| total: | 328ms |

| 0 / 0 |
