| От | Kevin Barnard |
|---|---|
| Тема | Re: This query is still running after 10 hours... |
| Дата | |
| Msg-id | b068057c040928194178244b00@mail.gmail.com обсуждение |
| Ответ на | Re: This query is still running after 10 hours... (Robert Creager <Robert_Creager@LogicalChaos.org>) |
| Ответы |
Re: This query is still running after 10 hours...
|
| Список | pgsql-performance |
On Tue, 28 Sep 2004 20:21:40 -0600, Robert Creager <robert_creager@logicalchaos.org> wrote: > > The trigger keeps another table (catalog) up to date with the information from the obs_v and obs_i tables. There are nodirect insert/update/delete's on the catalog table, only though the trigger. > It's possible that the update to catalog is what is really taking a long time. You might wish to try and explain that query just to make sure. You might also wish to disable to trigger just to rule it out. Does catalog have any triggers on it? Does it have any foreign keys? I've shot myself in the foot on this before which is the only reason I ask about it.
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера