| От | Tom Lane |
|---|---|
| Тема | Re: autovacuum ignore tables |
| Дата | |
| Msg-id | 3831.1159565887@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: autovacuum ignore tables ("Sriram Dandapani" <sdandapani@counterpane.com>) |
| Список | pgsql-admin |
"Sriram Dandapani" <sdandapani@counterpane.com> writes:
> Real question is: Why do the INSERTS go into wait state as soon as the
> lock table statement is issued on the parent?
If you were just inserting directly into other child tables, a lock on
either the parent or the target child table shouldn't affect them.
I wonder if you are using conditional rules to redirect the inserts,
and the rules include a reference to the target table? If that's the
case, you really need to drop the relevant rule before you remove the
child table, anyway.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера