我的编程空间,编程开发者的网络收藏夹
学习永远不晚

V$INSTANCE视图

短信预约 -IT技能 免费直播动态提醒
省份

北京

  • 北京
  • 上海
  • 天津
  • 重庆
  • 河北
  • 山东
  • 辽宁
  • 黑龙江
  • 吉林
  • 甘肃
  • 青海
  • 河南
  • 江苏
  • 湖北
  • 湖南
  • 江西
  • 浙江
  • 广东
  • 云南
  • 福建
  • 海南
  • 山西
  • 四川
  • 陕西
  • 贵州
  • 安徽
  • 广西
  • 内蒙
  • 西藏
  • 新疆
  • 宁夏
  • 兵团
手机号立即预约

请填写图片验证码后获取短信验证码

看不清楚,换张图片

免费获取短信验证码

V$INSTANCE视图

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.


免责声明:

① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。

② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341

V$INSTANCE视图

下载Word文档到电脑,方便收藏和打印~

下载Word文档

猜你喜欢

2024-04-02

Oracle中V$视图和DBA_视图有什么区别

在Oracle数据库中,V$视图和DBA_视图都是用来访问数据库的动态性能和配置信息的视图,但两者有一些区别:V$视图(动态性能视图):V$视图提供了当前数据库实例中的动态性能信息,如内存使用情况、会话信息、锁信息等。这些视图是实时更新的,
Oracle中V$视图和DBA_视图有什么区别
2024-04-19

Oracle动态视图v$active_session_history怎么应用

这篇文章主要介绍“Oracle动态视图v$active_session_history怎么应用”的相关知识,小编通过实际案例向大家展示操作过程,操作方法简单快捷,实用性强,希望这篇“Oracle动态视图v$active_session_hi
2023-07-05

Oracle动态视图v$active_session_history实战示例

目录oracle动态视图实战之v$active_session_history先看下官方解释实际工作中主要应用结合我们的AWR报告关键点Oracle动态视图实战之v$active_session_history先看下官方解释Samples
2023-03-08

详解12c的v$pwfile_user视图和Oracle11g区别

我们一起看看详解12c的v$pwfile_user视图和Oracle11g区别。V$PWFILE_USERS 列出的是password文件里已授予sysdba、sysoper权限的用户,如果查询没有记录,那就有可能没有了password文件了,没有了密码文件当然sqlplus sys/xx as sysdba这种用sys用sysdba用户就无法登录了。下面介绍一下11g和12c的v$pwfile_user视图。
详解12c的v$pwfile_user视图和Oracle11g区别
2024-04-23

Oracle v$session视图显示客户端IP地址

在Oracle数据库中,我们使用session相关视图(v$session、v$active_session_history,dba_hist_active_session_history等)查找问题时,往往可以定位到相应的主机名,但是,想要更进一步查找IP地
Oracle v$session视图显示客户端IP地址
2018-03-02

Vue的v-if和v-show的区别图文介绍

这篇文章主要介绍了Vue的v-if和v-show的区别图文介绍,本文通过示例代码给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下
2023-03-06

vue中v-for数据状态值变了但视图没改变如何解决

本文小编为大家详细介绍“vue中v-for数据状态值变了但视图没改变如何解决”,内容详细,步骤清晰,细节处理妥当,希望这篇“vue中v-for数据状态值变了但视图没改变如何解决”文章能帮助大家解决疑惑,下面跟着小编的思路慢慢深入,一起来学习
2023-07-02

编程热搜

目录