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

本站中文解释

视图

ALL_CUBE_DIM_LEVELS视图用于存储数据仓库中多维数据集(MDDS)的各维度层级信息。它显示出每个多维度的层级数据,包括维度级别的DBMS列名,维度的层次名,及其父层次序号,多维度层次的类型,等等。

使用说明:

1、使用SELECT * FROM all_cube_dim_levels WHERE cube_name = ‘cube_name’语句可以查询指定Cube的维度层次信息,cube_name表示cube 的名称。

2、使用SELECT * FROM all_cube_dim_levels WHERE owner = ‘c##app_user’ AND cube_name = ‘cube_name’语句可以查询指定schema下的指定cube的维度层次信息,owner表示scheama的名称。

3、使用SELECT * FROM all_cube_dim_levels WHERE owner = ‘c##app_user’ AND cube_name = ‘cube_name’
AND dim_name = ‘dim_name’语句可以查询指定schema下的指定cube的指定维度的维度层次信息,dim_name表示维度名称。

官方英文解释

ALL_CUBE_DIM_LEVELS describes the OLAP dimension levels accessible to the current user.

Related Views

  • DBA_CUBE_DIM_LEVELS describes all OLAP dimension levels in the database.

  • USER_CUBE_DIM_LEVELS describes the OLAP dimension levels 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 dimension

DIMENSION_NAME

VARCHAR2(128)

NOT NULL

Name of a dimension, such as CUSTOMER

LEVEL_NAME

VARCHAR2(128)

NOT NULL

Name of a level in the dimension, such as WAREHOUSE

LEVEL_ID

NUMBER

NOT NULL

ID of the dimension level

DESCRIPTION

NVARCHAR2(300)

Description of the dimension level in the session language

See Also:

  • “DBA_CUBE_DIM_LEVELS”

  • “USER_CUBE_DIM_LEVELS”


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