postgresql/src/backend/optimizer/path
Tom Lane b74c543685 Improve usage of effective_cache_size parameter by assuming that all the
tables in the query compete for cache space, not just the one we are
currently costing an indexscan for.  This seems more realistic, and it
definitely will help in examples recently exhibited by Stefan
Kaltenbrunner.  To get the total size of all the tables involved, we must
tweak the handling of 'append relations' a bit --- formerly we looked up
information about the child tables on-the-fly during set_append_rel_pathlist,
but it needs to be done before we start doing any cost estimation, so
push it into the add_base_rels_to_query scan.
2006-09-19 22:49:53 +00:00
..
Makefile $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
allpaths.c Improve usage of effective_cache_size parameter by assuming that all the 2006-09-19 22:49:53 +00:00
clausesel.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
costsize.c Improve usage of effective_cache_size parameter by assuming that all the 2006-09-19 22:49:53 +00:00
indxpath.c In the recent changes to make the planner account better for cache 2006-07-22 15:41:56 +00:00
joinpath.c Fix an oversight in mergejoin planning: the planner would reject a 2006-08-17 17:06:37 +00:00
joinrels.c Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
orindxpath.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
pathkeys.c Teach convert_subquery_pathkeys() to handle the case where the 2006-08-17 17:02:49 +00:00
tidpath.c Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00