Re: does database shut down cleanly when WAL device fails?
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: does database shut down cleanly when WAL device fails? |
| Дата | |
| Msg-id | 8989.1115132728@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | does database shut down cleanly when WAL device fails? (Brandon Craig Rhodes <brandon@rhodesmill.org>) |
| Ответы |
Re: does database shut down cleanly when WAL device fails?
|
| Список | pgsql-general |
Brandon Craig Rhodes <brandon@rhodesmill.org> writes:
> And the disputed point:
> - If the drive holding the WAL fails, then the database engine
> will shut down cleanly by writing everything in RAM out to
> the real database tables, and no data will be lost.
Whoever claimed that has no familiarity with the code at all, and no
understanding of the basic WAL rule: write to the log BEFORE you write
data.
In point of fact, loss of the WAL drive will mean a database PANIC stop
and probably a corrupt data area afterwards, since there'd be no
guarantee that related page updates had all made it to disk.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера