ALL_DEPENDENCIES
视图 ALL_DEPENDENCIES 提供了当前用户可访问的数据库对象之间的相互依赖关系。
| 名称 | 类型 | 描述 |
|---|---|---|
| owner | text | 对象的所有者。 |
| name | text | 对象的名称。 |
| type | text | 对象的类型。 |
| referenced_owner | text | 被引用对象的所有者。 |
| referenced_name | text | 被引用对象的名称。 |
| referenced_type | text | 被引用对象的类型。 |
| dependency_type | text | 依赖的类型。 |
ALL_IND_COLUMNS
视图 ALL_IND_COLUMNS 提供在当前用户可访问数据表上定义的索引中所包含列的信息。
| 名称 | 类型 | 描述 |
|---|---|---|
| index_owner | TEXT | 索引所有者的用户名。 |
| index_name | TEXT | 索引的名称。 |
| table_owner | TEXT | 表所有者的用户名。 |
| table_name | TEXT | 索引所属表的名称。 |
| column_name | TEXT | 列的名称。 |
| column_position | SMALLINT | 在索引中列的位置。 |
| column_length | SMALLINT | 列的长度(以字节为单位)。 |
| descend | TEXT | 列是按降序(DESC)排序还是按升序(ASC)排序。 |
ALL_IND_PARTITIONS
视图 ALL_IND_PARTITIONS 展示对于当前用户可访问的每个索引分区,描述分区级分区信息、分区的存储参数以及 ANALYZE 语句收集的各种分区统计信息。
| 名称 | 类型 | 描述 |
|---|---|---|
| index_owner | text | 索引所有者的用户名。 |
| index_name | text | 索引的名称。 |
| partition_name | text | 分区的名称。 |
| table_owner | text | 分区表所有者的名称。 |
| table_name | text | 分区表的名称。 |
| high_value | text | 分区边界值表达式。 |
| high_value_length | integer | 分区边界值表达式的长度。 |
| partition_position | bigint | 在索引内分区的位置。 |
| tablespace_name | text | 包含分区的表空间的名称。 |
| logging | text | 对索引的更改是否记录日志。 |
| num_rows | real | 返回的行数。 |
| last_analyzed | timestamp with time zone | 最近对此分区进行 analyze 的日期。 |
ALL_IND_STATISTICS
视图 ALL_IND_STATISTICS 显示当前用户可以访问的表上的索引的优化器统计信息。
| 名称 | 类型 | 描述 |
|---|---|---|
| owner | text | 对象的名称。 |
| index_name | text | 索引的名称。 |
| table_owner | text | 索引所在表的所有者。 |
| table_name | text | 索引所在表的名称。 |
| partition_name | text | 分区的名字。 |
| partition_position | bigint | 在索引内分区的位置。 |
| object_type | text | 对象的类型。 |
| distinct_keys | double precision | 索引中不同键的数目。 |
| num_rows | real | 返回的行数。 |
| last_analyzed | timestamp with time zone | 最近对此分区进行 analyze 的日期。 |
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




