Clustered Index
Clustered Index is simple if you keep it on paper. Amit uses it for lookup by roll in a big table.
For Clustered Index, an index is in play. Don’t blame it until you have traced lookup by roll.
Skip Clustered Index and indexing a low-cardinality flag only shows up in a big table.
Use Clustered Index when lookup by roll must stay clear. If a simpler SQL step works, use that instead.
Clustered Index miss — indexing a low-cardinality flag only. Fix it before you talk about advanced SQL.
Clustered Index is not a lonely heading. Amit ties it to lookup by roll.
Viva for Clustered Index — what it is → PRIMARY KEY(roll) + INDEX → the mistake (indexing a low-cardinality flag only).
For Clustered Index: definition + a big table + one failure.