Como modificar la configuración de AWR SNAPSHOT
BEGIN
DBMS_WORKLOAD_REPOSITORY.modify_snapshot_settings(
retention => 43200, -- Minutes (43200 = 30 Days).
-- Current value retained if NULL.
interval => 30); -- Minutes. Current value retained if NULL.
END;
/
Creando un SNAPSHOT de forma manual:
BEGIN
DBMS_WORKLOAD_REPOSITORY.create_snapshot();
END;
/
Eliminando AWR snaps de una rango determinado:
BEGIN
DBMS_WORKLOAD_REPOSITORY.drop_snapshot_range(
low_snap_id=>40,
High_snap_id=>80);
END;
/
Ref: How to Generate an AWR Report and Create Baselines (Doc ID 748642.1)
No hay comentarios:
Publicar un comentario