Re: ANALYZE locks pg_listener in EXCLUSIVE for long
| От | Philip Warner |
|---|---|
| Тема | Re: ANALYZE locks pg_listener in EXCLUSIVE for long |
| Дата | |
| Msg-id | 6.1.0.6.0.20040503181624.0487fd40@203.8.195.10 обсуждение исходный текст |
| Ответы |
Re: ANALYZE locks pg_listener in EXCLUSIVE for long
Re: ANALYZE locks pg_listener in EXCLUSIVE for long time? |
| Список | pgsql-hackers |
At 02:54 PM 3/05/2004, Tom Lane wrote: >Please dig deeper. I may have found the problem; all the hung processes show 'async_notify waiting' in ps, and the ANALYZE eventually dies with 'tuple concurrently updated'. The routine 'ProcessIncomingNotify' in async.c does indeed try to lock pg_listener (even if we're not using NOTIFY/LISTEN). Not sure why the ANALYZE is locking the relation, though...but it is locked in AccessShareLock. I can send a log of my investigations if necessary. ---------------------------------------------------------------- Philip Warner | __---_____ Albatross Consulting Pty. Ltd. |----/ - \ (A.B.N. 75 008 659 498) | /(@) ______---_ Tel: (+61) 0500 83 82 81 | _________ \ Fax: (+61) 03 5330 3172 | ___________ | Http://www.rhyme.com.au | / \| | --________-- PGP key available upon request, | / and from pgp.mit.edu:11371 |/
В списке pgsql-hackers по дате отправления: