I have a limited exposure
to DB and have only used DB as an application programmer. I want to know about
Clustered
and 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 href="https://stackoverflow.com/questions/91688/what-are-the-differencespros-cons-between-clustered-and-non-clustered-indexes">What
are the differences between a clustered and a non-clustered
index?.
Can someone explain
this in plain English?
No comments:
Post a Comment