Oracle 视图 ALL_ANALYTIC_VIEW_KEYS_AE 官方解释,作用,如何使用详细说明
本站中文解释
ALL_ANALYTIC_VIEW_KEYS_AE视图是Oracle数据库11gR2以后提供的一种视图,主要用于查询和管理Anrolitic Views的元数据信息,使用这个视图可以获取对象的详细信息,包括对象的字段,滚定窗口特性,分组特性,以及与该视图相关联的特殊索引(specialized indexes)和特殊并行化设置(specialized parallel settings)。
要使用这个视图,首先需要获取连接时所在用户的两个信息:用户名和命名空间,一般用下面这个SQL语句来获取:
SELECT USERNAME, NAMESPACE FROM USER$;
接下来使用你获取到的信息构建查询语句,你可以查询出属于特定命名空间的所有Analytic Views的相关信息:
SELECT * FROM ALL_ANALYTIC_VIEW_KEYS_AE WHERE NAMESPACE = ‘your_space’ ORDER BY NAME;
官方英文解释
ALL_ANALYTIC_VIEW_KEYS_AE
describes the key columns of the attribute dimensions in the analytic views (across all editions) accessible to the current user.
The keys reference attributes of the attribute dimensions of the analytic view.
Related Views
-
DBA_ANALYTIC_VIEW_KEYS_AE
describes the key columns of the attribute dimensions in all analytic views (across all editions) in the database. -
USER_ANALYTIC_VIEW_KEYS_AE
describes the key columns of the attribute dimensions in the analytic views (across all editions) owned by the current user. This view does not display theOWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of analytic view |
|
|
|
Name of the analytic view |
|
|
Alias of the attribute dimension in the analytic view |
|
|
|
Table alias of the key column |
|
|
|
|
Name of the column for the key |
|
|
Name of the referenced attribute dimension attribute |
|
|
|
|
Order number of the key in the list of keys in the analytic view |
|
|
The ID of the container where the data originates. Possible values include:
|
|
|
|
Name of the application edition where the analytic view is defined |
Note:
This view is available starting with Oracle Database release 21c, version 21.5.
See Also:
-
“DBA_ANALYTIC_VIEW_KEYS_AE”
-
“USER_ANALYTIC_VIEW_KEYS_AE”