備忘一下
SQL> select group#, members, status from v$log;
GROUP# MEMBERS STATUS
---------- ---------- ----------------
1 2 INACTIVE
2 2 CURRENT
3 2 INACTIVE
4 2 CURRENT
SQL> desc v$logfile
Name Null? Type
----------------------------------------- -------- ----------------------------
GROUP# NUMBER
STATUS VARCHAR2(7)
TYPE VARCHAR2(7)
MEMBER VARCHAR2(513)
IS_RECOVERY_DEST_FILE VARCHAR2(3)
SQL> col member for a30
SQL> select * from v$logfile;
SQL> set linesize 300
SQL> /
GROUP# STATUS TYPE MEMBER IS_
---------- ------- ------- ------------------------------ ---
1 ONLINE +CRPROD_DATA/crprod/onlinelog/ NO
group_1.257.686193451
1 ONLINE +FLASH_RECOVERY_AREA/crprod/on YES
linelog/group_1.257.686193459
2 ONLINE +CRPROD_DATA/crprod/onlinelog/ NO
group_2.258.686193481
2 ONLINE +FLASH_RECOVERY_AREA/crprod/on YES
linelog/group_2.258.686193491
GROUP# STATUS TYPE MEMBER IS_
---------- ------- ------- ------------------------------ ---
3 ONLINE +CRPROD_DATA/crprod/onlinelog/ NO
group_3.265.686198773
3 ONLINE +FLASH_RECOVERY_AREA/crprod/on YES
linelog/group_3.259.686198787
4 ONLINE +CRPROD_DATA/crprod/onlinelog/ NO
group_4.266.686198801
4 ONLINE +FLASH_RECOVERY_AREA/crprod/on YES
GROUP# STATUS TYPE MEMBER IS_
---------- ------- ------- ------------------------------ ---
linelog/group_4.260.686198809
8 rows selected.
没有评论:
发表评论