V$INSTANCE视图
admin
2023-05-10 03:00:49
0

V$INSTANCE

V$INSTANCE 展示当前实力的状态。

ColumnDatatypeDescription
INSTANCE_NUMBERNUMBERInstance number used for instance registration (corresponds to the INSTANCE_NUMBER initialization parameter)

See Also: "INSTANCE_NUMBER"

INSTANCE_NAMEVARCHAR2(16)Name of the instance
HOST_NAMEVARCHAR2(64)Name of the host machine
VERSIONVARCHAR2(17)Database version
STARTUP_TIMEDATETime when the instance was started
STATUSVARCHAR2(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 }

PARALLELVARCHAR2(3)Indicates whether the instance is mounted in cluster database mode (YES) or not (NO)
THREAD#NUMBERRedo thread opened by the instance
ARCHIVERVARCHAR2(7)Automatic archiving status:
  • STOPPED

  • STARTED

  • FAILED - Archiver failed to archive a log last time but will try again within 5 minutes

LOG_SWITCH_WAITVARCHAR2(15)Event that log switching is waiting for:
  • ARCHIVE LOG

  • CLEAR LOG

  • CHECKPOINT

  • NULL - ALTER SYSTEM SWITCH LOGFILE is hung but there is room in the current online redo log

LOGINSVARCHAR2(10)Indicates whether the instance is in unrestricted mode, allowing logins by all users (ALLOWED, or in restricted mode, allowing logins by database administrators only (RESTRICTED)
SHUTDOWN_PENDINGVARCHAR2(3)Indicates whether a shutdown is pending (YES) or not (NO)
DATABASE_STATUSVARCHAR2(17)Status of the database:
  • ACTIVE

  • SUSPENDED

  • INSTANCE RECOVERY

INSTANCE_ROLEVARCHAR2(18)Indicates 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_STATEVARCHAR2(9)Quiesce state of the instance:
  • NORMAL - Database is in a normal state.

  • QUIESCING - ALTER SYSTEM QUIESCE RESTRICTED 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 - ALTER SYSTEM QUIESCE RESTRICTED 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.

A single ALTER SYSTEM QUIESCE RESTRICTED statement quiesces all instances in an Oracle RAC 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.

BLOCKEDVARCHAR2(3)Indicates whether all services are blocked (YES) or not (NO)
CON_IDNUMBERThe ID of the container to which the data pertains. Possible values include:
  • 0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.

  • 1: This value is used for rows containing data that pertain to only the root

  • n: Where n is the applicable container ID for the rows containing data

INSTANCE_MODEVARCHAR2(11)Mode of the Oracle Real Application Clusters (Oracle RAC) instance.

Possible values:

  • REGULAR: A regular Oracle RAC instance

  • READ MOSTLY: An Oracle RAC instance which has very few database writes

EDITIONVARCHAR2(7)The edition of the database.

Possible values include:

  • CORE EE: CORE Enterprise Edition

  • CORE SE: CORE Standard Edition

  • EE: Enterprise Edition

  • PO: Personal Edition

  • SE: Standard Edition

  • XE: Express Edition

FAMILYVARCHAR2(80)For internal use only.


相关内容

热门资讯

聚焦生物医药未来产业,大湾区添... 5月12日,粤港澳大湾区生物医药未来产业创新论坛暨大湾区生物医药未来产业创新中心成立大会在中山大学附...
朱雀二号改进型遥五运载火箭发射... 5月14日午间,朱雀二号改进型遥五运载火箭在东风商业航天创新试验区发射升空,将搭载的2.8吨定制化试...
7500元旅行达人与年轻创作者... 在6000-8000元这个竞争激烈的旗舰手机市场,旅行达人和年轻创作者们往往面临着两难选择:是追求极...
中美元首会晤是否讨论对台军售问... 澎湃新闻记者 聂舒翼 谢瑞强5月14日,外交部发言人郭嘉昆主持例行记者会。有记者提问,中美元首是否在...
进一步“微缩”的进口车,还有多... 据乘联会秘书长崔东树援引相关数据,1-3月中国进口汽车10万辆,同比微增3%。其中,3月汽车进口2....
公示期届满,偷拍者顾某某还能当... 澎湃特约评论员 柯锦雄近日,南京审计大学一名在校研究生顾某某因涉嫌偷拍女生隐私,引发关注。有网友发现...
委内瑞拉政府宣布启动债务重组 委内瑞拉政府13日宣布,将启动外债及委内瑞拉石油公司债务重组程序,以减轻债务负担并稳定经济。委通信与...
燃气热水器需要多少升的 一般在选择燃气热水器的时候,按照家庭内部的使用水的人数来决定,一般如果四个人的话,可以选择40到60...
32升燃气热水器安装方法 燃气热水器是现代家庭生活中非常重要的设备,它不仅方便了我们的生活,提高了生活品质,同时也需要我们重视...
燃气热水器12升和13升的区别... 燃气热水器12升和13升的区别大吗:区别不大。12升就是热水器的额定加热能力是每分钟可以提升水温25...