Re: Add 64-bit XIDs into PostgreSQL 15
От | Aleksander Alekseev |
---|---|
Тема | Re: Add 64-bit XIDs into PostgreSQL 15 |
Дата | |
Msg-id | CAJ7c6TN_u78pCmB+drVF_ktZtz4+bvc728kizP94i-6d1tPxoA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Add 64-bit XIDs into PostgreSQL 15 (Pavel Borisov <pashkin.elfe@gmail.com>) |
Ответы |
Re: Add 64-bit XIDs into PostgreSQL 15
|
Список | pgsql-hackers |
Hi hackers, > In this part, I suppose you've found a definite bug. Thanks! There are a couple > of ways how it could be fixed: > > 1. If we enforce checkpoint at replica promotion then we force full-page writes after each page modification afterward. > > 2. Maybe it's worth using BufferDesc bit to mark the page as converted to 64xid but not yet written to disk? For example,one of four bits from BUF_USAGECOUNT. > BM_MAX_USAGE_COUNT = 5 so it will be enough 3 bits to store it. This will change in-memory page representation but willnot need WAL-logging which is impossible on a replica. > > What do you think about it? I'm having difficulties merging and/or testing v8-0002-Add-64bit-xid.patch since I'm not 100% sure which commit this patch was targeting. Could you please submit a rebased patch and/or share your development branch on GitHub? I agree with Bruce it would be great to deliver this in PG15. Please let me know if you believe it's unrealistic for any reason so I will focus on testing and reviewing other patches. For now, I'm changing the status of the patch to "Waiting on Author". -- Best regards, Aleksander Alekseev
В списке pgsql-hackers по дате отправления: