053第18

8.You create a new Automatic Database Diagnostic Monitor (ADDM) task:

instance_analysis_mode_task. To view the ADDM report, you use the following command:

SQL> SELECT dbms_addm.get_report(‘my_instance_analysis_mode_task‘) FROM dual;

You want to suppress ADDM output relating to Segment Advisor actions on user SCOTT‘s segments.

What would you do to achieve this?

A. Add a finding directive for the ADDM task.

B. Add a segment directive for the ADDM task.

C. Add a parameter directive for the ADDM task.

D. Disable the Segment Advisor from the Automatic Maintenance Task.

Answer: B

INSERT_SEGMENT_DIRECTIVE Procedure

This procedure creates a directive to prevent ADDM from creating actions to "run Segment Advisor" for specific segments. The directive can be created for a specific task (only when the task is in INITIAL status),
or for all subsequently created ADDM tasks (such as a system directive).

Syntax

DBMS_ADDM.INSERT_SEGMENT_DIRECTIVE (
   task_name             IN VARCHAR2,
   dir_name              IN VARCHAR2,
   owner_name            IN VARCHAR2,
   object_name           IN VARCHAR2 := NULL,
   sub_object_name       IN VARCHAR2 := NULL);
DBMS_ADDM.INSERT_SEGMENT_DIRECTIVE (
   task_name             IN VARCHAR2,
   dir_name              IN VARCHAR2,
   object_number         IN NUMBER);

Parameters

Table 16-14 INSERT_SEGMENT_DIRECTIVE Procedure Parameters

Parameter Description

task_name


Name of the task this directive applies to. If the value is NULL, it applies
to all subsequently created ADDM Tasks.


dir_name


Name of the directive. All directives must be given unique names.


owner_name


Specifies the owner of the segment/s to be filtered. A wildcard is allowed in the same syntax used for "like" constraints.


object_name


Name of the main object to be filtered. Again, wildcards are allowed. The default value of NULL is
equivalent to a value of ‘%‘.


sub_object_name


Name of the part of the main object to be filtered. This could be a partition name, or even sub partitions (separated by a ‘.‘). Again, wildcards are allowed. The default value of NULL is
equivalent to a value of ‘%‘.


object_number


Object number of the SEGMENT that this directive is to filter, found in
viewsDBA_OBJECTS or DBA_SEGMENTS

Examples

A new ADDM task is created to analyze a local instance. However, it has special treatment for all segments that belong to user SCOTT.
The result of GET_REPORTdoes not show actions for running Segment advisor
for segments that belong to SCOTT.

var tname VARCHAR2(60);
BEGIN
  DBMS_ADDM.INSERT_SEGMENT_DIRECTIVE(NULL,
                                     ‘my Segment directive‘,
                                     ‘SCOTT‘);
  :tname := ‘my_instance_analysis_mode_task‘;
  DBMS_ADDM.ANALYZE_INST(:tname, 1, 2);
END;

INSERT_FINDING_DIRECTIVE Procedure

This procedure creates a directive to limit reporting of a specific finding type. The directive can be created for a specific task (only when the task is in INITIALstatus),
or for all subsequently created ADDM tasks (such as a system directive).

Syntax

DBMS_ADDM.INSERT_FINDING_DIRECTIVE (
   task_name             IN VARCHAR2,
   dir_name              IN VARCHAR2,
   finding_name          IN VARCHAR2,
   min_active_sessions   IN NUMBER := 0,
   min_perc_impact       IN NUMBER := 0);

Parameters

Table 16-12 INSERT_FINDING_DIRECTIVE Procedure Parameters

Parameter Description

task_name


Name of the task this directive applies to. If the value is NULL, it applies
to all subsequently created ADDM Tasks.


dir_name


Name of the directive. All directives must be given unique names.


finding_name


Name of an ADDM finding to which this directive applies. All valid findings names appear in the NAME column
of view DBA_ADVISOR_FINDING_NAMES.


min_active_sessions


Minimal number of active sessions for the finding. If a finding has less than this number, it is filtered from the ADDM result.


min_perc_impact


Minimal number for the "percent impact" of the finding relative to total database time in the analysis period. If the finding‘s impact is less than this number, it is filtered from the ADDM result.

INSERT_PARAMETER_DIRECTIVE Procedure

This procedure creates a directive to prevent ADDM from creating actions to alter the value of a specific system parameter. The directive can be created for a specific task (only when the task is in INITIAL status),
or for all subsequently created ADDM tasks (such as a system directive).

Syntax

DBMS_ADDM.INSERT_PARAMETER_DIRECTIVE (
   task_name             IN VARCHAR2,
   dir_name              IN VARCHAR2,
   parameter_name        IN VARCHAR2);

Parameters

Table 16-13 INSERT_PARAMETER_DIRECTIVE Procedure Parameters

Parameter Description

task_name


