Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lazide
on May 25, 2023
|
parent
|
context
|
favorite
| on:
Cases where full scans are better than indexes
The primary key (userid?) will almost always be indexed implicitly. You’d usually have to go out of your way to avoid it.
So it was probably being joined by an indexed column, but without an explicitly defined index.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
So it was probably being joined by an indexed column, but without an explicitly defined index.