May 2020
Beginner
564 pages
14h 9m
English
When you run a query, MySQL has to decide how to get the data from the table(s). If your table has no index, then the query will need to scan through the entire table to find the data in much the same way that you would have to scan through an entire book if it didn't have an index in the back. That would be very time-consuming, depending on how long the book is. The same thing goes for an index on a table. You might not notice any issue with your query running long if the table is small, but once the table is large, scanning the entire table to get the results could take quite a while. Plus, if other people are also running queries on the same table, then the results may never return since queries ...
Read now
Unlock full access