| От | Volkan YAZICI |
|---|---|
| Тема | Re: Memory Problem |
| Дата | |
| Msg-id | 87ej6bpfup.fsf@alamut.mobiliz.com.tr обсуждение исходный текст |
| Ответ на | Re: Memory Problem (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-general |
Hi, On Wed, 02 Jul 2008, Tom Lane <tgl@sss.pgh.pa.us> writes: > Are there any foreign keys referencing this table? If so, you're > probably running out of memory for the list of pending trigger events > (to verify that the FK constraint isn't violated by the delete). > > Allowing the triggers to fire individually would take forever anyway, > so it might be best to drop the foreign key constraint(s) and then > re-establish them after the delete. Thanks for the warning. Temporarily disabling FKs did the job. I knew the problem about triggers, but didn't expect same applies for FKs also. I'm very suprised FKs cause memory exhaustion too. Regards.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера