Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Clustered index, secondary index, covering index?

Também chamado de: clustered index · secondary index · covering index

Definition 21.7 University Computer Science — Year 3 · Capítulo 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.

Ler no capítulo →