Re: Freeze avoidance of very large table.
От | Torsten Zühlsdorff |
---|---|
Тема | Re: Freeze avoidance of very large table. |
Дата | |
Msg-id | 56288C08.1080205@toco-domains.de обсуждение исходный текст |
Ответ на | Re: Freeze avoidance of very large table. (Masahiko Sawada <sawada.mshk@gmail.com>) |
Ответы |
Re: Freeze avoidance of very large table.
|
Список | pgsql-hackers |
On 21.10.2015 02:05, Masahiko Sawada wrote: > On Sat, Oct 10, 2015 at 4:20 AM, Robert Haas <robertmhaas@gmail.com> wrote: >> On Thu, Oct 8, 2015 at 1:52 PM, Andres Freund <andres@anarazel.de> wrote: >>> I don't see the problem? I mean catversion will reliably tell you which format the vm is in? >> >> Totally agreed. >> >>> We could additionally use the opportunity to as a metapage, but that seems like an independent thing. >> >> I agree with that, too. >> > > Attached the updated v18 patch fixes some bugs. > Please review the patch. I've just checked the comments: File: /doc/src/sgml/catalogs.sgml + Number of pages that are marked all-frozen in the tables's Should be: + Number of pages that are marked all-frozen in the tables + <command>ANALYZE</command>, and a few DDL coomand such as Should be: + <command>ANALYZE</command>, and a few DDL command such as File: doc/src/sgml/maintenance.sgml + When the all pages of table are eventually marked as frozen by <command>VACUUM</>, Should be: + When all pages of the table are eventually marked as frozen by <command>VACUUM</>, File: /src/backend/access/heap/visibilitymap.c + * visibility map bit. Then, we lock the buffer. But this creates a race Should be: + * visibility map bit. Than we lock the buffer. But this creates a race + * buffer, the PD_ALL_VISIBLE or PD_ALL_FROZEN bit gets set. If that happens, Should be: + * buffer, the PD_ALL_VISIBLE or PD_ALL_FROZEN bit gets set. If that happens, (Remove duplicate white space before if) Please note i'm not a native speaker. There is a good chance that i am wrong ;) Greetings, Torsten
В списке pgsql-hackers по дате отправления: