| От | Tom Lane |
|---|---|
| Тема | Re: Finalizing commit taking very long |
| Дата | |
| Msg-id | 1302.1193231756@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Finalizing commit taking very long ("Giulio Cesare Solaroli" <giulio.cesare@gmail.com>) |
| Ответы |
Re: Finalizing commit taking very long
|
| Список | pgsql-performance |
"Giulio Cesare Solaroli" <giulio.cesare@gmail.com> writes:
> As you may notice, the commit phase takes almost 2 full minutes. :-(
Yow. It's hard to believe that the actual commit (ie, flushing the
commit record to WAL) could take more than a fraction of a second.
I'm thinking there must be a pile of pre-commit work to do, like a
lot of deferred triggers. Do you use deferred foreign keys?
If so, the most likely bet is that the DELETE is triggering a lot
of deferred FK checks, and these are slow for some reason (maybe
another missing index).
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера