Re: CacheInvalidateRelcache in btree is a crummy idea

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: CacheInvalidateRelcache in btree is a crummy idea
Date: 2014-02-05 08:44:20
Message-ID: 52F1F9E4.9050808@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 02/02/2014 11:45 PM, Tom Lane wrote:
> So I'm thinking my commit d2896a9ed, which introduced this mechanism,
> was poorly thought out and we should just remove the relcache invals
> as per the attached patch. Letting _bt_getroot() update the cached
> metapage at next use should be a lot cheaper than a full relcache
> rebuild for the index.

Looks good to me.

- Heikki

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-02-05 08:50:03 Re: Performance Improvement by reducing WAL for Update Operation
Previous Message Andres Freund 2014-02-05 08:10:30 Re: Re: Misaligned BufferDescriptors causing major performance problems on AMD