Re: [GENERAL] Vacuum and Transactions

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [GENERAL] Vacuum and Transactions
Дата
Msg-id 200107062159.f66Lxl329956@candle.pha.pa.us
обсуждение исходный текст
Ответы Re: [GENERAL] Vacuum and Transactions  (Lincoln Yeoh <lyeoh@pop.jaring.my>)
Список pgsql-hackers
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> In 7.2, VACUUM will not require an exclusive lock.
> 
> > Care to elaborate on that?  How are you going to do it?
> 
> Uh, have you not been paying attention to pg-hackers for the
> last two months?
> 
> I am assuming here that concurrent VACUUM will become the default
> kind of vacuum, and the old style will be invoked by some other
> syntax (VACUUM FULL ..., maybe).

OK, I just talked to Tom on the phone and here is his idea for 7.2.  He
says he already posted this, but I missed it.

His idea is that in 7.2 VACUUM will only move rows within pages.  It
will also store unused space locations into shared memory to be used by
backends needing to add rows to tables.  Actual disk space compaction
will be performed by new a VACUUM FULL(?) command.

The default VACUUM will not lock the table but only prevent the table
from being dropped.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: FE/BE protocol oddity
Следующее
От: Naomi Walker
Дата:
Сообщение: 2 gig file size limit