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
Ответ на
Список
Дерево обсуждения
A Question about FPW and WAL Dawn Yu <boyyuxiao1987@gmail.com>
Re: A Question about FPW and WAL Laurenz Albe <laurenz.albe@cybertec.at>
Re: A Question about FPW and WAL Rui DeSousa <rui@crazybean.net>
Re: A Question about FPW and WAL Dawn Yu <boyyuxiao1987@gmail.com>


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
Дата:
От: Roland Che
Дата:
FAQ