Hi Ilya!
Touching entries seem to me not a possible solution here. During what
the period entry should be considered as recent? I think until all
transactions which have touched the given entry are terminated. If all
transactions which have read the particular entry are terminated - it
can be safely removed. In this case we should track all such
transactions somewhere. This tracking looks quite complicated and has
some overheads. It reminds behavior of read lock which is out of scope
of MVCC architecture - we use snapshots instead of shared read locks.
Thank you!
--
Kind Regards
Roman Kondakov
On 13.12.2018 16:27, Ilya Kasnacheev wrote:
Hello!
Is it possible to 'touch' entries read by MVCC transactions to ensure that
they are considered recent and therefore are almost never targeted by
eviction?
This is 1) with benefits.
Regards,