KillTest 质量更高 服务更好 学习资料 半年免费更新服务

Similar documents
KillTest 质量更高 服务更好 学习资料 半年免费更新服务

Oracle 4

KillTest 质量更高 服务更好 学习资料 半年免费更新服务

KillTest 质量更高 服务更好 学习资料 半年免费更新服务

Knowledge and its Place in Nature by Hilary Kornblith

目錄... ivv...vii Chapter DETECT

Microsoft Word - ORA doc

Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies to all d

K7VT2_QIG_v3

Oracle Database 10g: SQL (OCE) 的第一堂課

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc

Microsoft Word - Final Exam Review Packet.docx

UDC Empirical Researches on Pricing of Corporate Bonds with Macro Factors 厦门大学博硕士论文摘要库

學 科 100% ( 為 單 複 選 題, 每 題 2.5 分, 共 100 分 ) 1. 請 參 閱 附 圖 作 答 : (A) 選 項 A (B) 選 項 B (C) 選 項 C (D) 選 項 D Ans:D 2. 下 列 對 於 資 料 庫 正 規 化 (Normalization) 的 敘

ch_code_infoaccess

Microsoft Word - ChineseSATII .doc


Microsoft PowerPoint - ch6 [相容模式]

KillTest 质量更高 服务更好 学习资料 半年免费更新服务

天 主 教 輔 仁 大 學 社 會 學 系 學 士 論 文 小 別 勝 新 婚? 久 別 要 離 婚? 影 響 遠 距 家 庭 婚 姻 感 情 因 素 之 探 討 Separate marital relations are getting better or getting worse? -Exp

穨control.PDF

11.2 overview

VASP应用运行优化

目錄

IBM Rational ClearQuest Client for Eclipse 1/ IBM Rational ClearQuest Client for Ecl

<4D F736F F D205F FB942A5CEA668B443C5E9BB73A740B5D8A4E5B8C9A552B1D0A7F75FA6BFB1A4ACFC2E646F63>

東吳大學

季刊9web.indd

6-1 Table Column Data Type Row Record 1. DBMS 2. DBMS MySQL Microsoft Access SQL Server Oracle 3. ODBC SQL 1. Structured Query Language 2. IBM

Microsoft Word - (web)_F.1_Notes_&_Application_Form(Chi)(non-SPCCPS)_16-17.doc

Microsoft Word - template.doc

K301Q-D VRT中英文说明书141009

1.ai

untitled

1 o o o CPU o o o o o SQL Server 2005 o CPU o o o o o SQL Server o Microsoft SQL Server 2005

KillTest 质量更高 服务更好 学习资料 半年免费更新服务

PowerPoint Presentation

國 立 政 治 大 學 教 育 學 系 2016 新 生 入 學 手 冊 目 錄 表 11 國 立 政 治 大 學 教 育 學 系 博 士 班 資 格 考 試 抵 免 申 請 表 論 文 題 目 申 報 暨 指 導 教 授 表 12 國 立 政 治 大 學 碩 博 士 班 論

東莞工商總會劉百樂中學

PowerPoint Presentation

2 2 3 DLight CPU I/O DLight Oracle Solaris (DTrace) C/C++ Solaris DLight DTrace DLight DLight DLight C C++ Fortran CPU I/O DLight AM

Chn 116 Neh.d.01.nis

~ 10 2 P Y i t = my i t W Y i t 1000 PY i t Y t i W Y i t t i m Y i t t i 15 ~ 49 1 Y Y Y 15 ~ j j t j t = j P i t i = 15 P n i t n Y

Microsoft PowerPoint - TTCN-Introduction-v5.ppt

國家圖書館典藏電子全文

Microsoft PowerPoint - 05-SQL3-advanced.ppt

SQL: Interactive Queries (2)


HCD0174_2008

Windows XP

Serial ATA ( Silicon Image SiI3114)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 5 (4) S A T A... 8 (5) S A T A... 10

