Re: About tapes - Mailing list pgsql-hackers

From Robert Haas
Subject Re: About tapes
Date
Msg-id AANLkTinEkolhYvV2jE2FSS6abmHP7o5Bv5VOuoLIRXRL@mail.gmail.com
Whole thread Raw
In response to Re: About tapes  ("mac_man2005@hotmail.it" <mac_man2005@hotmail.it>)
Responses Re: About tapes  ("mac_man2005@hotmail.it" <mac_man2005@hotmail.it>)
List pgsql-hackers
On Sat, Jun 19, 2010 at 4:57 AM, mac_man2005@hotmail.it
<mac_man2005@hotmail.it> wrote:
> Tom, Robert,
> thank you.
>
> Now it is clearer how space on tapes is recycled.
>
> I tried to follow Robert's example but storing one tape per separate file.
> Read in the first block of each run (hosted by separate tapes and so by
> separate files) and output them into extra storage, wherever this extra
> storage is.
> Again, those first input blocks are now garbage: is it correct?

Yes.

> In this case, what happens when trying to recycle those garbage blocks by
> hosting the result of merging the second block of each run?

You just overwrite them with the new data.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: beta3 & the open items list
Next
From: Tom Lane
Date:
Subject: Re: beta3 & the open items list