| От | Tom Lane |
|---|---|
| Тема | Re: Avoiding Refreezing XIDs Repeatedly |
| Дата | |
| Msg-id | 14441.1423512034@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Avoiding Refreezing XIDs Repeatedly (Alvaro Herrera <alvherre@2ndquadrant.com>) |
| Список | pgsql-performance |
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> bkrug wrote:
>> The problem I'm facing is that I have many large (several GB) tables that are
>> not being changed (they are several days old) but auto-vacuum keeps scanning
>> and updating them every time the xid wraps around and thus my rsync back-up
>> process sees that the disk files have changed and must copy them.
> We have considered changing this, but it needs a concerted effort. It's
> not a simple problem.
I'm not following. Yes, the tables will be *scanned* at least once per
XID wraparound cycle, but if they are in fact static then they should not
be changing once the tuples have been frozen the first time. If this is
incurring continuing rsync work then something else is going on.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера