Ответ: [HACKERS] Otvet: WAL and indexes (Re: [HACKERS] WAL status & todo) - Mailing list pgsql-hackers

From Mikheev, Vadim
Subject Ответ: [HACKERS] Otvet: WAL and indexes (Re: [HACKERS] WAL status & todo)
Date
Msg-id 8F4C99C66D04D4118F580090272A7A230327BE@SECTORBASE1
Whole thread Raw
List pgsql-hackers
>> One of the purposes of WAL is immediate removing tuples
>> inserted by aborted xactions. I want make VACUUM
>> *optional* in future - space must be available for
>> reusing without VACUUM. And this is first, very small,
>> step in this direction.
>
>Why would vacuum become optional?  Would WAL offer an option to
>not reclaim free space?  We're hoping that vacuum becomes unneeded

Reclaiming free space is issue of storage manager, as
I said here many times. WAL is just Write A-head Log
(first write to log then to data files, to have ability
to recover using log data) and for matter of space it can
only help to delete tuples inserted by aborted transaction.

>when postgresql is run with some flag indicating that we're
>uninterested in time travel.

Time travel is gone ~ 3 years ago and vacuum was needed all
these years and will be needed to reclaim space in 7.1

>How much longer do you estimate until you can make it work that way?

Hopefully in 7.2

Vadim



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Ответ: Ответ: WAL and indexes (Re: [HACKERS] WAL status & todo)
Next
From: Bruce Momjian
Date:
Subject: Re: Re: ?????: ?????: WAL and indexes (Re: [HACKERS] WAL status & todo)