Microsoft Word - HC20138_2010.doc

Microsoft Word - CX VMCO 3 easy step v1.doc

P4i45GL_GV-R50-CN.p65

Microsoft Word - TIP006SCH Uni-edit Writing Tip - Presentperfecttenseandpasttenseinyourintroduction readytopublish

支付宝2011年 IT资产与费用预算

Microsoft PowerPoint _代工實例-1

Microsoft PowerPoint - talk8.ppt

UDC The Policy Risk and Prevention in Chinese Securities Market

(baking powder) 1 ( ) ( ) 1 10g g (two level design, D-optimal) 32 1/2 fraction Two Level Fractional Factorial Design D-Optimal D

HC50246_2009

入學考試網上報名指南

Microsoft Word doc

基于UML建模的管理管理信息系统项目案例导航——VB篇

論 文 摘 要 本 文 乃 係 兩 岸 稅 務 爭 訟 制 度 之 研 究, 蓋 稅 務 爭 訟 在 行 訴 訟 中 一 直 占 有 相 當 高 的 比 例, 惟 其 勝 訴 率 一 直 偏 低, 民 87 年 10 月 28 日 行 訴 訟 法 經 幅 修 正 後, 審 級 部 分 由 一 級 一


高中英文科教師甄試心得

Chapter 24 DC Battery Sizing

Guide to Install SATA Hard Disks

BC04 Module_antenna__ doc

66 臺 中 教 育 大 學 學 報 : 人 文 藝 術 類 Abstract This study aimed to analyze the implementing outcomes of ability grouping practice for freshman English at a u

Microsoft PowerPoint - CH 04 Techniques of Circuit Analysis

Microsoft Word - 論文封面 修.doc

Microsoft PowerPoint - IAS 21 - IFRS宣導會.pptx

2/80 2


HC20131_2010

TX-NR3030_BAS_Cs_ indd

ebook 96-16

國立中山大學學位論文典藏.PDF

1 引言

59 1 CSpace 2 CSpace CSpace URL CSpace 1 CSpace URL 2 Lucene 3 ID 4 ID Web 1. 2 CSpace LireSolr 3 LireSolr 3 Web LireSolr ID

Microsoft PowerPoint - ATF2015.ppt [相容模式]

Chapter 9: Objects and Classes

4. 每 组 学 生 将 写 有 习 语 和 含 义 的 两 组 卡 片 分 别 洗 牌, 将 顺 序 打 乱, 然 后 将 两 组 卡 片 反 面 朝 上 置 于 课 桌 上 5. 学 生 依 次 从 两 组 卡 片 中 各 抽 取 一 张, 展 示 给 小 组 成 员, 并 大 声 朗 读 卡

Microsoft PowerPoint - ryz_030708_pwo.ppt

1505.indd

WTO

starter_pdfmerge

QQGQ2.E Power Supplies, Information Technology Equipment Including Ele... 1/10

DB2 (join) SQL DB2 11 SQL DB2 SQL 9.1 DB2 DB2 ( ) SQL ( ) DB2 SQL DB2 DB2 SQL DB2 DB2 SQL DB2 ( DB2 ) DB2 DB2 DB2 SQL DB2 (1) SQL (2) S

簡報技巧

ebook10-5

C o n t e n t s Acceptance Allow Love Apologize Archangel Metatron Archangel Michael Ask for

中國文化大學政治學研究所


Microsoft Word - HSK使用手册.doc

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO

LH_Series_Rev2014.pdf

2. 熟 读 题 目 3. 积 累 核 心 句 式 4. 列 出 每 道 题 的 提 纲 5. 构 造 各 部 分 的 论 证 模 板 6. 全 文 练 习 10 到 20 篇 文 章 如 何 分 析 Argument 题 目 1. Argument 题 目 的 文 字 结 构 1) 题 目 的 出

