Re: Some ideas about Vacuum - Mailing list pgsql-hackers

From Gokulakannan Somasundaram
Subject Re: Some ideas about Vacuum
Date
Msg-id 9362e74e0801160034w2524c0bs74754365cab5d9f@mail.gmail.com
Whole thread Raw
In response to Re: Some ideas about Vacuum  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Some ideas about Vacuum
List pgsql-hackers

Well, one of the principal arguments for having VACUUM at all is that it
off-loads required maintenance effort from foreground transaction code
paths.  I'm not really going to be in favor of solutions that put more
work into the transaction code paths (HOT already did more of that than
I would like :-().  OTOH, I agree that scanning the WAL log doesn't
really sound like something well-matched to this problem either.

Tom, Don't you like the idea of building some more structures around WAL, like Asynchronous Materialized views. Indexes, if implemented as  stated, would remove the HOT code in the path of the transaction(as you may know).  I am also slightly doubtful of the argument, that doing full-table scans and full index scans for Vacuum is efficient. Can you please advise me on why we should not use a read only operation on WAL log ?

Thanks,
Gokul.

pgsql-hackers by date:

Previous
From: "Gokulakannan Somasundaram"
Date:
Subject: Re: Some ideas about Vacuum
Next
From: "Gokulakannan Somasundaram"
Date:
Subject: Re: WAL logging of hash indexes