Re: Enable data checksums by default
От | Christoph Berg |
---|---|
Тема | Re: Enable data checksums by default |
Дата | |
Msg-id | 20190401081647.GB13726@msg.df7cb.de обсуждение исходный текст |
Ответ на | Re: Enable data checksums by default (Tomas Vondra <tomas.vondra@2ndquadrant.com>) |
Ответы |
Re: Enable data checksums by default
Re: Enable data checksums by default |
Список | pgsql-hackers |
Re: Tomas Vondra 2019-03-30 <20190330192543.GH4719@development> > I have not investigated the exact reasons, but my hypothesis it's about > the amount of WAL generated during the initial CREATE INDEX (because it > probably ends up setting the hint bits), which puts additional pressure > on the storage. > > Unfortunately, this additional cost is unlikely to go away :-( If WAL volume is a problem, would wal_compression help? > Now, maybe we want to enable checksums by default anyway, but we should > not pretent the only cost related to checksums is CPU usage. Thanks for doing these tests. The point I'm trying to make is, why do we run without data checksums by default? For example, we do checksum the WAL all the time, and there's not even an option to disable it, even if that might make things faster. Why don't we enable data checksums by default as well? Christoph
В списке pgsql-hackers по дате отправления: