31 авг. 2021 г., в 11:43, Pengchengliu <pengcheng...@tju.edu.cn> написал(а): SubTransGetParent() acquires only Shared lock on SubtransSLRULock. The problem may arise only when someone reads page from disk. But if you have big enough cache - this will never happen. And this cache will be much less than 512KB*max_connections. I think if we really want to fix exclusive SubtransSLRULock I think best option would be to split SLRU control lock into array of locks - one for each bank (in v17-0002-Divide-SLRU-buffers-into-n-associative-banks.patch). With this approach we will have to rename s/bank/partition/g for consistency with locks and buffers partitions. I really liked having my own banks, but consistency worth it anyway. Thanks! Best regards, Andrey Borodin. |
- RE: suboverflowed subtransactions concurrency performance o... Pengchengliu
- Re: suboverflowed subtransactions concurrency performa... Andrey Borodin
- Re: suboverflowed subtransactions concurrency performa... Andrey Borodin
- Re: suboverflowed subtransactions concurrency performa... Zhihong Yu