| От | Tom Lane |
|---|---|
| Тема | Re: postgresql infinite loop |
| Дата | |
| Msg-id | 6035.1475155559@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | postgresql infinite loop (郭 勇 <guoyongxhzhf@icloud.com>) |
| Список | pgsql-hackers |
郭 勇 <guoyongxhzhf@icloud.com> writes:
> I have a postgresql infinite problem.
> when inserting data, a postgresql process involve to infinite loop and cpu usage is 100%. perf top show that
LWacquirelockis most costful.
> Callstack is below.
Given that stack trace, I'd have to guess that this is caused by a
circular chain of right-links in a btree index. How it got that
way is hard to say, but reindexing the index ought to fix it.
If you can show a recipe for producing an index that's broken
this way from a standing start, we'd be very interested.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера