Re: [GENERAL] vacuum won't even start

2009-09-09 Thread Jean-Christophe Praud
Tom Lane a écrit : Jean-Christophe Praud writes: Indeed, the tables I tried to vacuum have locks on them. AccessShareLock belonging to queries which seem sleeping. I tried to kill these queries but pg_cancel_backend() has no effect, and the process doesn't get the 15 signal. How

Re: [GENERAL] vacuum won't even start

2009-09-09 Thread Tom Lane
Jean-Christophe Praud writes: > Indeed, the tables I tried to vacuum have locks on them. > AccessShareLock belonging to queries which seem sleeping. I tried to > kill these queries but pg_cancel_backend() has no effect, and the > process doesn't get the 15 signal. > How can I get rid of these

Re: [GENERAL] vacuum won't even start

2009-09-09 Thread Jean-Christophe Praud
Tom Lane a écrit : Jean-Christophe Praud writes: 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

Re: [GENERAL] vacuum won't even start

2009-09-09 Thread Jean-Christophe Praud
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

Re: [GENERAL] vacuum won't even start

2009-09-09 Thread Tom Lane
Jean-Christophe Praud writes: > 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

Re: [GENERAL] vacuum won't even start

2009-09-09 Thread Alvaro Herrera
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

[GENERAL] vacuum won't even start

2009-09-09 Thread Jean-Christophe Praud
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 duri