Oracle 视图 V$ZONEMAP_USAGE_STATS 官方解释,作用,如何使用详细说明
本站中文解释
V$ZONEMAP_USAGE_STATS视图是用来显示与Zone Map 有关统计信息的视图,其中包括一些常见操作,如读取数据块、写数据块、检查及更新表空间区域等等。这个视图最适合用来检查数据库空间块使用情况以及表空间区域检查和更新的比例。
使用方法:
1. 查询数据库块使用情况:
SELECT tablespace_name, SUM(reads) read_count, SUM(writes) write_count
FROM V$ZONEMAP_USAGE_STATS
GROUP BY tablespace_name;
2. 查询表空间区域更新情况:
SELECT tablespace_name, SUM(zone_map_verifies) verify_count, SUM(zone_map_updates) update_count
FROM V$ZONEMAP_USAGE_STATS
GROUP BY tablespace_name;
官方英文解释
V$ZONEMAP_USAGE_STATS
displays zone map usage statistics.
Column | Datatype | Description |
---|---|---|
|
|
Name of the zone map in the form of owner.name |
|
|
Type of data pruning performed using the zone map |
|
|
Number of executions, including parallel slave executions |
|
|
Base count accumulated over number of executions |
|
|
Pruned count accumulated over number of executions |
|
|
The ID of the container to which the data pertains. Possible values include:
|
The ratio (PRUNED_COUNT / BASE_COUNT
) shows the fraction of data pruned by the zone map.