Discover how indexing works in mysql, include the articles, news, trends, analysis and practical advice about how indexing works in mysql on alibabacloud.com
Why do I need an index (why it needed)?When the data is stored on a disk class storage medium, it is stored as a block of data. These data blocks are accessed as a whole, which guarantees the atomicity of the operation. Hard disk block storage
Index, it can be said that database-related optimization, especially in query optimization, one of the most common optimization means, although so, but the index is not a solution to query optimization of the Bible, can not only find query run fast
(1)
Reduce Database Access Static pages are possible Static parts of a dynamic page Some data can be generated as XML or saved as text files Use data caching technology, such as memcached (2)Optimization Detection Method 1. User Experience
Q: As the database grows, since the role of the index is so important, who can put aside the specific database to explain how the index works? Answer: (I'll answer the question myself: O) Why do I need an indexThe data is stored as a block on disk.
First, Introduction1. What is an index?General application system, reading and writing ratio of about 10:1, and the insertion operation and the general update operation rarely appear performance problems, in the production environment, we encounter
principles of MySQL index design 1. The index column of the search is not necessarily the column you want to select. In other words, the column that best fits the index is the column that appears in the WHERE clause, or the column specified in the
1.MySQL Engine Overview 1.1 What is a storage engineWhen we record a video file, it can be converted to different formats such as mp4,avi,wmv, and on the computer's disk will also exist in different types of file system Windows common Ntfs,fat32,
Indexes are the basis of efficient use of the database, but when your data volume is very small, perhaps by scanning the whole table to access the performance of the data is acceptable, but when the amount of data is very large, when the traffic is
What is an index? Baidu Encyclopedia is described as follows: An index is a decentralized data result created to speed up the retrieval of data rows in a table, which is created by an index page other than the data page, and the rows in each index
[Content Overview]
This book is designed and implemented by a MySQL expert from Sun's Chinese Engineering Institute. The author divides the complex MySQL kernel into multiple functional subsystems to resolve various difficulties in understanding
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.