git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: cbe9d6b) | patch
Improve planner's choices about when to use hashing vs sorting for DISTINCT.
2010年2月10日 03:38:35 +0000 (03:38 +0000)
2010年2月10日 03:38:35 +0000 (03:38 +0000)
commit 76b6ee3f380b90956a1ca18f15e2a70874651f66
Improve planner's choices about when to use hashing vs sorting for DISTINCT.

The previous coding missed a bet by sometimes picking the "sorted" path
from query_planner even though hashing would be preferable. To fix, we have
to be willing to make the choice sooner. This contorts things a little bit,
but I thought of a factorization that makes it not too awful.
src/backend/optimizer/plan/planner.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /