Oracle 视图 DBA_HIST_BASELINE_TEMPLATE 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图DBA_HIST_BASELINE_TEMPLATE主要描述了诊断框架中的性能基线模板,该视图下包括BASELINE_TEMPLATE_ID,NAME,TYPE,NOTE,STATUS,COLLECT_VALUE,CREATOR,CREATE_TIME,MODIFIER,MODIFY_TIME四个字段。
BASELINE_TEMPLATE_ID:为对应记录唯一标识符,无重复值;
NAME:性能基线模板的名称;
TYPE:性能基线模板类型;
NOTE:模板的具体说明;
STATUS:当前性能基线模板的状态;
COLLECT_VALUE:定义的数据收集的值;
CREATOR:创建性能基线模板的用户;
CREATE_TIME:性能基线模板创建时间;
MODIFIER:最后对性能基线模板有修改的用户;
MODIFY_TIME:最后修改性能基线模板信息的时间戳。
使用Oracle视图DBA_HIST_BASELINE_TEMPLATE可以实现以下功能:
1. 查看已经存在的性能基线模板信息:
SELECT * FROM DBA_HIST_BASELINE_TEMPLATE;
2. 查看特定性能基线模板的信息:
SELECT * FROM DBA_HIST_BASELINE_TEMPLATE WHERE BASELINE_TEMPLATE_ID=XXXX;
3. 按时间检索性能基线模板信息:
SELECT * FROM DBA_HIST_BASELINE_TEMPLATE WHERE CREATE_TIME>=XXXX AND CREATE_TIME
官方英文解释
DBA_HIST_BASELINE_TEMPLATE
displays the templates used by the system for baseline generation.
The system uses this information to determine which baselines should be automatically created or removed.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Database ID |
|
|
|
Internal ID for the template |
|
|
|
Name of the template |
|
|
|
Type of the template, as follows:
|
|
|
|
Name to use for the baselines that are created: For a template type of For a template type of |
|
|
|
For a template type of For a template type of |
|
|
|
For a template type of For a template type of |
|
|
For a template type of |
|
|
|
For a template type of |
|
|
|
For a template type of |
|
|
|
How long to keep the baseline, in number of days |
|
|
|
String that represents the time repeating information in the format used by the |
|
|
|
Last time a baseline was generated for this template |
|
|
|
The ID of the container to which the data pertains. Possible values include:
|
See Also:
Oracle Database PL/SQL
Packages and Types Reference for more information about the DBMS_SCHEDULER
package