git.postgresql.org Git - postgresql.git/commit
2013年12月13日 20:16:25 +0000 (17:16 -0300)
2013年12月13日 20:16:25 +0000 (17:16 -0300)
commit d881dd6233f4eec6404f003bb08312e9e650e0e2
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.
This is the main PostgreSQL git repository.
RSS
Atom