Oracle 视图 DBA_HIST_MEMORY_RESIZE_OPS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图DBA_HIST_MEMORY_RESIZE_OPS存储了内存调整操作的历史信息。它可以报告已经完成的内存重组操作,及时跟踪内存调整和内存重组操作对于性能的影响。可以使用该视图查询是何种操作导致内存量调整,查看相应调整操作的执行情况,以及相应的耗时,操作时间,最大内存量,最小内存等信息。该视图可以帮助DBA优化数据库的性能,增强数据库可伸缩性,以满足优化内存大小的变化需求。
使用方法:
1.检查内存调整操作的历史:
SELECT * FROM dba_hist_memory_resize_ops;
2. 查询历史内存重组操作的消耗时间:
SELECT ELAPSED_TIME_DELTA, MAX_SIZE, MIN_SIZE FROM dba_hist_memory_resize_ops;
3. 查询具体内存调整操作信息:
SELECT * FROM dba_hist_memory_resize_ops WHERE OPERATION=’RESIZE’;
官方英文解释
DBA_HIST_MEMORY_RESIZE_OPS
displays memory resize operations history.
This view contains snapshots of V$MEMORY_RESIZE_OPS
.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Unique snapshot ID |
|
|
|
Database ID for the snapshot |
|
|
|
Instance number for the snapshot |
|
|
|
Component name |
|
|
|
Operation type:
|
|
|
|
Start time of the operation |
|
|
|
End time of the operation |
|
|
|
Requested value of the parameter after the resize |
|
|
Operation mode:
|
|
|
|
Name of the parameter for the resize operation |
|
|
|
Parameter value at the start of the operation |
|
|
|
Real value of the parameter after the resize |
|
|
|
Completion status of the operation:
|
|
|
|
The database ID of the PDB for the sampled session |
|
|
|
The ID of the container that
|
See Also:
“V$MEMORY_RESIZE_OPS”