Re: Does PostgreSQL check database integrity at startup?

Поиск
Список
Период
Сортировка
От Martin Marques
Тема Re: Does PostgreSQL check database integrity at startup?
Дата
Msg-id 2736ceab-73ad-489d-d455-43d38b90cc60@2ndquadrant.com
обсуждение исходный текст
Ответ на Does PostgreSQL check database integrity at startup?  (Edson Carlos Ericksson Richter <richter@simkorp.com.br>)
Ответы Re: Does PostgreSQL check database integrity at startup?  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
El 26/12/17 a las 09:52, Edson Carlos Ericksson Richter escribió:
> Recently I had a problem with a base file with size 0 in a standby server.
> 
> This raised one question: does PostgreSQL (9.6.6) check base integrity
> at startup?
> 
> At least if there are 0 byte size files in base dir? Or CRC? Something?

Yes it has CRC check, but only if you initialize the cluster with
--data-checksums, and there's a price to pay in performance.


-- 
Martín Marqués                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] [PATCH] Lockable views
Следующее
От: Lelisa Diriba
Дата:
Сообщение: Ethiopian calendar year(DATE TYPE) are different from the Gregoriancalendar year