Re: visibility maps - Mailing list pgsql-hackers

From Pavan Deolasee
Subject Re: visibility maps
Date
Msg-id 2e78013d0812110541tb80aea1sd8a03dee9b890534@mail.gmail.com
Whole thread Raw
In response to Re: visibility maps  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
List pgsql-hackers
On Thu, Dec 11, 2008 at 7:03 PM, Zdenek Kotala <Zdenek.Kotala@sun.com> wrote:

>
> Yes, because it is not simple write operation. You need to read byte from
> memory to register, set bit and write it back. Write memory itself is atomic
> but somebody could change other bits between read and write.
>

Yeah, but since its just a hint, we can possibly live with some corner
cases. The benefit of avoiding contention on the VM page would easily
out weigh the downside of wrong hints.

Thanks,
Pavan

-- 
Pavan Deolasee
EnterpriseDB     http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Zdenek Kotala
Date:
Subject: Re: visibility maps
Next
From: Alvaro Herrera
Date:
Subject: Re: Refactoring SearchSysCache + HeapTupleIsValid