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

Re: Patch: Write Amplification Reduction Method (WARM)

From: Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Jaime Casanova <jaime(dot)casanova(at)2ndquadrant(dot)com>, Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Patch: Write Amplification Reduction Method (WARM)
Date: 2017-01-31 16:38:19
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Tue, Jan 31, 2017 at 7:37 PM, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>

> Pavan Deolasee wrote:
> >
> > Sounds good. Should I submit that as a separate patch on current master?
> Yes, please.

Two new APIs added.

- CatalogInsertHeapAndIndex which does a simple_heap_insert followed by
catalog updates
- CatalogUpdateHeapAndIndex which does a simple_heap_update followed by
catalog updates

There are only a handful callers remain for simple_heap_insert/update after
this patch. They are typically working with already opened indexes and
hence I left them unchanged.

make check-world passes with the patch.


 Pavan Deolasee         
 PostgreSQL Development, 24x7 Support, Training & Services

Attachment: catalog_update.patch
Description: application/octet-stream (92.9 KB)

In response to


pgsql-hackers by date

Next:From: Mithun CyDate: 2017-01-31 16:40:59
Subject: Re: Proposal : For Auto-Prewarm.
Previous:From: Robert HaasDate: 2017-01-31 16:31:38
Subject: Re: Floating point comparison inconsistencies of the geometric types

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