| От | Michael Paquier |
|---|---|
| Тема | Re: Using of --data-checksums |
| Дата | |
| Msg-id | 20200408022930.GD1606@paquier.xyz обсуждение |
| Ответ на | Using of --data-checksums (BGoebel <b.goebel@prisma-computer.de>) |
| Список | pgsql-general |
On Tue, Apr 07, 2020 at 08:10:13AM -0700, BGoebel wrote: > initdb --data-checksums "... help to detect corruption by the I/O system" > There is an (negligible?) impact on performance, ok. > > Is there another reason NOT to use this feature ? > Has anyone had good or bad experience with the use of --data-checksums? FWIW, I have a good experience with it. Note that some performance impact of up to ~1% may be noticeable if you have a large number of buffer evictions from PostgreSQL shared buffer pool, but IMO the insurance of knowing that Postgres is not the cause of an on-disk corruption is largely worth it (in applications where I got that enabled we did not notice any performance impact even in very heavy production-like workloads, and this even if we had a rather low shared buffer setting with a much larger set of hot pages, causing the OS cache to be filled with most of the hot data). -- Michael
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера