Re: vacuum won't even start

Поиск
Список
Период
Сортировка
От Jean-Christophe Praud
Тема Re: vacuum won't even start
Дата
Msg-id 4AA7D763.7000602@steek.com
обсуждение исходный текст
Ответ на Re: vacuum won't even start  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-general
Alvaro Herrera a écrit :
Jean-Christophe Praud wrote: 
Hi all,

I've a problem on a heavy loaded database: vacuums don't work since
about a week. All I got is:

mybase=# vacuum verbose analyze public.mytable;
INFO:  vacuuming "public.mytable"
(I stop it after hours)

Looking with top and iotop, I see the process takes some cpu and
disk io time during several minutes, then it seems to fall asleep.
The process isn't locked according to pg_stat_activity.   
What are your vacuum_cost_% parameters?
 
I've let the default values (not even uncommented in the conf file ;) ):

#vacuum_cost_delay = 0                  # 0-1000 milliseconds
#vacuum_cost_page_hit = 1               # 0-10000 credits
#vacuum_cost_page_miss = 10             # 0-10000 credits
#vacuum_cost_page_dirty = 20            # 0-10000 credits
#vacuum_cost_limit = 200                # 1-10000 credits


-- 
JC
Ph'nglui  mglw'nafh  Cthulhu  n'gah  Bill  R'lyeh  Wgah'nagl fhtagn!

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: vacuum won't even start
Следующее
От: Jean-Christophe Praud
Дата:
Сообщение: Re: vacuum won't even start