postgresql/src/backend/optimizer/util
Tom Lane f905d65ee3 Rewrite of planner statistics-gathering code. ANALYZE is now available as
a separate statement (though it can still be invoked as part of VACUUM, too).
pg_statistic redesigned to be more flexible about what statistics are
stored.  ANALYZE now collects a list of several of the most common values,
not just one, plus a histogram (not just the min and max values).  Random
sampling is used to make the process reasonably fast even on very large
tables.  The number of values and histogram bins collected is now
user-settable via an ALTER TABLE command.

There is more still to do; the new stats are not being used everywhere
they could be in the planner.  But the remaining changes for this project
should be localized, and the behavior is already better than before.

A not-very-related change is that sorting now makes use of btree comparison
routines if it can find one, rather than invoking '<' twice.
2001-05-07 00:43:27 +00:00
..
clauses.c Repair pgindent damage to comments. 2001-03-27 17:12:34 +00:00
joininfo.c pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
Makefile Subselects in FROM clause, per ISO syntax: FROM (SELECT ...) [AS] alias. 2000-09-29 18:21:41 +00:00
pathnode.c Rewrite of planner statistics-gathering code. ANALYZE is now available as 2001-05-07 00:43:27 +00:00
plancat.c Rewrite of planner statistics-gathering code. ANALYZE is now available as 2001-05-07 00:43:27 +00:00
relnode.c Take OUTER JOIN semantics into account when estimating the size of join 2001-02-16 00:03:08 +00:00
restrictinfo.c Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
tlist.c pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
var.c Make the world safe for passing whole rows of views to functions. This 2001-04-18 20:42:56 +00:00