


Recommended 10 commonly used clustering index sorting methods, welcome to download!
Why should the mysiam engine be used when executing a lot of selects? Especially when there is an index, this chapter relies on a practical application and analyzes it. 1. Preface: I saw an interesting phenomenon on the Internet. A table with 1W data volume executes different orderby conditions, and the query time is very long. Is this a real problem in practical applications? ? why? 2. Analysis a). Situation description: 1. There is a primary key id and a joint index (id, ver); using the former for orderby query is slow, and using the latter for orderby query will be very fast; 2. The amount of data in each row is quite large 3. ID is the main index, and the field in the select query only has ID, so it is not covered by the index. You don’t need to use the physical disk to return the data. You can get the data you want on the index, but the query should be faster. But slower. Mysql-index coverage b). Analysis: It must not be using the mysiam engine. If so, the speed of query using these two indexes is almost the same, because the address of a physical row is stored in the index, and the actual amount of data occupied Not big. But if it is innodb, it is different. Its main index can be dragged down.
1. Mysql-clustered index slow sorting case analysis
Introduction: Why should the mysiam engine be used when executing a lot of selects? Especially when there is an index. This article relies on a practical application and analyzes it.
【Related Q&A recommendations】:
The above is the detailed content of Recommended 10 commonly used clustering index sorting methods, welcome to download!. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Notepad++7.3.1
Easy-to-use and free code editor

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.