| От | Tom Lane |
|---|---|
| Тема | Re: Corrpupt Data File |
| Дата | |
| Msg-id | 11655.1077804017@sss.pgh.pa.us обсуждение |
| Ответ на | Corrpupt Data File (Alex Derbes <acd@brillig.org>) |
| Ответы |
Re: Corrpupt Data File
|
| Список | pgsql-bugs |
Alex Derbes <acd@brillig.org> writes:
> deleting the indexes from the table did not help. Is there a tool or
> method that that I could use to simply skip the bad data and at least
> recover the good blocks?
Just zero out the broken page, eg with dd from /dev/zero. Note it
might be a good idea to shut down the postmaster while you do so,
else there could be a copy of that page in Postgres shared buffers,
which'd mask your attempted fix.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера