Last updated: August 5, 2025 at 07:41 AM
Summary of Reddit Comments on Mysql Indexing
Proper Indexing for MySQL query
- The recommended index for the provided MySQL query
([created_at](https://www.amazon.com/Create-At-Home-Old-New/dp/1784728551/ref=sr_1_1?dib=eyJ2IjoiMSJ9.1G1Bd1z2St-HxrWM-uAheR40GX8-Pg-WmooVTpondTmujp98DzdR3f_SPafb5-Ov5GGYTKC1Ribl5ORKrfmEDQRGydGr2IaDNghtkSUpMRbu8dwxtH9b6OrOjpN_gmq3eb26Kzk-chgGUYRgOWA1WXvyC-_5cFlCTf4iackR6PpblwN4fDopSYMcM2s7rL65Bid5dvHWrpY-p7Ub1rzh_TLiz4v4oWRkXoQVHP7h7N0z3ubGZQwaHmz2-NpmYSIItxbr3a8i5KVvvsg7laMLswEmSGnUZGE-ujsvbWdCpbU._FOPLwqATNtOrQkdpXTRcP0fh7C0axwPkEjvw5JN_7U&dib_tag=se&keywords=created_at&qid=1754379682&sr=8-1&tag=redditrevie08-20), [created_by](https://www.amazon.com/Create-Creatine-Monohydrate-Endurance-Gluten-Free/dp/B0F55PDR4C/ref=sr_1_1?dib=eyJ2IjoiMSJ9.I1qFM6TuCW5Py-3OSd16EBH4_2afZfDZDSfqKkIK45tupa-6PY9rj05mo5wyIgB-RXEB0vbeDfNStN6DJZnxpurT4rnpmCmF_ll3IjpKQES4o-kWn6UqDp_42Y729UlFtW-OfFiVmRZw8wMyDnUzrYSrQ6QTsEdBJV5HCdhAW30eYyl3pQO_QG374ohJJbSLNcq44Q6dPCvCl1DBxCg5oz8sAJWw_-HuDlb6aKhv1icgB-gXTCM02eO6I6oFbNuFeoTNDR5Vc_VWS36nrj-7L2qzVEGUbtjP45k09io4Ww4.IqriNlQGcuhkIejZ3eN3_nCNA8nwQszpnDEMVijSE9g&dib_tag=se&keywords=created_by&qid=1754379682&sr=8-1&tag=redditrevie08-20))
. - The index should be sorted for efficient range scan access.
- Advice to avoid using
[BETWEEN](https://www.amazon.com/Between-Two-Ferns/dp/B01N0H7ADG/ref=sr_1_1?dib=eyJ2IjoiMSJ9.EZpOEr6umEAtRdY1cxHoiKrRrUE6ZexmoVg0yOjf0Hy9sWjbWHnCu3izDGbaFZOTiYTAPA3wEvgYKOlCSCMF6gfxtkQkjjiSF6D4pK4-gks6YhSRb7Q9_xOsBBxibK73rH5Z4vgFaY0S71O4wrjqX-a1fnx9Y3zc4UOwprXmrJv85VWBQz0jBrxCsol6kTDs_etHsDrvbOHYHUl27ngUG7J4TtM2q-7KOW00m8N5Wng.MD9LdsIGIyl0bXMoEAyWMHfLuidu70Q-chnG0iU4KVw&dib_tag=se&keywords=BETWEEN&qid=1754379682&sr=8-1&tag=redditrevie08-20)
for dates and times. - Suggested e-book by Markus Winand for indexing knowledge.
Is Indexing Necessary for Small Tables
- Index speedup may be negligible for small tables.
- Index statistics can help query optimization.
- Indexing is essential for InnoDB due to primary key requirements.
- Index need depends on query execution speed and table size.
Factors to Consider for Indexing
- Using
[EXPLAIN SELECT](https://www.amazon.com/City-Gold-Jonathan/dp/B01L64699E/ref=sr_1_1?dib=eyJ2IjoiMSJ9.V5B2bugsDChQ53juE-OrjxZsx1zrFqrm3tekWVG0NAiuSNuvYOG17pl1M08sONKPxoUJhgO33bsjLA4Oydn4qA.jL-9PrQ__8IA0U5QG_wg6SB5GU59PTm6DwLya62q5lU&dib_tag=se&keywords=EXPLAIN+SELECT&qid=1754379682&sr=8-1&tag=redditrevie08-20)
to determine if index is necessary. - Be cautious of adding too many indexes due to performance impact.
- Check query execution time for optimization needs.
Resume Critique Discussion
- Varied opinions on resume content & length across recruiters.
- Challenges in job market for candidates with limited experience.
- Recommendations for improving resume content and layout.
- Suggestions to target specific job roles and simplify resume.
Job Search Tips and Advice
- Utilize personal networks and connections for job opportunities.
- Consider moving into adjacent fields if struggling to find tech jobs.
- Simplify and make resume visually appealing for better impact.
- Explore options in related fields or leverage personal contacts for job opportunities.