Re: Fun fact about autovacuum and orphan temp tables
| От | Alvaro Herrera |
|---|---|
| Тема | Re: Fun fact about autovacuum and orphan temp tables |
| Дата | |
| Msg-id | 20160905133440.GA671130@alvherre.pgsql обсуждение исходный текст |
| Ответ на | Fun fact about autovacuum and orphan temp tables (Grigory Smolkin <g.smolkin@postgrespro.ru>) |
| Ответы |
Re: Fun fact about autovacuum and orphan temp tables
|
| Список | pgsql-hackers |
Grigory Smolkin wrote: > Funny part is that it never drops them. So when backend is finally > terminated, it tries to drop them and fails with error: > > FATAL: out of shared memory > HINT: You might need to increase max_locks_per_transaction > > If I understand that rigth, we are trying to drop all these temp tables in > one transaction and running out of locks to do so. Hmm, yeah, I suppose it does that, and it does seem pretty inconvenient. It is certainly pointless to hold onto these locks for temp tables. I wonder how ugly would be to fix this problem ... -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: