What do Clustered and Non clustered index actually mean?

前端 未结 11 2084
粉色の甜心
粉色の甜心 2020-11-22 06:40

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 goo

11条回答
  •  爱一瞬间的悲伤
    2020-11-22 07:13

    Clustered Index

    A clustered index determine the physical order of DATA in a table.For this reason a table have only 1 clustered index.

    • "dictionary" No need of any other Index, its already Index according to words

    Nonclustered Index

    A non clustered index is analogous to an index in a Book.The data is stored in one place. The index is storing in another place and the index have pointers to the storage location of the data.For this reason a table have more than 1 Nonclustered index.

    • "Chemistry book" at staring there is a separate index to point Chapter location and At the "END" there is another Index pointing the common WORDS location

提交回复
热议问题