English (Español a continuación)
This statistic is requested from Maxl with the following instruction:
First you have to enable the obtaining of statistics:
- alter database ‘APPLICATION’. ’DATABASE’ set performance statistics enabled;
Then, after executing the load or the calculation that we want to analyze, we launch the following instruction:
- query database ‘APPLICATION’. ’DATABASE’ get performance statistics kernel_io table;
This table provides the following information referring to the entire application:

- # Index I / O: number of read / write that occurs through the Index Cache.
- # Data I / O: read / write number that occurs through the Data Cache.
- # Fground I / O: number of data read / writes that occur in the foreground (while a process is waiting for data to be read / written).
- # Index bytes: numbers of bytes read / written in the “´.IND” files.
- # Data bytes: numbers of bytes read / written in the “.PAG” files.
- Av byte / dat I / O: average of bytes read / written in each read / write that occurs through the Data Cache:
- It is calculated by dividing # Data bytes / # Data I / O.
- The higher this ratio, the more efficient the base is.
Sometimes it may be interesting to leave the statistics to zero to analyze the impact of a specific load / calculation. To do this, before requesting this statistic, we launch the following instruction by Maxl:
- alter database ‘APPLICATION’. ’DATABASE’ set performance statistics mode to long persistence server scope;
Español
Esta estadística se solicita desde el Maxl con la siguiente instrucción:
Primero hay que habilitar la obtención de estadísticas:
- alter database ‘APLICACIÓN’.’BASE DE DATOS’ set performance statistics enabled;
Luego, tras ejecutar la carga o el cálculo que queremos analizar, lanzamos la siguiente instrucción:
- query database ‘APLICACIÓN’.’BASE DE DATOS’ get performance statistics kernel_io table;
Esta tabla facilita la siguiente información referida a toda la aplicación:

- # Index I/O: número de lectura / escritura que ocurre a través del Index Cache.
- # Data I/O: número de lectura / escritura que ocurre a través del Data Cache.
- # Fground I/O: número de lectura / escritura de datos que ocurren en el “foreground” (mientras un proceso espera un dato para ser leído / escrito).
- # Index bytes: números de bytes leídos / escritos en los ficheros “´.IND”.
- # Data bytes: números de bytes leídos / escritos en los ficheros “.PAG”.
- Av byte/dat I/O: promedio de bytes leídos / escritos en cada lectura / escritura que ocurre a través del Data Cache:
- Se calcula dividiendo # Data bytes / # Data I/O.
- Mientras más elevado sea este ratio más eficiente es la base.
A veces puede interesar dejar las estadísticas a cero para analizar el impacto de una carga / cálculo concreto. Para ello, antes de solicitar esta estadística, lanzamos la siguiente instrucción por Maxl:
- alter database ‘APLICACIÓN’.’BASE DE DATOS’ set performance statistics mode to long persistence server scope;