博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
053(四十五)
阅读量:7064 次
发布时间:2019-06-28

本文共 3643 字,大约阅读时间需要 12 分钟。

221、

221.To generate recommendations to improve the performance of a set of SQL queries in an application, you execute the following blocks of code:BEGIN dbms_advisor.create_task(dbms_advisor.sqlaccess_advisor,'TASK1'); END;/BEGIN dbms_advisor.set_task_parameter('TASK1','ANALYSIS_SCOPE','ALL'); dbms_advisor.set_task_parameter('TASK1','MODE','COMPREHENSIVE');END;/BEGINdbms_advisor.execute_task('TASK1');dbms_output.put_line(dbms_advisor.get_task_script('TASK1'));END;/The blocks of code execute successfully; however, you do not get the required outcome.What could be the reason?A. A template needs to be associated with the task.B. A workload needs to be associated with the task.C. The partial or complete workload scope needs to be associated with the task.D. The type of structures (indexes, materialized views, or partitions) to be recommended need to be specified for the task.

 

 

222、

222.You are managing an Oracle Database 11g instance with ASM storage. The ASM instance is down. To know the details of the disks in the DATA disk group , you issued the following ASMCMD command:ASMCMD> lsdsk -I -d DATA Which statement is true regarding the outcome of this command?A. The command succeeds but it retrieves only the disk names.B. The command produces an error because the ASM instance is down.C. The command succeeds but it shows only the status of the ASM instance.D. The command succeeds and retrieves information by scanning the disk headers based on an ASM_DISKSTRING value.

 

 

223、

223.You plan to set up the Automatic Workload Repository (AWR) baseline metric thresholds for a moving window baseline. Which action would you take before performing this task?A. Compute the baseline statistics.B. Take an immediate AWR snapshot.C. Decrease the window size for the baseline.D. Decrease the expiration time for the baseline.

 

224、

224.You need to create a partitioned table to store historical data and you issued the following command:CREATE TABLE purchase_interval PARTITION BY RANGE (time_id) INTERVAL (NUMTOYMINTERVAL(1,'month')) STORE IN (tbs1,tbs2,tbs3) ( PARTITION p1 VALUES LESS THAN(TO_DATE('1-1-2005', 'dd-mm-yyyy')), PARTITION p2 VALUES LESS THAN(TO_DATE('1-1- 2007', 'dd-mm-yyyy'))) AS SELECT * FROM purchases WHERE time_id < TO_DATE('1-1-2007','dd-mm-yyyy');What is the outcome of the above command?A. It returns an error because the range partitions P1 and P2 should be of the same range.B. It creates two range partitions (P1, P2). Within each range partition, it creates monthwise subpartitions.C. It creates two range partitions of varying range. For data beyond '1-1-2007,' it creates partitions with a width of one month each.D. It returns an error because the number of tablespaces (TBS1,TBS2,TBS3)specified does not match the number of range partitions (P1,P2) specified.

 

225、View the Exhibit to examine the Automatic Database Diagnostic Monitor (ADDM) tasks. You executed the following commands:

SQL> VAR tname VARCHAR2(60);

SQL> BEGIN :tname := 'my_instance_analysis_mode_task';
DBMS_ADDM.INSERT_SEGMENT_DIRECTIVE(:tname,'Sg_directive','SCOTT');
END;
Which statement describes the consequence?

A. The ADDM task is filtered to suppress the Segment Advisor suggestions for the SCOTT schema.B. The ADDM task is filtered to produce the Segment Advisor suggestions for the SCOTT schema only.C. The PL/SQL block produces an error because the my_instance_analysis_mode_task task has not been reset to its initial state.D. All subsequent ADDM tasks including my_instance_analysis_mode_task are filtered to suppress the Segment Advisor suggestions for the SCOTT schema.

 

转载于:https://www.cnblogs.com/huanhuanang/p/5429653.html

你可能感兴趣的文章
webservice—验证磨刀不误砍柴工的真理
查看>>
oralce切换归档模式并热备
查看>>
ghost 恢复和安装系统
查看>>
Log4j.properties配置详解
查看>>
cisco 端口映射
查看>>
VMware HA环境搭建九:VMware HA的环境创建
查看>>
Android学习初感觉
查看>>
二叉树详解
查看>>
ECS之初体验
查看>>
我的友情链接
查看>>
【风云原创】Flash技术将被Html5枪毙,Silverlight将何去何从?
查看>>
power shell测试wmi
查看>>
话里话外:成功CEO的用人之道——按需激励
查看>>
openwrt无线连接互联网的实现原理【1】
查看>>
WPS for Linux(ubuntu)字体配置(字体缺失解决办法)
查看>>
谷歌为Pwnium***竞赛再掷重金 将提供200万美元奖金
查看>>
搭建K8S高可用集群(二进制方式)
查看>>
BSON与JSON的区别
查看>>
我的友情链接
查看>>
Play Framework 模板里使用注入访问数据层
查看>>