Skip site navigation (1) Skip section navigation (2)

Re: Process local hint bit cache

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Process local hint bit cache
Date: 2011-03-30 14:36:24
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On 30.03.2011 17:05, Merlin Moncure wrote:
> *) Maybe the shared buffer cache currently being maintained over the
> clog can be scrapped. I'm going to leave it alone for now, but I'm
> quite skeptical it provides much benefit even without local process
> cache.  clog page have a very nice property that you don't have to
> worry about what else is going on from other processes and thus no
> complicated locking or invalidation issues when considering cache
> structure.  IMNSHO -- this makes a local cache a much better fit even
> if you have to keep it smaller for memory usage reasons.

A related idea I've sometimes pondered is to mmap() the clog in every 

   Heikki Linnakangas

In response to

pgsql-hackers by date

Next:From: Greg StarkDate: 2011-03-30 14:40:11
Subject: Re: Process local hint bit cache
Previous:From: Robert HaasDate: 2011-03-30 14:14:03
Subject: Re: pg_dump --binary-upgrade vs. ALTER TYPE ... DROP ATTRIBUTE

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group