Transcription:

KillTest 质量更高 服务更好 学习资料 http://www.killtest.cn 半年免费更新服务

Exam : 1Z1-117 Title : Oracle Database 11g Release 2: SQL Tuning Version : Demo 1 / 11

1.Examine the query and its execution plan: Which statement is true regarding the execution plan? A. This query first fetches rows from the CUSTOMERS table that satisfy the conditions, and then the join return NULL from the CUSTOMER_ID column when it does not find any corresponding rows in the ORDERS table. B. The query fetches rows from CUSTOMERS and ORDERS table simultaneously, and filters the rows that satisfy the conditions from the resultset. C. The query first fetches rows from the ORDERS table that satisfy the conditions, and then the join returns NULL form CUSTOMER_ID column when it does not find any corresponding rows in the CUSTOMERS table. D. The query first joins rows from the CUSTOMERS and ORDERS tables and returns NULL for the ORDERS table columns when it does not find any corresponding rows in the ORDERS table, and then fetches the rows that satisfy the conditions from the result set. Answer: A 2.Which three statements are true about histograms? A. They capture the distribution of different values in an index for better selectivity estimates. B. They can be used only with indexed columns. C. They provide metadata about distribution of and occurrences of values in a table column. D. They provide improved selectivity estimates in the presence of data skew, resulting in execution plans with uniform distribution. E. They help the optimizer in deciding whether to use an index or a full table scan. F. They help the optimizer to determine the fastest table join order. Answer: C,E,F 3.View the exhibit and examine the query and its execution plan from the PLAN_TABLE. 2 / 11

Which statement is true about the execution? A. The row with the ID column having the value 0 is the first step execution plan. B. Rows are fetched from the indexes on the PRODUCTS table and from the SALES table using full table scan simultaneously, and then hashed into memory. C. Rows are fetched from the SALES table, and then a hash join operator joins with rows fetched from indexes on the PRODUCTS table. D. All the partitions of the SALES table are read in parallel. Answer: C 4.Which four statements are correct about communication between parallel execution process? A. The number of logical pathways between parallel execution producers and consumers depends on the degree parallelism. B. The shared pool can be used for parallel execution messages buffers. C. The large pool can be used for parallel execution messages buffers. D. The buffer cache can be used for parallel execution message buffers. E. Communication between parallel execution processes is never required if a query uses full partition-wise joins. F. Each parallel execution process has an additional connection to the parallel execution coordinator. Answer: A,B,E,F 5.You have enabled DML by issuing: ALTER session ENABLE PARALLEL DML; The PARELLEL_DEGREE_POLICY initialization parameter is set to AUTO. Which two options true about DML statements for which parallel execution is requested? A. Statements for which PDML is requested will execute serially estimated time is less than the time 3 / 11

specified by the PARALLEL_MIN_THRESHOLD parameter. B. Statements for which PDML is requested will be queued if the number of busy parallel execution servers greater than PARALLEL_MIN_SERVERS parameter. C. Statements for which PDML is requested will always execute in parallel if estimated execution in parallel if estimated execution time is greater than the time specified bythe PARELLEL_MIN_TIME_THRESHOLD parameter. D. Statements for which PDML is requested will be queued if the number of busy parallel execution servers is greater than PARELLEL_SERVERS_TARGET parameter. E. Statement for which PDML is requested will be queued if the number of busy parallel execution servers is greater than PARELLEL_DEGREE_LIMIT parameter. Answer: C,D 6.Examine Exhibit1 to view the query and its AUTOTRACE output. Which two statements are true about tracing? A. The displayed plan will be stored in PLAN_TABLE. B. Subsequent execution of this statement will use the displayed plan that is stored in v$sql. C. The displayed plan may not necessarily be used by the optimizer. D. The query will not fetch any rows; it will display only the execution plan and statistics. E. The execution plan generated can be viewed from v$sqlarea. 4 / 11

