Home  >  Article  >  Database  >  What is the main role of indexing in a database?

What is the main role of indexing in a database?

王林
王林Original
2020-06-05 16:09:508855browse

What is the main role of indexing in a database?

The main function of indexing in the database is to increase query speed.

Index can speed up data query. The index file is stored as an independent file, and the file contains pointers to table records.

After the index is created, the physical order of records in the table remains unchanged.

The above is the detailed content of What is the main role of indexing in a database?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to use having in SQL?Next article:How to use having in SQL?