请教各位: 在v$instance中的ARCHIVER字段 是什么意思呢?

[复制链接]
查看11 | 回复4 | 2009-9-27 10:21:22 | 显示全部楼层 |阅读模式
请教各位: 在v$instance中的ARCHIVER字段 是什么意思呢?谢谢
SQL> desc v$instance
Name
Type Nullable Default Comments
---------------- ------------ -------- ------- --------
INSTANCE_NUMBERNUMBER Y

INSTANCE_NAMEVARCHAR2(16) Y

HOST_NAMEVARCHAR2(64) Y

VERSION
VARCHAR2(17) Y

STARTUP_TIME DATE Y

STATUS VARCHAR2(12) Y

PARALLEL VARCHAR2(3)Y

THREAD#
NUMBER Y

ARCHIVER VARCHAR2(7)Y

LOG_SWITCH_WAITVARCHAR2(11) Y

LOGINS VARCHAR2(10) Y

SHUTDOWN_PENDING VARCHAR2(3)Y

DATABASE_STATUSVARCHAR2(17) Y

INSTANCE_ROLEVARCHAR2(18) Y

ACTIVE_STATE VARCHAR2(9)Y
回复

使用道具 举报

千问 | 2009-9-27 10:21:22 | 显示全部楼层
V$INSTANCE
This view displays the state of the current instance.
Column Datatype Description
INSTANCE_NUMBER NUMBER Instance number used for instance registration (corresponds to the INSTANCE_NUMBER initialization parameter)
See Also: "INSTANCE_NUMBER"

INSTANCE_NAME VARCHAR2(16) Name of the instance
HOST_NAME VARCHAR2(64) Name of the host machine
VERSION VARCHAR2(17) Database version
STARTUP_TIME DATE Time when the instance was started
STATUS VARCHAR2(12) Status of the instance:
STARTED - After STARTUP NOMOUNT
MOUNTED - After STARTUP MOUNT or ALTER DATABASE CLOSE
OPEN - After STARTUP or ALTER DATABASE OPEN
OPEN MIGRATE - After ALTER DATABASE OPEN { UPGRADE | DOWNGRADE }

PARALLEL VARCHAR2(3) Indicates whether the instance is mounted in cluster database mode (YES) or not (NO)
THREAD# NUMBER Redo thread opened by the instance
ARCHIVER VARCHAR2(7) (STOPPED | STARTED | FAILED) FAILED means that the archiver failed to archive a log last time, but will try again within 5 minutes
LOG_SWITCH_WAIT VARCHAR2(11) The ARCHIVE LOG/CLEAR LOG/CHECKPOINT event log switching is waiting for. Note that if ALTER SYSTEM SWITCH LOGFILE is hung, but there is room in the current online redo log, then value is NULL
LOGINS VARCHAR2(10) ALLOWED | RESTRICTED
SHUTDOWN_PENDING VARCHAR2(3) YES | NO
DATABASE_STATUS VARCHAR2(17) Status of the database
INSTANCE_ROLE VARCHAR2(18) Describes whether the instance is an active instance (PRIMARY_INSTANCE) or an inactive secondary instance (SECONDARY_INSTANCE), or UNKNOWN if the instance has been started but not mounted
ACTIVE_STATE VARCHAR2(9) (NORMAL|QUIESCING|QUIESCED).
NORMAL indicates the database is in a normal state.
QUIESCING indicates that the ALTER SYSTEM QUIESCE RESTRICTED statement has been issued: no new user transactions, queries, or PL/SQL statements are processed in this instance. User transactions, queries, or PL/SQL statements issued before the ALTER SYSTEM QUIESCE RESTRICTED statement are unaffected. DBA transactions, queries, or PL/SQL statements are also unaffected.
QUIESCED indicates that the ALTER SYSTEM QUIESCE RESTRICTED statement has been issued: no user transactions, queries, or PL/SQL statements are processed. DBA transactions, queries, or PL/SQL statements are unaffected. User transactions, queries, or PL/SQL statements issued after the ALTER SYSTEM QUIESCE RESTRICTED statement are not processed.
Note that a single ALTER SYSTEM QUIESCE RESTRICTED statement quiesces all instances in a Real Application Clusters environment. After this statement has been issued, some instances may enter into a quiesced state before other instances; the system is quiesced when all instances enter the quiesced state.
回复

使用道具 举报

千问 | 2009-9-27 10:21:22 | 显示全部楼层
是否启用自动归档
回复

使用道具 举报

千问 | 2009-9-27 10:21:22 | 显示全部楼层
其实完全可以自己翻一下Oracle文档的,上面都有写
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行