Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

oracle log files

SELECT l.THREAD#, lf.GROUP#, lf.MEMBER,
       trunc(l.BYTES / 1e6) AS SIZE_MB,
       l.STATUS, l.ARCHIVED, lf.TYPE,
       lf.IS_RECOVERY_DEST_FILE AS RDF,
       l.SEQUENCE#, l.FIRST_CHANGE#,
       l.NEXT_CHANGE#
FROM V$LOGFILE lf JOIN V$LOG l ON l.GROUP# = lf.GROUP#
ORDER BY l.THREAD#, lf.GROUP#, lf.MEMBER;
Source by oracle-base.com #
 
PREVIOUS NEXT
Tagged: #oracle #log #files
ADD COMMENT
Topic
Name
2+6 =