logoalt Hacker News

airstrikeyesterday at 7:08 PM1 replyview on HN

It's 2026. CPU goes brrr. It's absolutely trivial compared to the query execution time.


Replies

sgarlandtoday at 3:45 AM

Profile your code sometime; I assure you, with a properly indexed query, the actual query time is insignificant compared to everything else, unless your app is Rust, C, Nim, etc.

The overwhelming majority of OLTP queries I see running on massive prod systems execute in < 1 msec. More time is spent in network RTT than execution, let alone the ORM parsing the result.