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

本站中文解释

ALL_ANALYTIC_VIEW_LVLGRPS 是 Oracle 中的一个视图,它的用途是,通过每个用户的权限,来查询analytic view的等级分组定义,最多支持8组分组,即可提供多种查询维度,可以方便调整约束以及对某维度进行抽取,以及关联和多维查询中的结果改变等。
即,可通过 ALL_ANALYTIC_VIEW_LVLGRPS 视图来查询和管理用户拥有的 视图分组等级权限。

要使用此视图,可以执行如下查询:

SELECT *
FROM ALL_ANALYTIC_VIEW_LVLGRPS
WHERE USERNAME=’用户名’;

此查询将返回用户的视图分组等级的详细信息。

官方英文解释

ALL_ANALYTIC_VIEW_LVLGRPS describes the analytic view measure and level groups of the analytic views accessible to the current user.

Related Views

  • DBA_ANALYTIC_VIEW_LVLGRPS describes the analytic view measure and level groups of all analytic views in the database.

  • USER_ANALYTIC_VIEW_LVLGRPS describes the analytic view measure and level groups of the analytic views owned by the current user. This view does not display the OWNER column.

Column Datatype NULL Description

OWNER

VARCHAR2(128)

Owner of the analytic view

ANALYTIC_VIEW_NAME

VARCHAR2(128)

Name of the analytic view

CACHE_TYPE

VARCHAR2(128)

Type of the materialized view; one of the following:

  • DYNAMIC

  • MATERIALIZED (the default value)

DIMENSION_ALIAS

VARCHAR2(128)

Alias of the attribute dimension in the group

HIER_ALIAS

VARCHAR2(128)

Alias of the hierarchy associated with the attribute dimension in the group

LEVEL_NAME

VARCHAR2(128)

Name of the level in the hierarchy in the group

MEASURE_NAME

VARCHAR2(128)

Names of the measures in the group

MAT_TABLE_OWNERFoot 1 VARCHAR2(128)

If the schema for an aggregation table is specified for the analytic view, then the schema owner; otherwise NULL

MAT_TABLE_NAMEFoot 1 VARCHAR2(128)

If an aggregation table is specified for an analytic view, then the name of the materialized table; otherwise NULL

AV_LVLGRP_ORDER

NUMBER

Order of the groups in the analytic view

LEVEL_MEAS_ORDER

NUMBER

Order of the levels and measures in the group

ORIGIN_CON_ID

NUMBER

The ID of the container where the data originates. Possible values include:

  • 0: This value is used for rows in non-CDBs. This value is not used for CDBs.

  • n: This value is used for rows containing data that originate in the container with container ID n (n = 1 if the row originates in root).

Footnote 1 This column is available starting with Oracle Database 21c.

See Also:

  • “DBA_ANALYTIC_VIEW_LVLGRPS”

  • “USER_ANALYTIC_VIEW_LVLGRPS”


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