Comment

Comment by kebsup

I was using postgres for embarrassingly long time before I've learned the difference between "index scans" and "index only scans".

Including relevant columns in the index can massively improve the performance, because postgres does not need to read the randomly sorted tuple in the original table.

parent kebsup 20 days ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton