Please enable JavaScript.
Coggle requires JavaScript to display documents.
Query Optimization - Coggle Diagram
Query Optimization
-
Slow Query Basics
-
-
Query cost metrics
-
Response time
-
Queue time - time of waiting (f.e.a row lock, I/O operation to complete)
-
number of rows returned
Ideally, the number of rows examined is the same as the number returned
-
Using EXPLAIN
-
syntaх
-
-
explainable_stmt: {SELECT statement | DELETE statement | INSERT statement | REPLACE statement | UPDATE statement}
works with SELECT, DELETE, INSERT, REPLACE, and UPDATE