🏷️Mysql
The Basics
Connection
Common sql
Joins
Indexing
Indexing can speed up your query when you have many records into your db.
If you use
where user_id = 1729
, you can add index foruser_id
.If you use
published_at BETWEEN '2020-01-01 00:00:00' AND '2022-01-01 00:00:00'
, you can add index topublished_at
for reduce a query.
Last updated