What is an index in SQL?

后端 未结 11 2271
粉色の甜心
粉色の甜心 2020-11-22 11:01

What is an index in SQL? Can you explain or reference to understand clearly?

Where should I use an index?

11条回答
  •  一生所求
    2020-11-22 11:21

    An index is used to speed up the performance of queries. It does this by reducing the number of database data pages that have to be visited/scanned.

    In SQL Server, a clustered index determines the physical order of data in a table. There can be only one clustered index per table (the clustered index IS the table). All other indexes on a table are termed non-clustered.

    • SQL Server Index Basics

    • SQL Server Indexes: The Basics

    • SQL Server Indexes

    • Index Basics

    • Index (wiki)

提交回复
热议问题