问题:
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
. 我想了解Clustered
和Non 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
来源:oschina
链接:https://my.oschina.net/stackoom/blog/4313845