Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Clustered index, secondary index, covering index » ?

Aussi appelé : clustered index · secondary index · covering index

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

Lire dans le chapitre →