谁能通过简单的例子告诉我索引涵盖了什么? [英] Can anyone tell me what is covering Index by simple example?

查看:61
本文介绍了谁能通过简单的例子告诉我索引涵盖了什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以通过简单的示例告诉我什么内容覆盖索引吗?

Can anyone tell me what is covering Index by simple example?

推荐答案

如果查询的选择列表中请求的所有列均在索引中可用,那么查询引擎不必再次查找表,这可以显着提高查询的性能.由于所有请求的列在索引中都可用,因此索引涵盖了查询.因此,该查询称为覆盖查询,索引称为覆盖索引.

请参考 http://www.simple- talk.com/sql/learn-sql-server/using-covering-indexes-to-improve-query-performance/ [ http://connectsql.blogspot.in/2010/12/sql-server- performance-covering-index.html [ ^ ]
If all the columns requested in the select list of query, are available in the index, then the query engine doesn''t have to lookup the table again which can significantly increase the performance of the query. Since, all the requested columns are available with in the index, the index is covering the query. So, the query is called as the covering query and the index as covering index.

Refer http://www.simple-talk.com/sql/learn-sql-server/using-covering-indexes-to-improve-query-performance/[^]

http://connectsql.blogspot.in/2010/12/sql-server-performance-covering-index.html[^]


这篇关于谁能通过简单的例子告诉我索引涵盖了什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