The Backend Engineering Show with Hussein Nasser cover image

A Deep Dive in How Slow SELECT * is

The Backend Engineering Show with Hussein Nasser

00:00

How to Avoid Random Reads in Postgres

In postgres, by default, when you just create an index on the grade, right? The postgres always has to do that. So even if you ask for the ID, it has to go back to the table. In postgres secondary indexes, which is everything is secondary, there are no primary indexes in postgres. A tuple ID is literally, is literally a two pair, which is page index and the index of theuple or the row in that page, right? That's what it is.

Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner