全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Clustered index, secondary index, covering index?

又称: clustered index · secondary index · covering index

Definition 21.7 University Computer Science — Year 3 · 第 21 章 — Database Storage and Indexes

An index (Year 2 volume) is clustered when the table’s rows themselves are stored in the order of its key, in its leaves or in pages sorted the same way; a table has at most one. A secondary index holds, for each key, the identifiers of the rows, which are stored elsewhere in another order; following them costs about one page read per row. An index is covering for a query when it holds every column the query needs, so the table is not read at all.

在原文中阅读 →