搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【多选题】

The OPTIMIZER_USE_PLAN_BASELINES parameter is set to TRUE. The optimizer generates a plan for a SQL statement but does not find a matching plan in the SQL plan baseline.<br /> Which two operations are performed by the optimizer in this scenario?()

A、The optimizer adds the new plan to the plan history.

B、The optimizer selects the new plan for the execution of the SQL statement.

C、The optimizer adds the new plan to the SQL plan baseline as an accepted plan.

D、The optimizer adds the new plan to the SQL plan baseline but not in the ENABLED state.

E、The optimizer costs each of the accepted plans in the SQL plan baseline and picks the one with the lowest cost.

更多“ The OPTIMIZER_USE_PLAN_BASELINES parameter is set to TRUE. The optimizer generates a plan for a SQL statement but does not find a matching plan in the SQL plan baseline.<br /> Which two operations are performed by the optimizer in this scenario?()”相关的问题
第1题

A、to minimize plan regression due to the use of a new optimizer version  B、to completely avoid the use of new plans generated by a new optimizer version  C、to prevent plan capturing when the SQL statement is executed after the database upgrade  D、to keep the plan in the plan history so that it can be used when the older version of the optimizer is used  

点击查看答案
第2题

A、Set OPTIMIZER_USE_PLAN_BASELINES to FALSE to prevent the use of regressed plans.  B、Capture the plans from the previous version using STS and then load them into the stored outline.  C、Capture the plans from the previous version using STS and then load them into SQL Management Base (SMB).  D、Set OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES to FALSE to prevent the plans from being loaded to the SQL plan baseline.  

点击查看答案
第4题

A、The optimizer uses a new plan because none of the plans in the exhibit2 are fixed plans.  B、The optimizer uses the plan in the second row of the exhibit2 because it is an accepted plan.  C、The optimizer uses the plan in the first row of the exhibit2 because it is the latest generated plan.  D、The optimizer uses the plan in the first row of the exhibit2 because OPTIMIZER_MODE was set to FIRST_ROW during its creation.  

点击查看答案
第5题

A、The optimizer used a dynamic plan for the query.  B、The optimizer chose different plans because automatic dynamic sampling was enabled.  C、The optimizer used re-optimization cardinality feedback for the query.  D、The optimizer chose different plan because extended statistics were created for the columns used.  

点击查看答案
第6题

A、Only the ORD_CUSTOMER_IX1 index created.  B、Both the indexes are updated when a row is inserted, updated, or deleted in the ORDERS table.  C、Both the indexes are created: however, only ORD_CUSTOMERS_IX1 is used by the optimizer for queries on the ORDERS table.  D、The ORD_CUSTOMER_IX1 index is not used by the optimizer even when the OPTIMIZER_USE_INVISIBLE_INDEXES parameters is set to true.  E、Both the indexes are created and used by the optimizer for queries on the ORDERS table.  F、Both the indexes are created: however, only ORD_CUSTOMERS_IX2 is used by the optimizer for queries on the ORDERS table.  

点击查看答案
第7题

A、A. The optimizer automatically changes a plan during subsequent execution of a SQL statement if there is a huge difference in optimizer estimates and execution statistics.  B、B. The optimizer can re optimize a query only once using cardinality feedback.  C、C. The optimizer enables monitoring for cardinality feedback after the first execution of a query.  D、D. The optimizer does not monitor cardinality feedback if dynamic sampling and multicolumn statistics are enabled.  E、E. After the optimizer identifies a query as a re-optimization candidate, statistics collected by thecollectors are submitted to the optimizer.  

点击查看答案
第8题

A、The index is not used by the optimizer but is maintained during DML operations.  B、The index is not used by the optimizer and is not maintained during DML operations.  C、The index is used by the optimizer only if a hint is specified in the query statement and is maintained during DML operations.  D、The index is used by the optimizer only if a hint is specified in the query statement but is not maintained during DML operations.  

点击查看答案
第9题

A、A. The statistics are stored in the pending statistics table in the data dictionary.  B、B. The statistics are treated as the current statistics by the optimizer for all sessions.  C、C. The statistics are treated as the current statistics by the optimizer for the current sessions only.  D、D. The statistics are temporary and used by the optimizer for all sessions until this session terminates.  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服