Hacker News new | ask | show | jobs
by sixbrx 3647 days ago
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.