Oracle 视图 DBA_HIST_BASELINE_DETAILS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图DBA_HIST_BASELINE_DETAILS主要用于展示有关当前数据库基准线的信息,可用于确定活动基准线和已删除基准线的基本信息,例如基准线名称,基准线失效日期以及它是否为活动基准线。
使用方法:
第一步:查询所有基准线:
SELECT * FROM DBA_HIST_BASELINE_DETAILS;
第二步:查询特定基准线:
SELECT * FROM DBA_HIST_BASELINE_DETAILS WHERE BASELINE_NAME = ‘&BASELINE_NAME’;
第三步:检查特定参数的值:
SELECT value as parameter_value
FROM DBA_HIST_BASELINE_DETAILS
WHERE BASELINE_NAME = ‘&BASELINE_NAME’
AND PARAMETER_NAME = ‘&PARAMETER_NAME’;
官方英文解释
DBA_HIST_BASELINE_DETAILS
displays details about the baseline.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
Database ID |
|
|
|
Instance ID for the baseline data |
|
|
|
Internal ID for the baseline |
|
|
|
User-specified name for the baseline |
|
|
|
The baseline type, as follows:
|
|
|
|
Start snapshot ID for the baseline |
|
|
|
Start snapshot time for the baseline |
|
|
|
End snapshot ID for the baseline |
|
|
|
End snapshot time for the baseline |
|
|
|
Whether or not there is a database startup or shutdown in this interval ( |
|
|
|
Number of errors in the snapshots in the baseline snapshot range |
|
|
|
Amount of time captured in snapshots, divided by the total possible time for this baseline |
|
|
|
Last time that statistics were computed on the baseline |
|
|
|
If If NULL, then the window size is the value of the AWR retention setting. |
|
|
|
Time the baseline was created |
|
|
|
How long to keep the baseline, in number of days. A value of NULL indicates that the baseline will be kept forever. |
|
|
|
Name of the template that created this baseline, if any. |
|
|
|
The ID of the container to which the data pertains. Possible values include:
|