Das DBMS_RESOURCE_MANAGER Paket beinhaltet die „CALIBRATE_IO“-Prozedur mit der belastbare I/O-Statistiken zu den angebundenen Filesystemen ermittelt werden können.
Beispiel:
SET SERVEROUTPUT ON
DECLARE
l_max_iops PLS_INTEGER;
l_max_mbps PLS_INTEGER;
l_actual_latency PLS_INTEGER;
BEGIN
DBMS_RESOURCE_MANAGER.calibrate_io (
num_physical_disks => 13,
max_latency => 20,
max_iops => l_max_iops,
max_mbps => l_max_mbps,
actual_latency => l_actual_latency);
DBMS_OUTPUT.put_line (‚l_max_iops = ‚ || l_max_iops);
DBMS_OUTPUT.put_line (‚l_max_mbps = ‚ || l_max_mbps);
DBMS_OUTPUT.put_line (‚l_actual_latency = ‚ || l_actual_latency);
END;
/
l_max_iops = 5291
l_max_mbps = 1127
l_actual_latency = 19
PL/SQL procedure successfully completed.
SQL> SELECT * FROM dba_rsrc_io_calibrate;
START_TIME END_TIME MAX_IOPS MAX_MBPS MAX_PMBPS LATENCY NUM_PHYSICAL_DISKS
—————————— —————————— ———- ———- ———- ———- ——————
02-APR-17 11.13.13.218026 AM 02-APR-17 11.20.13.792305 AM 5291 1127 602 19 13
Status ausgeben:
select status from V$IO_CALIBRATION_STATUS;
Anzahl der Disken: Festplatten auf den Datenbankfiles liegen (nur eine entsprechende Größenordnung)
Maximale Latenzzeit: Der Wert muss größer als der zu erwartende Wert sein (minimal 10).
Hinweis:
Evtl. ist der init.ora-Parameter DNFS_BATCH_SIZE zu setzen (ORA-56719: Error spawning or communicating with calibration slave).