Cómo saber el tamaño de la memoria caché de la base de datos (búfer global) en uso
Preguntas frecuentes de InterSystems
Una herramienta (utilidad ^GLOBUFF) está disponible para verificar el uso de la memoria caché de la base de datos para cada global.
La utilidad se puede ejecutar directamente o mediante programación en el namespace %SYS .
Así se ejecutaría directamente:
USER>zn "%SYS"
%SYS>do ^GLOBUFF
Find which globals are using the most buffers.
Display the top <25>: → Press Enter // Default is to display top 25 globals
Total buffers: 102400 Buffers in use: 6926 PPG buffers: 77 (1.112%) // Global name, database name, percentage occupied by the buffer
Item Global Database Percentage (Count)
1 oddDEF IRISLIB 34.551 (2393)
2 rOBJ IRISLIB 15.261 (1057)
3 rOBJ IRISSYS 13.630 (944)
:
%SYS>do ^GLOBUFF
Find which globals are using the most buffers.
Display the top <25>: → Press Enter // Default is to display top 25 globals
Total buffers: 102400 Buffers in use: 6926 PPG buffers: 77 (1.112%) // Global name, database name, percentage occupied by the buffer
Item Global Database Percentage (Count)
1 oddDEF IRISLIB 34.551 (2393)
2 rOBJ IRISLIB 15.261 (1057)
3 rOBJ IRISSYS 13.630 (944)
:
Y así se ejecutaría mediante programación:
set log="C:\temp\g.log"
open log:"WNS"
use log
do display^GLOBUFF(200)
close log
El resultado de la ejecución será el siguiente:
Total buffers: 102400 Buffers in use: 6926 PPG buffers: 77 (1.112%)
Item Global Database Percentage (Count)
1 oddDEF IRISLIB 34.551 (2393)
2 rOBJ IRISLIB 15.261 (1057)
3 rOBJ IRISSYS 13.630 (944)
:
Comentarios (0)0