Section No. 288, MySQL database-index

Source: Internet
Author: User

MySQL Database-index

Index is a data structure in the database that is designed to help users quickly query data. Similar to a directory in a dictionary, you can find the contents of the dictionary based on the directory to locate the data, and then get directly.

If the index lookup data is not created, it is a full-table scan, that is, to look up the dictionary like no directory, a page by page to the target data location, so that if the data volume assembly is quite time-consuming,

Indexing is a quick way to help users find target data, saving time

Introduction to Indexes

An index is a tree structure that stores data in a b+tree way.

For more information, you can search online for b+tree

Common indexes in MySQL are:

Normal index
Unique index
Primary key Index
Combined index
Full-Text Indexing

Section No. 288, MySQL database-index

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.