OtterTune Blog company blog
When should you use the IN instead of the OR operator in Postgres?
Query performance often varies depending on how you write queries. For PostgreSQL, what provides better performance? The IN or OR operator?
- Points
- 100
- HN comments
- 49
- Submissions
- 1
- Cited by
- 0 commenters
Databases & DataSoftware Engineering2023
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Aug 30, 2023 | When should you use the IN instead of the OR operator in Postgres? by angry__panda | 100 | 49 |