Oracle 视图 V$FIXED_VIEW_DEFINITION 官方解释,作用,如何使用详细说明

本站中文解释

Oracle 视图 V$FIXED_VIEW_DEFINITION 是 Oracle 数据库中提供的一个固定视图,提供系统内置视图定义信息。该视图表中存储了系统中每一个固定视图的定义信息,包括视图名称、定义 SQL 语句和视图所属的 schema 信息等。用户可以通过查询 V$FIXED_VIEW_DEFINITION 来查看系统中的所有固定视图的定义信息,这可以帮助用户更好的理解系统提供的数据库特性。同时,用户也可以利用 V$FIXED_VIEW_DEFINITION 中的信息,帮助开发者对系统的 SQL 语句进行优化。

官方英文解释

V$FIXED_VIEW_DEFINITION contains the definitions of all the fixed views (views beginning with V$).

Use this table with caution. Oracle tries to keep the behavior of fixed views the same from release to release, but the definitions of the fixed views can change without notice. Use these definitions to optimize your queries by using indexed columns of the dynamic performance tables.

Column Datatype Description

VIEW_NAME

VARCHAR2(128)

Name of the fixed view

VIEW_DEFINITION

VARCHAR2(4000)

Definition of the fixed view

CON_ID

NUMBER

The 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


数据运维技术 » Oracle 视图 V$FIXED_VIEW_DEFINITION 官方解释,作用,如何使用详细说明