Re: Survey on backing up unlogged tables: help us with PostgreSQL development!
В списке pgsql-general по дате отправления:
| От | Glen Parker |
|---|---|
| Тема | Re: Survey on backing up unlogged tables: help us with PostgreSQL development! |
| Дата | |
| Msg-id | 4CE33025.2040402@nwlink.com обсуждение исходный текст |
| Ответ на | Re: Survey on backing up unlogged tables: help us with PostgreSQL development! (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-general |
On 11/16/2010 05:15 PM, Tom Lane wrote: > Keep in mind that these tables are *not* going to survive any type of > backend crash. Maybe my perceptions are colored because I deal with > Postgres bugs all the time, but I think of backend crashes as pretty > common, certainly much more common than an OS-level crash. I'm afraid > you may be expecting unlogged tables to be significantly more robust > than they really will be. But an individual backend crash != server restart, unless that's changed since 8.1 (yes, I'm still stuck on 8.1 :( )... So if I, for example, kill -9 a backend that's busy updating a nonlogged table, the table could be corrupted, but it wouldn't be truncated (and could cause trouble) for possibly weeks until the postmaster is restarted. Conversely, even if no backend crash occurs whatsoever, all the nonlogged tables would be truncated after an orderly postmaster restart. Just doesn't make sense to me. -Glen
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера