HN user

fatalmind

448 karma
Posts67
Comments10
View on HN
use-the-index-luke.com 12y ago

Myth: Select * is Bad

fatalmind
87pts67
use-the-index-luke.com 12y ago

What every developer should know about SQL performance

fatalmind
1pts0
use-the-index-luke.com 12y ago

Use The Index, Luke: SQL performance guide now with online examples on SQLFiddle

fatalmind
2pts0
use-the-index-luke.com 12y ago

About SQL Query Hints: Not all hints are born equally

fatalmind
1pts0
twitter.com 13y ago

There are only two hard problems in web design: Internet Explorer and Fonts.

fatalmind
2pts0
use-the-index-luke.com 13y ago

Indexes: The neglected performance all-rounder

fatalmind
2pts0
use-the-index-luke.com 13y ago

Afraid of SSD?

fatalmind
1pts1
use-the-index-luke.com 13y ago

A URL to toss at your SQL devs

fatalmind
1pts0
use-the-index-luke.com 13y ago

The two top performance problems caused by ORM tools

fatalmind
5pts1
use-the-index-luke.com 13y ago

The second power of SQL indexes: Clustering Data

fatalmind
3pts0
use-the-index-luke.com 13y ago

Response Time, Throughput and Horizontal Scalability

fatalmind
2pts0
use-the-index-luke.com 13y ago

Database indexing is a development task—it needs the same care as schema design

fatalmind
7pts0
use-the-index-luke.com 13y ago

FOSDEM Impressions

fatalmind
1pts0
use-the-index-luke.com 13y ago

SQL Indexing and Tuning e-Book

fatalmind
130pts11
use-the-index-luke.com 13y ago

Expert, competent, or greenhorn? Test your SQL performance skills in 3 minutes

fatalmind
1pts0
use-the-index-luke.com 13y ago

Adding hardware won't fix response time problems.

fatalmind
1pts0
use-the-index-luke.com 13y ago

Indexing many columns individually won't give you best database performance

fatalmind
1pts0
use-the-index-luke.com 13y ago

A quiz that teaches you how to avoid the most common SQL performance issues

fatalmind
1pts0
use-the-index-luke.com 14y ago

Get to know your ORM and take control of joins.

fatalmind
40pts23
use-the-index-luke.com 14y ago

Stop worrying and learn to use the index

fatalmind
2pts0
use-the-index-luke.com 14y ago

A visual explanation why SQL's LIKE is slow

fatalmind
1pts0
use-the-index-luke.com 14y ago

Performance impact of sloppy indexing in SQL databases

fatalmind
1pts0
use-the-index-luke.com 14y ago

Table of Contents: Everything developers need to know about SQL performance

fatalmind
1pts0
use-the-index-luke.com 14y ago

Not using SQL bind parameters is like recompiling a program every time.

fatalmind
1pts0
use-the-index-luke.com 14y ago

Database scalability is not only about scale-up, scale-out and hardware...

fatalmind
1pts0
use-the-index-luke.com 14y ago

NULL in the Oracle Database — Is it special, or strange, or just wrong?

fatalmind
2pts1
use-the-index-luke.com 14y ago

Reading Database Execution Plans (MySQL, PostgreSQL, Oracle, and SQL Server)

fatalmind
1pts1
use-the-index-luke.com 14y ago

Several ways to SQL pagination, including performance charts

fatalmind
22pts5
use-the-index-luke.com 14y ago

SQL Paging queries using SQL "window functions"

fatalmind
2pts0
use-the-index-luke.com 14y ago

SQL pagination in constant time using the "seek method"

fatalmind
4pts1

I've given this talk on Saturday in Moscow again and it was video taped there. Organizers told me they'll publish the English original as well as the Russian voice over version. I'm keen for the second one ;)

I keep you posted.

Besides your points, we must also consider that MySQL does neither support hash joins nor sort/merge join. MySQL it just not very good at joining.

Nevertheless, a MySQL join should never be slower than the N+1 select approach.