Re: My quick and dirty "solution" (Re: Performance Problem with Vacuum of bytea table (PG 8.0.13))

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: My quick and dirty "solution" (Re: Performance Problem with Vacuum of bytea table (PG 8.0.13))
Дата
Msg-id 4656E1B5.3020300@archonet.com
обсуждение исходный текст
Ответ на My quick and dirty "solution" (Re: Performance Problem with Vacuum of bytea table (PG 8.0.13))  (Bastian Voigt <post@bastian-voigt.de>)
Ответы Re: My quick and dirty "solution" (Re: Performance Problem with Vacuum of bytea table (PG 8.0.13))  (Bastian Voigt <post@bastian-voigt.de>)
Список pgsql-performance
Bastian Voigt wrote:
> No, this did not help. The vacuum process is still running far too long
> and makes everything slow. It is even worse than before, cause now the
> system is slow almost all the time while when vacuuming only every 3
> hours it is only slow once every three hours.....

Could you check the output of vacuum verbose on that table and see how
much work it's doing? I'd have thought the actual bytea data would be
TOASTed away to a separate table for storage, leaving the vacuum with
very little work to do.

It might well be your actual problem is your disk I/O is constantly
saturated and the vacuum just pushes it over the edge. In which case
you'll either need more/better disks or to find a quiet time once a day
to vacuum and just do so then.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: "Steinar H. Gunderson"
Дата:
Сообщение: Re: general PG network slowness (possible cure) (repost)
Следующее
От: Kristo Kaiv
Дата:
Сообщение: Re: My quick and dirty "solution" (Re: Performance Problem with Vacuum of bytea table (PG 8.0.13))