-
- Downloads
Some further performance tweaks for planning large inheritance trees that
are mostly excluded by constraints: do the CE test a bit earlier to save some adjust_appendrel_attrs() work on excluded children, and arrange to use array indexing rather than rt_fetch() to fetch RTEs in the main body of the planner. The latter is something I'd wanted to do for awhile anyway, but seeing list_nth_cell() as 35% of the runtime gets one's attention.
Showing
- src/backend/optimizer/path/allpaths.c 30 additions, 17 deletionssrc/backend/optimizer/path/allpaths.c
- src/backend/optimizer/path/clausesel.c 2 additions, 2 deletionssrc/backend/optimizer/path/clausesel.c
- src/backend/optimizer/path/costsize.c 4 additions, 4 deletionssrc/backend/optimizer/path/costsize.c
- src/backend/optimizer/plan/createplan.c 3 additions, 3 deletionssrc/backend/optimizer/plan/createplan.c
- src/backend/optimizer/plan/planagg.c 2 additions, 2 deletionssrc/backend/optimizer/plan/planagg.c
- src/backend/optimizer/plan/planmain.c 16 additions, 1 deletionsrc/backend/optimizer/plan/planmain.c
- src/backend/optimizer/util/pathnode.c 2 additions, 2 deletionssrc/backend/optimizer/util/pathnode.c
- src/backend/optimizer/util/plancat.c 5 additions, 2 deletionssrc/backend/optimizer/util/plancat.c
- src/backend/optimizer/util/relnode.c 6 additions, 6 deletionssrc/backend/optimizer/util/relnode.c
- src/backend/utils/adt/selfuncs.c 2 additions, 2 deletionssrc/backend/utils/adt/selfuncs.c
- src/include/nodes/relation.h 19 additions, 1 deletionsrc/include/nodes/relation.h
Loading
Please register or sign in to comment