Re: Page-at-a-time Locking Considerations - Mailing list pgsql-hackers

From Zdenek Kotala
Subject Re: Page-at-a-time Locking Considerations
Date
Msg-id 47A9E6F5.3040202@sun.com
Whole thread Raw
In response to Re: Page-at-a-time Locking Considerations  (Gregory Stark <stark@enterprisedb.com>)
Responses Re: Page-at-a-time Locking Considerations  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Gregory Stark napsal(a):
> "Simon Riggs" <simon@2ndquadrant.com> writes:
> 

> I wonder how hard it would be to shove the clog into regular shared memory
> pages and let the clock sweep take care of adjusting the percentage of shared
> mem allocated to the clog versus data pages.

I tried to use memory mapped files (mmap) for clog and I think it should be also 
possible way. I got about 2% better performance, but it needs more testing.
    Zdenek


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: PostgreSQL 8.4 development plan
Next
From: Tom Lane
Date:
Subject: Re: PostgreSQL 8.4 development plan