Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
raverbashing
on June 26, 2016
|
parent
|
context
|
favorite
| on:
Using Multi-Byte Characters to Nullify SQL Injecti...
In which case different values would end up have a different query plan? NULL values?
sixbrx
on June 26, 2016
|
next
[–]
That's one of the main points of gathering statistics, so the query plan can depend on the values being queried. At least in Oracle, not sure about Postgres. For long running queries it can be a big win.
greenleafjacob
on June 26, 2016
|
prev
|
next
[–]
Here is an example [1] that just is a simple equality comparison on an indexed column falling back to a sequential table scan.
[1]
http://blog.endpoint.com/2014/04/custom-plans-prepared-state...
ComodoHacker
on June 26, 2016
|
prev
[–]
Skewed distribution.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: