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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: a476514) | patch
Invent recursive_worktable_factor GUC to replace hard-wired constant.
2022年3月24日 15:47:41 +0000 (11:47 -0400)
2022年3月24日 15:47:41 +0000 (11:47 -0400)
commit 0bd7af082ace135581bb13a6bd2d88e68c66a3e0
Invent recursive_worktable_factor GUC to replace hard-wired constant.

Up to now, the planner estimated the size of a recursive query's
worktable as 10 times the size of the non-recursive term. It's hard
to see how to do significantly better than that automatically, but
we can give users control over the multiplier to allow tuning for
specific use-cases. The default behavior remains the same.

Simon Riggs

Discussion: https://postgr.es/m/CANbhV-EuaLm4H3g0+BSTYHEGxJj3Kht0R+rJ8vT57Dejnh=_nA@mail.gmail.com
doc/src/sgml/config.sgml diff | blob | blame | history
src/backend/optimizer/path/costsize.c diff | blob | blame | history
src/backend/utils/misc/guc.c diff | blob | blame | history
src/backend/utils/misc/postgresql.conf.sample diff | blob | blame | history
src/include/optimizer/cost.h diff | blob | blame | history
src/include/optimizer/optimizer.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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