Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wvenable
on Aug 25, 2024
|
parent
|
context
|
favorite
| on:
Pipe Syntax in SQL
If you use temp tables you're subverting the optimizer. Sometimes that's what you want but often it's not.
RaftPeople
on Aug 25, 2024
[–]
I use them on purpose to "help" the optimizer by reducing the search space for query plan ((knowing that query plan optimization is a combinatorial problem and the optimizer frequently can't evaluate enough plans in a reasonable amount of time).
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: