postgresql/src/backend/access
Alvaro Herrera d881dd6233 Rework MultiXactId cache code
The original performs too poorly; in some scenarios it shows way too
high while profiling.  Try to make it a bit smarter to avoid excessive
cosst.  In particular, make it have a maximum size, and have entries be
sorted in LRU order; once the max size is reached, evict the oldest
entry to avoid it from growing too large.

Per complaint from Andres Freund in connection with new tuple freezing
code.
2013-12-13 17:16:25 -03:00
..
common Add a new reloption, user_catalog_table. 2013-12-10 19:17:34 -05:00
gin Don't include unused space in LOG_NEWPAGE records. 2013-12-04 00:10:47 +02:00
gist Don't include unused space in LOG_NEWPAGE records. 2013-12-04 00:10:47 +02:00
hash Consistently use unsigned arithmetic for alignment calculations. 2013-10-20 21:04:52 -04:00
heap Add GUC to enable WAL-logging of hint bits, even with checksums disabled. 2013-12-13 16:26:14 +02:00
index Use InvalidSnapshot, now SnapshotNow, as the default snapshot. 2013-07-23 10:58:32 -04:00
nbtree Don't include unused space in LOG_NEWPAGE records. 2013-12-04 00:10:47 +02:00
rmgrdesc Add new wal_level, logical, sufficient for logical decoding. 2013-12-10 19:01:40 -05:00
spgist Don't include unused space in LOG_NEWPAGE records. 2013-12-04 00:10:47 +02:00
transam Rework MultiXactId cache code 2013-12-13 17:16:25 -03:00
Makefile Split out rmgr rm_desc functions into their own files 2012-11-28 13:01:15 -03:00