Re: Slow trigger on identical DB but different machine

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Slow trigger on identical DB but different machine
Дата
Msg-id 28669.1142607011@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Slow trigger on identical DB but different machine  (Etienne Labuschagne <elabuschagne@agileworks.net>)
Ответы Re: Slow trigger on identical DB but different machine
Re: Slow trigger on identical DB but different machine
Список pgsql-general
Etienne Labuschagne <elabuschagne@agileworks.net> writes:
> The strange thing is that both databases are EXACTLY the same with
> EXACTLY the same SQL query executed (I restore both DBs from the same
> backup file to ensure that everything is the same - data and objects).

Have you vacuumed and analyzed in both DBs?  This sounds like either out-
of-date stats or different configuration settings in the two.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: TJ O'Donnell
Дата:
Сообщение: efficiency of group by 1 order by 1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: after insert trigger hangs