Re: This query is still running after 10 hours...

Поиск
Список
Период
Сортировка
От 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...  (Robert Creager <Robert_Creager@LogicalChaos.org>)
Список 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 по дате отправления:

Предыдущее
От: Robert Creager
Дата:
Сообщение: Re: This query is still running after 10 hours...
Следующее
От: Robert Creager
Дата:
Сообщение: Re: This query is still running after 10 hours...