Google News
logo
PostgreSQL - Interview Questions
What is difference between clustered index and non clustered index?
Difference between clustered index and non clustered index
 
Cluster index is an index type that is used to sort table data rows on the basis of their key values. In RDBMS primary key allows us to create a clustered index based on that specific column.

A non-clustered index (or regular b-tree index) is an index where the order of the rows does not match the physical order of the actual data. It is instead ordered by the columns that make up the index.
Advertisement