Hacker News new | ask | show | jobs
by awr 1543 days ago
Author here. It's not a question of not understanding how databases work, but as a startup the focus is on moving quickly, not spending time optimising queries before we've achieved traction.

The table with index was setup 3+ years ago and has served us well until now, where we noticed slowdown for particular types of data.

The article is an exercise in diagnosing an issue with db performance and systemically working through it to the right solution.

In this case, understanding why the index wasn't effective, highlighting that column order matters for multicolumn indexes, and how big an impact having the right column can make.