问题描述:
[单选]
Consider the query:考虑一下这个问题:This query is run several times in an application with different values in the WHERE clause in a growing data set.此查询在一个应用程序中多次运行,其中WHERE子句中的值在不断增长的数据集中。What is the primary improvement that can be made for this scenario?对于这种情况,可以做的主要改进是什么?
A.Execute the run_2 index because it has caused a conflict in the choice of key for this query.
B.Drop the run_2 index because it has caused a conflict in the choice of key for this query.
C.Do not pass a user variable in the WHERE clause because it limits the ability of the optimizer to useindexes.
D.Add an index on the objective column so that is can be used in both the WHERE and GROUP BY operations.
E.Add a composite index on (run,objective,stage) to allow the query to fully utilize an index.在(run、objective、stage)上添加一个复合索引,以允许查询充分利用索引。
参考答案:查看无
答案解析:无
☆收藏
答案解析:无
☆收藏
上一篇:Which three statements are characteristic of the MEMORY storage engine?哪三条语句是内存存储引擎的特征?()
下一篇:What are four capabilities of the mysql client program? mysql客户机程序的四种功能是什么?()
- 我要回答: 网友(216.73.216.168)
- 热门题目: 1.2021年银行春季招聘的学生 2.银行招聘要求是什么? 3.商业银行笔试考什么?
