聚簇索引和非聚簇索引实际上是什么意思?

大城市里の小女人 提交于 2020-08-09 14:43:38

问题:

I have a limited exposure to DB and have only used DB as an application programmer. 我对DB的接触有限,只使用DB作为应用程序程序员。 I want to know about Clustered and Non clustered indexes . 我想了解ClusteredNon clustered indexes I googled and what I found was : 我搜索了一下,发现的是:

A clustered index is a special type of index that reorders the way records in the table are physically stored. 聚集索引是一种特殊的索引,它重新排序表中记录的物理存储方式。 Therefore table can have only one clustered index. 因此,表只能有一个聚集索引。 The leaf nodes of a clustered index contain the data pages. 聚集索引的叶节点包含数据页。 A nonclustered index is a special type of index in which the logical order of the index does not match the physical stored order of the rows on disk. 非聚集索引是一种特殊类型的索引,其中索引的逻辑顺序与磁盘上行的物理存储顺序不匹配。 The leaf node of a nonclustered index does not consist of the data pages. 非聚集索引的叶节点不包含数据页。 Instead, the leaf nodes contain index rows. 相反,叶节点包含索引行。

What I found in SO was What are the differences between a clustered and a non-clustered index? 我在SO中发现的是聚集索引和非聚集索引之间的区别什么? .

Can someone explain this in plain English? 有人可以用简单的英语解释吗?


解决方案:

参考一: https://stackoom.com/question/5Fbg/聚簇索引和非聚簇索引实际上是什么意思
参考二: https://oldbug.net/q/5Fbg/What-do-Clustered-and-Non-clustered-index-actually-mean
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!