Re: autovacuum stuck on a table for 18+ hours, consuming lots of CPU time
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: autovacuum stuck on a table for 18+ hours, consuming lots of CPU time |
| Дата | |
| Msg-id | 12410.1322020196@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: autovacuum stuck on a table for 18+ hours, consuming lots of CPU time (Lonni J Friedman <netllama@gmail.com>) |
| Ответы |
Re: autovacuum stuck on a table for 18+ hours, consuming
lots of CPU time
|
| Список | pgsql-general |
Lonni J Friedman <netllama@gmail.com> writes:
> I suspect you're right. I just ran strace against that PID again, and
> now all the lseek & read FD's are referrring to a different number
> (115), so that means its moved onto something new since I looked a few
> hours ago?
> Anyway, I think this is what you were referring to:
> /proc/30188/fd/115 -> /var/lib/pgsql/data/base/64793/72633.10
> How do I correlate that file to an actual database object?
64793 is the pg_database.oid of the database, and 72633 is the
pg_class.relfilenode value of the table/index.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера