Re: vacuum won't even start - Mailing list pgsql-general

From Jean-Christophe Praud
Subject Re: vacuum won't even start
Date
Msg-id 4AA7D763.7000602@steek.com
Whole thread Raw
In response to Re: vacuum won't even start  (Alvaro Herrera <alvherre@commandprompt.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: vacuum won't even start
Next
From: Jean-Christophe Praud
Date:
Subject: Re: vacuum won't even start