Re: A Question about FPW and WAL

Поиск
Список
Период
Сортировка
От Rui DeSousa
Тема Re: A Question about FPW and WAL
Дата
Msg-id 718AEDDD-FE66-4865-A362-0A7B760B5DF1@crazybean.net
обсуждение исходный текст
Ответ на Re: A Question about FPW and WAL  (Laurenz Albe <laurenz.albe@cybertec.at>)
Ответы Re: A Question about FPW and WAL  (Dawn Yu <boyyuxiao1987@gmail.com>)
Список pgsql-admin


On Apr 3, 2023, at 5:38 AM, Laurenz Albe <laurenz.albe@cybertec.at> wrote:

By default, index full-page write is disabled. If the index is broken, you can
rebuild the index to solve it. Although the security of index data cannot be
guaranteed, this setting can greatly reduce the problem of storage space explosion
caused by wal write amplification.

I would feel funny about a parameter like that.

I agree. To allow for indexes to become corrupt by design would be a bad idea. Rebuilding indexes is a not a solution as some index rebuilds takes hours on very large tables. Dealing with identifying corrupted indexes and the issues caused by them would be a nightmare to deal with and not very ACID compliant.

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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: A Question about FPW and WAL
Следующее
От: Roland Che
Дата:
Сообщение: ERROR: invalid memory alloc request size