Tech
# 🔍 What Actually Happens When PostgreSQL Executes a SELECT Query?
When we write:
SELECT *
FROM users
WHERE id = 100 ;
it looks incredibly simple.
We send SQL.
PostgreSQL gives us rows.
But what actually happens between those two steps?
There is a lot going on internally.
Understanding this process changed the way I think about database performance.
Instead of thinking:
"I wrote a query and PostgreSQL executed it."
I started thinking:
"What path does PostgreSQL take to turn my SQL into actual d...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to