Re: Deteriorating performance when loading large objects

Поиск
Список
Период
Сортировка
От Ivan Voras
Тема Re: Deteriorating performance when loading large objects
Дата
Msg-id gggttr$ofv$1@ger.gmane.org
обсуждение исходный текст
Ответ на Deteriorating performance when loading large objects  ("Vegard Bønes" <vegard.bones@met.no>)
Список pgsql-performance
Vegard Bønes wrote:
> Hi,
>
> I have a problem with large objects in postgresql 8.1: The performance of
> loading large objects into a database goes way down after a few days of
> operation.
>
> I have a cron job kicking in twice a day, which generates and loads around
> 6000 large objects of 3.7MB each. Each night, old data is deleted, so
> there is never more than 24000 large object in the database.

> So, my question for you is: Why does this happen, and what can I do about it?

Try putting a "vacuumdb -zf" command as a cron job after the data is
deleted.


Вложения

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

Предыдущее
От: "Vegard Bønes"
Дата:
Сообщение: Deteriorating performance when loading large objects
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Deteriorating performance when loading large objects