Re: COPY FROM STDIN hang

Поиск
Список
Период
Сортировка
От Robert Creager
Тема Re: COPY FROM STDIN hang
Дата
Msg-id BE90E9D5-50C4-45A0-9DCF-8F44330A5F30@logicalchaos.org
обсуждение исходный текст
Ответ на Re: COPY FROM STDIN hang  (Robert Creager <robert@logicalchaos.org>)
Список pgsql-jdbc


On Mar 23, 2021, at 3:51 PM, Robert Creager <robert@logicalchaos.org> wrote:

A different theory, which is hard to prove without debug symbols
to provide more detail in the trace, is that it might be looping
due to following a closed loop of btree page right-links.  Which
shouldn't happen normally, but perhaps this index is corrupt.
Can you try reindexing the indexes of the COPY's target table?


Thanks Tom, since the reindex we’ve been unable to reproduce the problem again.

The big question is do you have any random thoughts on how a index may of gotten corrupted?  The db lives on a two SSC ZFS mirror, so I’d not expect disk corruption.

Best,
Robert

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Robert Creager
Дата:
Сообщение: Re: COPY FROM STDIN hang
Следующее
От: Prasanth
Дата:
Сообщение: Re: Exception while updating result set