Re: please explain vacuum with WAL - Mailing list pgsql-general

From Dmitry Melekhov
Subject Re: please explain vacuum with WAL
Date
Msg-id 48732B61.4010708@belkam.com
Whole thread Raw
In response to Re: please explain vacuum with WAL  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: please explain vacuum with WAL
Re: please explain vacuum with WAL
List pgsql-general
Simon Riggs пишет:
> On Tue, 2008-07-08 at 13:09 +0500, Dmitry Melekhov wrote:
>
>> Hello!
>>
>> I tried to ask this question in novice list.
>> Just because there are no replies I try here.
>> This is really novice question- I'm oracle dba :-)
>>
>>
>>> I just installed 8.3 with WAL enabled.
>>> But I can't understand why postgres generated many archive logs during
>>> vacuum, if WAL is enabled.
>>> Could you explain?
>>>
>
> What do you mean "WAL is enabled"? That's not a term I recognize since
> WAL is always enabled.
>
>
AFAIK, it can be disabled. May be I'm wrong...
> Best read this
> http://developer.postgresql.org/pgdocs/postgres/routine-vacuuming.html
>
> VACUUM needs to perform writes to clear up, which generates WAL.
>
>
This is what I don't understand.
I think WAL can be used for point-in-time recovery.
So, if I have database backup and WAL generated after this backup, I can
do recovery, this mean WAL already contains all changes to database,
without vacuum.  Could you tell me what is wrong in my sentence?



pgsql-general by date:

Previous
From: Simon Riggs
Date:
Subject: Re: please explain vacuum with WAL
Next
From: Glyn Astill
Date:
Subject: Re: please explain vacuum with WAL