Answer: A,C 7.Which two types of column filtering may benefit from partition pruning? A. Equally operates on range-partitioned tables. B. In-list operators on system-partitioned tables C. Equality operators on system-partitioned tables D. Operators on range-partitioned tables E. Greater than operators on hash-partitioned tables Answer: A,D 8.Which two statements about In-Memory Parallel Execution are true? A. It can be configured using the Database Resource Manager. B. It increases the number of duplicate block images in the global buffer cache. C. It requires setting PARALLEL_DEGREE_POLICY to LIMITED. D. Objects selected for In-Memory Parallel Execution have blocks mapped to specific RAC instances. E. It requires setting PARALLEL_DEGREE_POLICY to AUTO F. Objects selected for In-Memory Parallel Execution must be partitioned tables or indexes. Answer: D,E 9.Which two are benefits of In-Memory Parallel Execution? A. Reduction in the duplication of block images across multiple buffer caches B. Reduction in CPU utilization C. Reduction in the number of blocks accessed D. Reduction in physical I/O for parallel queries E. Ability to exploit parallel execution servers on remote instance Answer: A,C 10.You plan to bulk load data INSERT INTO... SELECT FROM statements. Which two situations benefit from parallel INSERT operations on tables that have no materialized views defined on them? A. Direct path insert of a million rows into a partitioned, index-organizedtable containing one millionrows anda conventional B*treesecondary index. B. Direct path insert of a million rows into a partitioned, index-organized table containing 10 rows and a bitmapped secondary index. C. Direct path insert of 10 rows into a partitioned, index-organized table containing one million rows and conventional B* tree secondary index. D. Direct path insert of 10 rows into a partitioned, index-organized table containing10rowsand a bitmapped secondary index E. Conventionalpath insert of a million rows into a nonpartitioned, heap-organized containing 10 rows and having a conventional B* tree index. F. Conventional path insert of 10 rows into a nonpartitioned, heap-organized table one million rows and a bitmapped index. Answer: A,B 5 / 11

11.Which are the two prerequisites for enabling star transformation on queries? A. The STAR_TRANSFORMATION_ENABLED parameter should be set to TRUE or TEMP_DISABLE. B. A B-tree index should be built on each of the foreign key columns of the fact table(s), C. A bitmap index should be built on each of the primary key columns of the fact table(s). D. A bitmap index should be built on each of the foreign key columns of the fact table(s). E. A bitmap index must exist on all the columns that are used in the filter predicates of the query. Answer: A,E 12.An application accessing your database got the following error in response to SQL query: ORA-12827: insufficient parallel query slaves available View the parallel parameters for your instance: No hints are used and the session use default parallel settings. What four changes could you make to help avoid the error and ensure that the query executes in parallel? A. Set PARELLEL_DEGREE_POLICY to AUTO. B. Increase the value of PARELLEL_MAX_SERVERS. C. Increase PARELLEL_SERVERS_TARGET. D. Decrease PARELLEL_MIN_PERCENT. E. Increase PARELLEL_MIN_SERVERS. F. Decrease PARELLEL_MIN_TIME_THRESHOLD. G. Increase PARELLEL MIN_TIME_THRESHOLD. Answer: A,C,D,G 13.Examine the Exhibit 1 to view the structure of and indexes for EMPLOYEES and DEPARTMENTS tables. 6 / 11

7 / 11

Which three statements are true regarding the execution plan? A. The view operator collects all rows from a query block before they can be processed but higher operations in the plan. B. The in-line query in the select list is processed as a view and then joined. C. The optimizer pushes the equality predicate into the view to satisfy the join condition. D. The optimizer chooses sort-merge join because sorting is required for the join equality predicate. E. The optimizer chooses sort-merge join as a join method because an equality predicate is used for joining the tables. Answer: B,C,E 14.In Your Database, The Cursor_Shareing Parameter is set to EXACT. In the Employees table, the data 8 / 11

