Non clustered index
suggest changeNonclustered indexes are stored separately from the table. Each index in this structure contains a pointer to the row in the table which it represents.
These pointers are called row locators. The locator depends on whether the table is a heap or a clustered table. For a heap, it is a pointer to the row. For a clustered table, it is the clustered index key. CREATE NONCLUSTERED INDEX is SQL Server syntax.
An example of creating a non clustered index on table Employees and column Employee_Surname:
CREATE NONCLUSTERED INDEX ix_employees_name ON Employees(Employee_Surname);
A table can have many nonclustered indexes. A lookup through a nonclustered index usually visits the index and then the table, so it can be slower than a clustered index. Each extra index also has to be maintained on writes.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents