If crashes during VACUUM, will it recover from a checkpoint that is before the forzen transaction ID of VACUUM?

Поиск
Список
Период
Сортировка
От Jialun Zhang
Тема If crashes during VACUUM, will it recover from a checkpoint that is before the forzen transaction ID of VACUUM?
Дата
Msg-id CAMFL+Jj8c6RY4_HfmHDJN4x1E3O=KwYPWUuRex4hTt++Be45Ag@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
Hello All,

When VACUUM starts, it will calculate a frozen transaction ID and freeze all tuples older than it. Will this frozen TXID younger than the latest checkpoint? 

If this is the case, then when the system crashes after VACUUM has deleted some dead tuples and the system recovers from this checkpoint, these tuples will be available to some transactions again during the replaying of WAL.  

I am new to Postgres, hope my understanding is not too wrong.

Thanks,
Reatank

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PostgreSQL 12 - ERROR: could not rename file "pg_logical/snapshots/1A-7C00D890.snap.13594.tmp" to "pg_logical/snapshots/1A-7C00D890.snap": No space left on device
Следующее
От: Rene de Gek
Дата:
Сообщение: Re: Connecting Powerbuilder / EAserver to PostgreSQL server 11 via ODBC or JDBC