postgresql/src/include/access
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
..
attnum.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
genam.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
gist.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
gistscan.h Another batch of fmgr updates. I think I have gotten all old-style 2000-06-13 07:35:40 +00:00
giststrat.h Change #include's to use <> and "" as appropriate. 1999-07-15 23:04:24 +00:00
hash.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
heapam.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
hio.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
htup.h Improve comments for xlog item size #defines. 2001-03-25 22:40:58 +00:00
ibit.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
iqual.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
istrat.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
itup.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
nbtree.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
printtup.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
relscan.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
rmgr.h XLOG stuff for sequences. 2000-11-30 01:47:33 +00:00
rtree.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
rtscan.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
rtstrat.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
sdir.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
skey.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
strat.h Remove dashes in comments that don't need them, rewrap with pgindent. 2001-03-22 06:16:21 +00:00
transam.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
tupdesc.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
tupmacs.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
tuptoaster.h Rewrite of planner statistics-gathering code. ANALYZE is now available as 2001-05-07 00:43:27 +00:00
valid.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
xact.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
xlog.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
xlogdefs.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
xlogutils.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00