77范文网 - 专业文章范例文档资料分享平台

Oracle-1z0-060new(5)

来源:网络收集 时间:2018-11-21 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

Oracle 1z0-060 : Practice Test

status of, for example, a database backup.

Applications may use the SET_SESSION_LONGOPS procedure to advertise informationon the progress of application specific long running tasks so that the progress can bemonitored by way of the V$SESSION_LONGOPS view.

Question No : 25Identify two valid options for adding a pluggable database (PDB) to an existing multitenantcontainer database (CDB).

A. Use the CREATE PLUGGABLE DATABASE statement to create a PDB using the filesfrom the SEED.

B. Use the CREATE DATABASE . . . ENABLE PLUGGABLE DATABASE statement toprovision a PDB by copying file from the SEED.

C. Use the DBMS_PDB package to clone an existing PDB.

D. Use the DBMS_PDB package to plug an Oracle 12c non-CDB database into an existingCDB.

E. Use the DBMS_PDB package to plug an Oracle 11 g Release 2 (11.2.0.3.0) non-CDBdatabase into an existing CDB.

Answer: A,D

Question No : 26Your database supports a DSS workload that involves the execution of complex queries:Currently, the library cache contains the ideal workload for analysis. You want to analyzesome of the queries for an application that are cached in the library cache.

What must you do to receive recommendations about the efficient use of indexes andmaterialized views to improve query performance?

A. Create a SQL Tuning Set (STS) that contains the queries cached in the library cacheand run the SQL Tuning Advisor (STA) on the workload captured in the STS. B. Run the Automatic Workload Repository Monitor (ADDM).

C. Create an STS that contains the queries cached in the library cache and run the SQL

21

Oracle 1z0-060 : Practice Test

Performance Analyzer (SPA) on the workload captured in the STS.

D. Create an STS that contains the queries cached in the library cache and run the SQLAccess Advisor on the workload captured in the STS.

Answer: D

Explanation: * SQL Access Advisor is primarily responsible for making schema

modification recommendations, such as adding or dropping indexes and materialized

views. SQL Tuning Advisor makes other types of recommendations, such as creating SQLprofiles and restructuring SQL statements.

* The query optimizer can also help you tune SQL statements. By using SQL Tuning

Advisor and SQL Access Advisor, you can invoke the query optimizer in advisory mode toexamine a SQL statement or set of statements and determine how to improve theirefficiency. SQL Tuning Advisor and SQL Access Advisor can make various

recommendations, such as creating SQL profiles, restructuring SQL statements, creatingadditional indexes or materialized views, and refreshing optimizer statistics.

Note:

* Decision support system (DSS) workload

* The library cache is a shared pool memory structure that stores executable SQL andPL/SQL code. This cache contains the shared SQL and PL/SQL areas and controlstructures such as locks and library cache handles.

Reference: Tuning SQL Statements

Question No : 27The following parameter are set for your Oracle 12c database instance:

OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES=FALSE

OPTIMIZER_USE_SQL_PLAN_BASELINES=TRUE

You want to manage the SQL plan evolution task manually. Examine the following steps:

1. Set the evolve task parameters.

2. Create the evolve task by using the DBMS_SPM.CREATE_EVOLVE_TASK function.

22

Oracle 1z0-060 : Practice Test

3. Implement the recommendations in the task by using theDBMS_SPM.IMPLEMENT_EVOLVE_TASK function.

4. Execute the evolve task by using the DBMS_SPM.EXECUTE_EVOLVE_TASK function.

5. Report the task outcome by using the DBMS_SPM.REPORT_EVOLVE_TASK function.

Identify the correct sequence of steps:

A. 2, 4, 5

B. 2, 1, 4, 3, 5 C. 1, 2, 3, 4, 5 D. 1, 2, 4, 5

Answer: B

Explanation: * Evolving SQL Plan Baselines

Description of Figure 23-4 follows *

2. Create the evolve task by using the DBMS_SPM.CREATE_EVOLVE_TASK function. This function creates an advisor task to prepare the plan evolution of one or more plans fora specified SQL statement. The input parameters can be a SQL handle, plan name or a listof plan names, time limit, task name, and description. 1. Set the evolve task parameters. SET_EVOLVE_TASK_PARAMETER

This function updates the value of an evolve task parameter. In this release, the only validparameter is TIME_LIMIT.

23

Oracle 1z0-060 : Practice Test

4. Execute the evolve task by using the DBMS_SPM.EXECUTE_EVOLVE_TASK function. This function executes an evolution task. The input parameters can be the task name,execution name, and execution description. If not specified, the advisor generates thename, which is returned by the function. 3: IMPLEMENT_EVOLVE_TASK

This function implements all recommendations for an evolve task. Essentially, this functionis equivalent to using ACCEPT_SQL_PLAN_BASELINE for all recommended plans. Inputparameters include task name, plan name, owner name, and execution name. 5. Report the task outcome by using the DBMS_SPM_EVOLVE_TASK function.

This function displays the results of an evolve task as a CLOB. Input parameters includethe task name and section of the report to include.

Reference: Oracle Database SQL Tuning Guide 12c, Managing SQL Plan Baselines

Question No : 28In a recent Automatic Workload Repository (AWR) report for your database, you notice ahigh number of buffer busy waits. The database consists of locally managed tablespaceswith free list managed segments.

On further investigation, you find that buffer busy waits is caused by contention on datablocks.

Which option would you consider first to decrease the wait event immediately?

A. Decreasing PCTUSED B. Decreasing PCTFREE

C. Increasing the number of DBWN process

D. Using Automatic Segment Space Management (ASSM)

E. Increasing db_buffer_cache based on the V$DB_CACHE_ADVICE recommendation

Answer: D

Explanation: * Automatic segment space management (ASSM) is a simpler and moreefficient way of managing space within a segment. It completely eliminates any need tospecify and tune the pctused,freelists, and freelist groups storage parameters for schemaobjects created in the tablespace. If any of these attributes are specified, they are ignored.

24

Oracle 1z0-060 : Practice Test

* Oracle introduced Automatic Segment Storage Management (ASSM) as a replacementfor traditional freelists management which used one-way linked-lists to manage free blockswith tables and indexes. ASSM is commonly called \Oracle implement the internal data structures for free block management.

Note:

* Buffer busy waits are most commonly associated with segment header contention onsidethe data buffer pool (db_cache_size, etc.).

* The most common remedies for high buffer busy waits include database writer (DBWR)contention tuning, adding freelists (or ASSM), and adding missing indexes.

Question No : 29Examine this command:

SQL > exec DBMS_STATS.SET_TABLE_PREFS (‘SH’, ‘CUSTOMERS’, ‘PUBLISH’,‘false’);

Which three statements are true about the effect of this command?

A. Statistics collection is not done for the CUSTOMERS table when schema stats aregathered.

B. Statistics collection is not done for the CUSTOMERS table when database stats aregathered.

C. Any existing statistics for the CUSTOMERS table are still available to the optimizer atparse time.

D. Statistics gathered on the CUSTOMERS table when schema stats are gathered arestored as pending statistics.

E. Statistics gathered on the CUSTOMERS table when database stats are gathered arestored as pending statistics.

Answer: C,D,E

Explanation: * SET_TABLE_PREFS Procedure

This procedure is used to set the statistics preferences of the specified table in thespecified schema.

* Example:

25

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库Oracle-1z0-060new(5)在线全文阅读。

Oracle-1z0-060new(5).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/zonghe/291378.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: