Re: rapid degradation after postmaster restart

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: rapid degradation after postmaster restart
Дата
Msg-id 14884.1079150555@sss.pgh.pa.us
обсуждение исходный текст
Ответ на rapid degradation after postmaster restart  (Joe Conway <mail@joeconway.com>)
Ответы Re: rapid degradation after postmaster restart  (Joe Conway <mail@joeconway.com>)
Список pgsql-performance
Joe Conway <mail@joeconway.com> writes:
> The problem is this: the application runs an insert, that fires off a
> trigger, that cascades into a fairly complex series of functions, that
> do a bunch of calculations, inserts, updates, and deletes. Immediately
> after a postmaster restart, the first insert or two take about 1.5
> minutes (undoubtedly this could be improved, but it isn't the main
> issue). However by the second or third insert, the time increases to 7 -
> 9 minutes. Restarting the postmaster causes the cycle to repeat, i.e.
> the first one or two inserts are back to the 1.5 minute range.

I realize this question might take some patience to answer, but what
does the performance curve look like beyond three trials?  Does it level
off or continue to get worse?  If it doesn't level off, does the
degradation seem linear in the number of trials, or worse than linear?

I have no ideas in mind, just trying to gather data ...

            regards, tom lane

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

Предыдущее
От: Marty Scholes
Дата:
Сообщение: Re: rapid degradation after postmaster restart
Следующее
От: Tom Lane
Дата:
Сообщение: Re: rapid degradation after postmaster restart