当前位置:1z0-883题库

问题:

[单选]

Consider the query:
Mysql> SET @run = 15;
Mysql> EXPLAIN SELECT objective, stage, COUNT (stage)
FROM iteminformation
WHERE run=@run AND objective=’7.1’
GROUP BY objective,stage
ORDER BY stage;

The iteminformation table has the following indexes;
Mysql> SHOW INDEXES FROM iteminformation:

This query is run several times in an application with different values in the WHERE clause in a growing data set.
What is the primary improvement that can be made for this scenario?()

A . Do not pass a user variable in the WHERE clause because it limits the ability of the optimizer to use indexes
B . Add an index on the objective column so that is can be used in both the WHERE and GROUP BY operations
C . Drop the run_2 index because it has caused a conflict in the choice of key for this query
D . Execute the run_2 index because it has caused a conflict in the choice of key for this query
E . Add a composite index on (run,objective,stage) to allow the query to fully utilize an index

Which business flow is used for activities starting from customer registration, to setting up ofproduct catalogs and targeted storefronts, and finally to capturing of the order?() Click to Order。 Order to Cash。 Campaign to Order。 Contract to Renewal。 关于施工成本目标控制的原则,正确的有()。 成本最低原则。 实用性原则。 全员成本原则。 开拓性原则。 目标分解原则。 为什么在选留种鱼时要留足一定数量的亲鱼? 起重机钢丝绳用卡子连接时,根据钢丝绳直径不同,使用不同数量的卡子,但最小不得少于()。 2个。 3个。 4个。 检查冷却水的液面高度,冷却水位应在离水箱盖深处()的高度,如液面高度不足时应添加。 1~2厘米。 2~3厘米。 、3~4厘米。 、4~5厘米。

Consider the query:
Mysql> SET @run = 15;
Mysql> EXPLAIN SELECT objective, stage, COUNT (stage)
FROM iteminformation
WHERE run=@run AND objective=’7.1’
GROUP BY objective,stage
ORDER BY stage;

The iteminformation table has the following indexes;
Mysql> SHOW INDEXES FROM iteminformation:

This query is run several times in an application with different values in the WHERE clause in a growing data set.
What is the primary improvement that can be made for this scenario?()

参考答案:

  参考解析

本题暂无解析

在线 客服