redo日誌組資訊查詢

raysuen發表於2016-12-23
set linesize 500
col group# for 999
col mb for 999
col member for a100
col thread# for 999
col archived for a10
select a.group#,a.BYTES/1024/1024 mb,b.MEMBER,a.thread#,a.sequence#,a.members,a.archived,a.status,a.first_time,a.next_time from gv$log a,gv$logfile b where a.GROUP#=b.GROUP# group by a.group#,a.thread#,a.BYTES/1024/1024,b.MEMBER,a.sequence#,a.members,a.archived,a.status,a.first_time,a.next_time order by group#;

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28572479/viewspace-2131282/,如需轉載,請註明出處,否則將追究法律責任。

相關文章