2 comments

[ 3.1 ms ] story [ 17.4 ms ] thread
this is so true in real systems

postgres is “free” but cost comes from bad usage

- bad queries → more CPU/I/O - no vacuum → table bloat → more storage - too many connections → wasted memory

then teams just scale infra instead of fixing root cause

most cost issues = inefficiency, not scale

Honestly any db system is going to be at the mercy of inefficient queries. Regardless of what one uses, optimization will always be necessary