I find that information by simply doing an "ls -l" (Unix) or "dir" (Windows) on the archive log directory and counting the number of archive log files during the period I want to survey. Another way is to examine the alert log to see the number of log switches within a timestamp range.
Mufasa
(aka Dave of Sandy, Utah, USA)
[I provide low-cost, remote Database Administration services: www.dasages.com]
One way to do this is to query v$archived_log. The following query will list the number of archived logs produced each hour of the day yesterday.
Code:
select to_char(completion_time,'yyyy/mm/dd hh24'), count(*) from v$archived_log
where completion_time between trunc(sysdate-1) and trunc(sysdate)
group by to_char(completion_time,'yyyy/mm/dd hh24')
order by 1
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.