Re: Alter table set logged hanging after writing out all WAL
Вложения
В списке pgsql-general по дате отправления:
| От | Michael Paquier |
|---|---|
| Тема | Re: Alter table set logged hanging after writing out all WAL |
| Дата | |
| Msg-id | 20180206071948.GC74355@paquier.xyz обсуждение исходный текст |
| Ответ на | Alter table set logged hanging after writing out all WAL (Jeremy Finzel <finzelj@gmail.com>) |
| Ответы |
Re: Alter table set logged hanging after writing out all WAL
|
| Список | pgsql-general |
On Tue, Feb 06, 2018 at 12:50:56AM -0600, Jeremy Finzel wrote: > The table I am setting to logged is 32GB with indexes. I see it writing > WAL files like crazy but after about an hour and a half, it has written out > some 2500 WAL segments, then it just sits and continues to run as "active", > but no more WAL files are being created. There are no locks, and no other > transactions in the system running. Switching an unlogged table to be logged causes an entire image of the table to be WAL-logged so as the operation is consistent in case of a crash. > Any ideas? Is it still doing something that I need to wait for? Do you have a backtrace with the process doing the ALTER TABLE hanging? How is structured you table with its indexes? It is a bit hard to guess much without more information. -- Michael
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера