2026-03-12 20:23:15

This commit is contained in:
root
2026-03-12 21:23:47 +01:00
parent eab4b36eca
commit 93039b8489
3332 changed files with 699614 additions and 0 deletions

16
vdh/log_history.sql Normal file
View File

@@ -0,0 +1,16 @@
set linesize 140
set pages 999
column day_arch# format 999G999
column graph format a15
column dayname format a12
column day format a12
select to_char(day, 'DD/MM/YYYY') day, to_char(day,'DAY') dayname, day_arch#, graph
from ( select trunc(first_time) day, count(*) day_arch#,
rpad('*',floor(count(*)/10),'*') graph
from v$log_history
where first_time >= trunc(sysdate) - 20
group by trunc(first_time)
order by day
);