TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
10 tips for optimizing mySql queries
14 points
by
socratees
over 16 years ago
3 comments
jrockway
over 16 years ago
Collapse
<i>SQL is Not C <example code></i><p>I would be very surprised if the optimizer did not treat his two example queries the same.
评论 #365232 未加载
bradgessler
over 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...
truebosko
over 16 years ago
Collapse
Nothing like trying to read an article on mySQL optimization and I get "Error establishing database connection" .. :(
评论 #365448 未加载