Re: Autovacuum in the backend

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Autovacuum in the backend
Дата
Msg-id 200506151404.j5FE4Mb09030@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Autovacuum in the backend  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
Ответы Re: Autovacuum in the backend  ("Matthew T. O'Connor" <matthew@zeut.net>)
Re: Autovacuum in the backend  (Gavin Sherry <swm@linuxworld.com.au>)
Список pgsql-hackers
I am going to start working on it.  I am concerned it is a big job.

I will post questions as I find them, and the one below is a good one.

---------------------------------------------------------------------------

Qingqing Zhou wrote:
> 
> "Qingqing Zhou" <zhouqq@cs.toronto.edu> writes
> >
> > The start/stop routine is quite like Bgwriter.
> >
> 
> I just realized that the non-standard backend can't execute any SQL command.
> If so, how would the background pg_autovacuum do "vacuum"? It could be
> forked more like a standard backend, but this is obviously not a good idea,
> since we don't know which database this process will sit on.
> 
> A possible solution is that backgroud pg_autovacuum could fork another
> process to connect to postmaster as an ordinary backend each time it feels
> that a "vacuum" is needed.
> 
> Any ideas?
> 
> Regards,
> Qingqing
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faq
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: LGPL
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Autovacuum in the backend