Re: cheaper snapshots redux - Mailing list pgsql-hackers

From Robert Haas
Subject Re: cheaper snapshots redux
Date
Msg-id CA+Tgmob+WHtYQz5t1AEgLG53p30VQwfkf9My9fbd3btgoO0hGg@mail.gmail.com
Whole thread Raw
In response to Re: cheaper snapshots redux  (Gokulakannan Somasundaram <gokul007@gmail.com>)
List pgsql-hackers
On Sun, Aug 28, 2011 at 4:33 AM, Gokulakannan Somasundaram
<gokul007@gmail.com> wrote:
>> No, I don't think it will all be in memory - but that's part of the
>> performance calculation.  If you need to check on the status of an XID
>> and find that you need to read a page of data in from disk, that's
>> going to be many orders of magnitude slower than anything we do with s
>> snapshot now.  Now, if you gain enough elsewhere, it could still be a
>> win, but I'm not going to just assume that.
>>
> I was just suggesting this, because the memory costs have come down a lot(as
> you may know) and people can afford to buy more memory in enterprise
> scenario. We may not need to worry about MBs of memory, especially with the
> cloud computing being widely adopted, when we get scalability.

The proof of the pudding is in the eating, so let me finish coding up
this approach and see how it works.  Then we can decide where to go
next...

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


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: spinlocks on HP-UX
Next
From: Tom Lane
Date:
Subject: Re: spinlocks on HP-UX