-- rmans.sql: RMAN backup speed per hour over the last 7 days (v$backup_async_io) -- Copyright (c) HASHJOIN. MIT License (https://hashjoin.com/kb/license/) -- https://hashjoin.com/kb/oracle/rman-backup-throughput/ -- -- Usage: @rmans.sql col kb_sec format 999,999,999 heading "KB/S" col hr heading "HH|24" col dd heading "Day" col cnt heading "#Files" break on dd skip page set pages 1000 select to_char(close_time,'YYYY/MM/DD') dd , to_char(close_time,'HH24') hr , avg(ebps)/1024 kb_sec , count(*) cnt from ( select type,filename, effective_bytes_per_second ebps, open_time, close_time from V$BACKUP_ASYNC_IO where status = 'FINISHED' and close_time >= sysdate-7) group by to_char(close_time,'YYYY/MM/DD') , to_char(close_time,'HH24') order by to_char(close_time,'YYYY/MM/DD'), to_char(close_time,'HH24') ;