Re: What does this tell me?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: What does this tell me?
Дата
Msg-id 17558.1034140946@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: What does this tell me?  ("Josh Berkus" <josh@agliodbs.com>)
Список pgsql-performance
"Josh Berkus" <josh@agliodbs.com> writes:
> Actually, it's apparently a real problem, because the function never
> completes.   Each cycle of "recycling transaction logs" takes longer
> and longer, and eventually locks up completely.
> What the function is doing is a succession of data cleanup procedures,
> updating the same table about 50 times.  I will be very thankful for
> the day when I can commit within a procedure.

I think you are barking up the wrong tree.

The messages you show are perfectly normal operation, and prove nothing
much except that you pumped a lot of database updates through the
system.  I think there's something wrong with your data transformation
application logic; or perhaps you are pumping so many updates through
your tables that you need some intermediate VACUUMs to get rid of
dead tuples.  But messing with the WAL log parameters isn't going to
do a darn thing for you ... IMHO anyway.

            regards, tom lane

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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: What does this tell me?
Следующее
От: "Josh Berkus"
Дата:
Сообщение: Re: What does this tell me?