Re: BUG #4801: Performance failure: 600 MB written to each WAL log

Поиск
Список
Период
Сортировка
От Rafael Martinez
Тема Re: BUG #4801: Performance failure: 600 MB written to each WAL log
Дата
Msg-id 4A042C98.5090505@usit.uio.no
обсуждение исходный текст
Ответ на BUG #4801: Performance failure: 600 MB written to each WAL log  ("Peter Much" <pmc@citylink.dinoex.sub.org>)
Ответы Re: BUG #4801: Performance failure: 600 MB written to each WAL log
Список pgsql-bugs
Peter Much wrote:

>
> I perceived it only during "vaccum full" yet, but then a long-running
> "vacuum full" on a large table is the only significant activity on the
> server. (I know that "vacuum full" may not be really necessary, but
> I think it should practically function.)
>
[..........]

Hei

How large is that 'large table' you are talking about?

Our experience says that you don't need vacuum full at all when
administrating a postgres database. Specially if the database is large
and in production.

vacuum full on a large database has so long execution time and uses so
many resources (IO/ram/time) that it is almost useless. If you have such
a problem with your database, that you need the functionality delivered
by vacuum full, it is better to export and import your database.

This does not explain your problem, but maybe if you can avoid running
vacuum full unnecessarily, you will also avoid this problem you are
experiencing.

regards
--
 Rafael Martinez, <r.m.guerrero@usit.uio.no>
 Center for Information Technology Services
 University of Oslo, Norway

 PGP Public Key: http://folk.uio.no/rafael/

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

Предыдущее
От: "Peter Much"
Дата:
Сообщение: BUG #4801: Performance failure: 600 MB written to each WAL log
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: 42804: structure of query does not match error where using RETURN QUERY