Index and its advantages and disadvantages

Source: Internet
Author: User

Indexes use a data structure to improve the efficiency of data operations in the database. Its disadvantage is that it requires additional space, it is time-consuming to create an index, and the index must be updated when the record changes.

 

Indexes include clustered indexes and non-clustered indexes. Clustered indexes directly store data pagination, and fee clustered indexes only store pages directed to data pagination.

 

 Index

IndexIs a data structure to improve the data retrieval operations on a database table.

TheDisadvantageOf the index has follows:

  1. Need more storage space.
  2. Crate index is time consuming.
  3. Have to maintain the index when the records change.

There are two type indexes:Cluster IndexAndNon-Cluster Index. Cluster Index stores the data pages, while the non-Cluster Index stores the pages point to the data pages.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.