V$ARCHIVED_LOG视图解析

SQL> desc v$archived_log;
 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 RECID                                              NUMBER
 STAMP                                              NUMBER 
 NAME                                               VARCHAR2(513)
 DEST_ID                                            NUMBER
 THREAD#                                            NUMBER
 SEQUENCE#                                          NUMBER
 RESETLOGS_CHANGE#                                  NUMBER
 RESETLOGS_TIME                                     DATE
 RESETLOGS_ID                                       NUMBER
 FIRST_CHANGE#                                      NUMBER
 FIRST_TIME                                         DATE
 NEXT_CHANGE#                                       NUMBER
 NEXT_TIME                                          DATE
 BLOCKS                                             NUMBER
 BLOCK_SIZE                                         NUMBER
 CREATOR                                            VARCHAR2(7)
 REGISTRAR                                          VARCHAR2(7)
 STANDBY_DEST                                       VARCHAR2(3)
 ARCHIVED                                           VARCHAR2(3)
 APPLIED                                            VARCHAR2(9)
 DELETED                                            VARCHAR2(3)
 STATUS                                             VARCHAR2(1)
 COMPLETION_TIME                                    DATE
 DICTIONARY_BEGIN                                   VARCHAR2(3)
 DICTIONARY_END                                     VARCHAR2(3)
 END_OF_REDO                                        VARCHAR2(3)
 BACKUP_COUNT                                       NUMBER
 ARCHIVAL_THREAD#                                   NUMBER
 ACTIVATION#                                        NUMBER
 IS_RECOVERY_DEST_FILE                              VARCHAR2(3)
 COMPRESSED                                         VARCHAR2(3)
 FAL                                                VARCHAR2(3)
 END_OF_REDO_TYPE                                   VARCHAR2(10)
 BACKED_BY_VSS                                      VARCHAR2(3)

 

RECID:接收归档的ID号

STAMP:标识

NAME:记录归档文件路径和名称

DEST_ID :说明归档的目标ID,通常针对DG、RAC而言,

THREAD#:归档使用的线程号

FIRST_CHANGE#:归档开始记录的SCN号,这个与FIRST_TIME表示的意思差不多,可以通过SCN_TO_TIMESTAMP函数进行转化。

NEXT_CHANGE#:归档结束记录的SCN号。

BLOCKS :归档涉及的块数,相关的还有BLOCK_SIZE

CREATOR:创建归档进程的名称

REGISTRAR:归档是否注册,相关的还有ARCHIVED是否归档,APPLIED是否应用,

FAL、STANDBY_DEST:主要针对DG而言的字段。

 

每个视图内容都很多,如果要一一记载和了解其中的意思,估计也只有电脑能做到。对于这些视图我们仅需要了解他们的某些字段和大概作用即可

你可能感兴趣的:(oracle,视图,V$ARCHIVED_LOG)