is significantly skewed in the DEPTNO column. The value 10 is found in 97% of rows. Examine the following command and out put. Which three statements are correct? A. The DEPTNO column will become bind aware once histogram statistics are collected. B. The value for the bind variable will considered by the optimizer to determine the execution plan. C. The same execution plan will alwaysbe used irrespective of the bind variable value. D. The instance collects statistics and based on the pattern of executions creates a histogram on the column containing the bind value. E. Bind peeking will take place only for the first execution of the statement and subsequent execution will use the same plan. Answer: A,B,D 15.You created a SQL Tuning Set (STS) containing resource-intensive SQL statements. You plan to run the SQL Tuning Advisor. Which two types of recommendations can be provided by the SQL Tuning Advisor? A. Semantic restructuring for each SQL statement B. Gathering missing or stale statistics at the schema level for the entire workload C. Creating a materialized view to benefit from query rewrite for the entire workload D. Gathering missing or stale statistics for objects used by the statements. E. Creating a partition table to benefit from partition pruning for each statement Answer: A,D 16.When would bind peeking be done for queries that vary only in values used in the WHERE clause? A. When the column used in the WHERE clause has evenly distributed data and histogram exists on that column. B. When the column used in the WHERE clause has evenly distributed data and index exists on that column. C. When the column used in the WHERE clause has non uniform distribution of data, uses a bind variable, and no histogram exists for the column. D. When the column used in the WHERE clause has non uniform distribution of data and histogram exists for the column. Answer: B 9 / 11

17.Which type of SQL statement would be selected for tuning by the automatic SQL framework? A. Serial queries that are among the costliest in any or all of the four categories: the past week, any day in the past week, any hour in the past week, or single response, and have the potential for improvement B. Serial queries that have been tuned within the last 30days and have been SQL profiled by the SQL tuning Advisor. C. Serial and parallel queries that top the AWR Top SQL in the past week only and have been SQL profiled by the SQL Tuning Advisor. D. Serial queries that top the AWR Top SQL in the past week only and whose poor performance can be traced to concurrency issues. E. Serial and parallel queries that are among the costliest in any or all of the four categories: the past week, and day in the past week, any hour in the past week, or a single response, and that can benefit from access method changes. Answer: E 18.You instance has these parameter settings: Which three statements are true about these settings if no hints are used in a SQL statement? A. A statement estimated for more than 10 seconds always has its degree of parallelism computed automatically. B. A statement with a computed degree of parallelism greater than 8 will be queued for a maximum of 10 seconds. C. A statement that executes for more than 10 seconds always has its degree of parallelism computed automatically. D. A statement with a computed degree of parallelism greater than 8 will raise an error. E. A statement with any computed degree of parallelism will be queued if the number of busy parallel execution processes exceeds 64. F. A statement with a computed degree of parallelism of 20 will be queued if the number of available parallel execution processes is less 5. Answer: C,E,F 19.Exhibit 10 / 11

Examine the following SQL statement: Examine the exhibit to view the execution plan. Which statement is true about the execution plan? A. The EXPLAIN PLAN generates the execution plan and stores it in c$sql_plan after executing the query. Subsequent executions will use the same plan. B. The EXPLAIN PLAN generates the execution plan and stores it in PLAN_TABLE without executing the query. Subsequent executions will always use the same plan. C. The row with the ID 3 is the first step executed in the execution plan. D. The row with the ID 0 is the first step executed in the execution plan. E. The rows with the ID 3 and 4 are executed simultaneously. Answer: E 20.Which two types of SQL statements will benefit from dynamic sampling? A. SQL statements that are executed parallel B. SQL statement that use a complex predicate expression when extended statistics are not available. C. SQL statements that are resource-intensive and have the current statistics D. SQL statements with highly selective filters on column that has missing index statistics E. Short-running SQL statements Answer: B,D 11 / 11