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

本站中文解释

ALL_CUBE_DIM_VIEWS视图描述数据库中每个多维数据集中每个维度的元数据信息。它提供一种方便的方式来检索数据仓库中存储的维度层次结构。

使用方法:

1. 检索ALL_CUBE_DIM_VIEWS视图的元数据:
SELECT * FROM ALL_CUBE_DIM_VIEWS;

2. 检索特定数据集的维度信息:
SELECT * FROM ALL_CUBE_DIM_VIEWS WHERE CUBE_NAME = ‘DataWarehouse’;

3. 检索指定数据集中指定维度的元数据信息:
SELECT * FROM ALL_CUBE_DIM_VIEWS WHERE CUBE_NAME = ‘DataWarehouse’
AND DIMENSION_NAME = ‘Geography’;

官方英文解释

ALL_CUBE_DIM_VIEWS describes the relational views of the OLAP dimensions accessible to the current user.

Related Views

  • DBA_CUBE_DIM_VIEWS describes the relational views of all OLAP dimensions in the database.

  • USER_CUBE_DIM_VIEWS describes the relational views of the OLAP dimensions owned by the current user. This view does not display the OWNER column.

Column Datatype NULL Description

OWNER

VARCHAR2(128)

NOT NULL

Owner of the cube dimension

DIMENSION_NAME

VARCHAR2(128)

NOT NULL

Name of a cube dimension, such as PRODUCT

VIEW_NAME

VARCHAR2(128)

NOT NULL

Name of a view of the cube dimension, such as PRODUCT_VIEW

See Also:

  • “DBA_CUBE_DIM_VIEWS”

  • “USER_CUBE_DIM_VIEWS”


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