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

本站中文解释

Oracle 视图 V$MAP_FILE_EXTENT 表示描述打开文件中特定类型的卷的有关信息,用于在数据库被实例使用前跟踪操作系统文件。

该视图将包含多个字段,例如 FILE#,BLOCK#,BYTES,FILE_TYPE,RELATIVE_FNO,CURRENT_MAX_REFERENCES等。使用 SELECT * FROM v$map_file_extent 可以查询已经打开的文件的所有信息,而使用 WHERE FILE# = 可以查询指定文件的所有拓展信息。

V$MAP_FILE_EXTENT 用于诊断问题,可以检查文件类型,拓展和指向相应地址的引用数。这有助于实施例如文件IO等操作。

官方英文解释

V$MAP_FILE_EXTENT displays a list of all file extent mapping structures in the shared memory of the instance.

Column Datatype Description

FILE_MAP_IDX

NUMBER

File index (corresponds to FILE_MAP_IDX in V$MAP_FILE)

EXT_NUM

NUMBER

File extent number

EXT_ELEM_OFF

NUMBER

Element offset in HKB

EXT_SIZE

NUMBER

File extent size in HKB

EXT_FILE_OFF

NUMBER

File Offset in HKB

EXT_TYPE

VARCHAR2(6)

File Extent Type:

  • DATA

  • PARITY

  • NONE

ELEM_IDX

NUMBER

Index in V$MAP_ELEMENT corresponding to the element where the file extent resides

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$MAP_FILE_EXTENT 官方解释,作用,如何使用详细说明