TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Unofficial MySQL 8.0 Optimizer Guide

186 pointsby digitalnalogikaabout 8 years ago

9 comments

javituryabout 8 years ago
I was conflicted when I read &quot;3. Most selective columns to the left&quot;:<p><a href="http:&#x2F;&#x2F;www.unofficialmysqlguide.com&#x2F;composite-indexes.html#determining-the-order-for-composite-indexes" rel="nofollow">http:&#x2F;&#x2F;www.unofficialmysqlguide.com&#x2F;composite-indexes.html#d...</a><p>Because I had previously read that it was a myth:<p><a href="https:&#x2F;&#x2F;use-the-index-luke.com&#x2F;sql&#x2F;myth-directory&#x2F;most-selective-first" rel="nofollow">https:&#x2F;&#x2F;use-the-index-luke.com&#x2F;sql&#x2F;myth-directory&#x2F;most-selec...</a><p>Both this guide and Use The Index Luke seem to be good resources. Later I realized that maybe the guide had listed this optimization tips in order of importance. After all &quot;1. Leftmost rule&quot; and &quot;2. Ranges to the right&quot; are the ones that affect the most the usability of the index. Then the seemingly opposite viewpoints converge.
评论 #13734521 未加载
评论 #13734637 未加载
morgoabout 8 years ago
Author here. Thanks for linking to my guide :)<p>I&#x27;ll be expanding it in the coming months as the new features in MySQL 8.0 are released. On my TODO is descending indexes, improvements to OPTIMIZER TRACE, Window functions, CTEs and expanding the info on character sets.<p>Suggestions&#x2F;comments welcome!
评论 #13735384 未加载
wolf550eabout 8 years ago
Does anyone have a good comparison between MariaDB 10.x and MySQL 8.0? Also, when will MySQL 8.0 be out? (The current version is &quot;Not yet released, Development Milestone&quot;).
评论 #13734666 未加载
评论 #13734532 未加载
GrumpyNlabout 8 years ago
That&#x27;s some great info, thanks for the effort.
alashleyabout 8 years ago
Thank you for posting this, I&#x27;ve been wanting to further my knowledge of databases and database design.
ysleepyabout 8 years ago
Yeah nice try Oracle, MySQL will not gain its community traction back.
caleblloydabout 8 years ago
Great write-up! Which of these features are new in 8.0 and not in 5.7?
评论 #13735528 未加载
compuguyabout 8 years ago
I&#x27;m guessing this may also apply to MariaDB (MySQL fork) as well?
评论 #13734679 未加载
snissnabout 8 years ago
I expected to see a postgresql migration guide