| От | Tom Lane |
|---|---|
| Тема | Re: deleted logs when I shouldn't have... |
| Дата | |
| Msg-id | 17116.1005072100@sss.pgh.pa.us обсуждение |
| Ответ на | deleted logs when I shouldn't have... (Stephanie Brail <zhaanlives@yahoo.com>) |
| Список | pgsql-general |
Stephanie Brail <zhaanlives@yahoo.com> writes:
> I did something really stupid. Our server was out of
> disk space and I deleted the files in the pg_xlog
> directory (or whatever the heck it's called). Now I
> can't start Postgres. Help!
If you shut down the postmaster cleanly before you zapped pg_xlog, then
I think it will work safely to run contrib/pg_resetxlog and start the
postmaster.
If you zapped pg_xlog in a running system or after a crash, you can
still do the resetxlog, but there's no guarantee that your last few
transactions will have applied cleanly --- you may find that some or
all of the effects of "committed" xacts are missing.
> Also, how to deal with these logs, that grow and grow
> and take up space?
7.1.3 is better about that.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера