Re: Autovacuum in the backend

From: Russell Smith <mr-russ(at)pws(dot)com(dot)au>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: Qingqing Zhou <zhouqq(at)cs(dot)toronto(dot)edu>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Autovacuum in the backend
Date: 2005-06-17 09:08:07
Message-ID: 200506171908.07610.mr-russ@pws.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Fri, 17 Jun 2005 06:26 pm, Andreas Pflug wrote:
> Qingqing Zhou wrote:
> > "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> >
> >>Yeah --- a libpq-based solution is not what I think of as integrated at
> >>all, because it cannot do anything that couldn't be done by the existing
> >>external autovacuum process. About all you can buy there is having the
> >>postmaster spawn the autovacuum process, which is slightly more
> >>convenient to use but doesn't buy any real new functionality.
> >>
> >
> >
> > One reason of not using lib-pq is that this one has to wait for the
> > completion of each vacuum (we don't has async execution in libpq right?),
>
> There *is* async execution in libpq, and it works.

I would have thought the main reasons for not using libpq means you are locked
into only using commands that are available to all users via SQL. If you don't use
libpq, you open up the ability to use functions that can make use of information available
to the backend, and to also run functions in a way that it is not possible to do via SQL.

Regards

Russell Smith.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gavin Sherry 2005-06-17 09:16:14 Re: Autovacuum in the backend
Previous Message Russell Smith 2005-06-17 09:05:01 Re: Autovacuum in the backend

Browse pgsql-hackers by date

  From Date Subject
Next Message Gavin Sherry 2005-06-17 09:16:14 Re: Autovacuum in the backend
Previous Message Christopher Kings-Lynne 2005-06-17 09:07:03 Re: Utility database (Was: RE: Autovacuum in the backend)