summaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2013-12-13 17:16:25 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2013-12-13 17:16:25 -0300
commit0bc00363b9b1d5ee44a0b25ed2dfc83f81e68258 (patch)
tree20977a410e59551a8efa3eb338779479339715e2 /src/backend/executor
parent0cfc67bf4f39770e89c0b99f0bb99effdfc80b60 (diff)
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.
Diffstat (limited to 'src/backend/executor')
0 files changed, 0 insertions, 0 deletions