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.

10 tips for optimizing mySql queries

14 pointsby socrateesover 16 years ago

3 comments

jrockwayover 16 years ago
<i>SQL is Not C &#60;example code&#62;</i><p>I would be very surprised if the optimizer did not treat his two example queries the same.
评论 #365232 未加载
bradgesslerover 16 years ago
<i>COUNT() incurs no additional cost for a well-structured query</i><p>"Well structured" query meaning there is no WHERE clause...
trueboskoover 16 years ago
Nothing like trying to read an article on mySQL optimization and I get "Error establishing database connection" .. :(
评论 #365448 未加载