Name of the task this directive applies to. If the value is NULL, it applies
to all subsequently created ADDM Tasks.


dir_name


Name of the directive. All directives must be given unique names.


parameter_name


Specifies the parameter to use. Valid parameter names appear inV$PARAMETER.

版权声明:本文为博主原创文章,未经博主允许不得转载。

时间: 2024-09-12 00:35:35

053第18的相关文章

最邻近分类

数据集seeds.tsv 15.26 14.84 0.871 5.763 3.312 2.221 5.22 Kama 14.88 14.57 0.8811 5.554 3.333 1.018 4.956 Kama 14.29 14.09 0.905 5.291 3.337 2.699 4.825 Kama 13.84 13.94 0.8955 5.324 3.379 2.259 4.805 Kama 16.14 14.99 0.9034 5.658 3.562 1.355 5.175 Kama

FCM详解

主程序: function [center, U, obj_fcn] = FCMClust(data, cluster_n, options)     % 采用模糊C均值对数据集data聚为cluster_n类      % 用法:     %   1.  [center,U,obj_fcn] = FCMClust(Data,N_cluster,options);     %   2.  [center,U,obj_fcn] = FCMClust(Data,N_cluster);     % 输

聚类-K均值

数据来源:http://archive.ics.uci.edu/ml/datasets/seeds 15.26 14.84 0.871 5.763 3.312 2.221 5.22 Kama 14.88 14.57 0.8811 5.554 3.333 1.018 4.956 Kama 14.29 14.09 0.905 5.291 3.337 2.699 4.825 Kama 13.84 13.94 0.8955 5.324 3.379 2.259 4.805 Kama 16.14 14.99

阈值分类法

数据集:seeds.tsv 15.26 14.84 0.871 5.763 3.312 2.221 5.22 Kama 14.88 14.57 0.8811 5.554 3.333 1.018 4.956 Kama 14.29 14.09 0.905 5.291 3.337 2.699 4.825 Kama 13.84 13.94 0.8955 5.324 3.379 2.259 4.805 Kama 16.14 14.99 0.9034 5.658 3.562 1.355 5.175 Kama

arcgis10.3 报 Lock request conflicts with an established lock。

Windows PowerShell版权所有 (C) 2014 Microsoft Corporation.保留所有权利. PS C:\Users\Administrator> sqlplus sys/[email protected] as sysdba SQL*Plus: Release 11.2.0.1.0 Production on 星期一 3月 5 17:49:27 2018 Copyright (c) 1982, 2010, Oracle.  All rights reserved.

OCP 11G 053题库解析汇总链接(1-200)

Oracle OCP 11G 053(1-200)答案解析目录 V13.02版本,711题 File Version: 3.2,200题 Version: 5.4 1 http://blog.csdn.net/rlhua/article/details/16369867 490 2 http://blog.csdn.net/rlhua/article/details/16527169 491 3 http://blog.csdn.net/rlhua/article/details/1405714

互测六 题解 9.18 圆润的多边形&Takuji与信徒

圆润的多边形: 我们可将所求图形划分如下: 绿色部分是一凸多边形,红色部分为若干个长方形,蓝色部分为若干个扇形. 易证:1.蓝色部分的总和是一个半径为r的整圆:2.红色部分的总和=凸多边形周长*r. 那么现在就只剩下如何计算的问题. 1.对于前12.5%数据,r=0且点坐标成顺时针排列,那么直接作为凸多边形来计算即可: 2.对于前50%数据,点坐标成顺时针排列,这个部分分的做法...我也没想出来... 这是为什么呢...因为这个题,是我受了洛谷P1513的启发而脑补出来的,这道题中有"点坐标成顺

中国VR人才需求占全球18%排名第二,UE4技术美术人才万金难求

虚拟现实持续火爆,行业市场规模也随之水涨船高,未来医疗.娱乐.房地产.教育.旅游等领域还将继续拓展VR技术的应用.资本的入局和技术的发展已经相对稳定,VR行业必将迎来更为迅猛的发展阶段. VR在中国的快速发展有目共睹,短短两年时间已经形成了较为完善的产业链,令人惊叹.而与产业链的快速发展形成鲜明对比的,却是人才的远远落后.近期,全球最大的职场社交平台领英针对全球VR人才进行了一次全面扫描.数据显示,美国VR人才占全球40%,需求占比48%,而中国人才仅为2%,需求却占全球18%,人才短缺现象十分

编译安装Apache(httpd-2.4.18)

httpd有rpm和源码编译的方法,下面介绍一下源码编译安装的方法: 操作系统版本: # cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.5 (Santiago) 软件版本:httpd-2.4.18.tar.bz2 下载地址:http://apache.fayea.com/httpd/ 因为2.4版本的http的依赖apr-util.apr和pcre,所以还需要分别安装 软件版本:apr-1.5.2.tar.gz