Re: Insert vs Update - Mailing list pgsql-performance

From Robert DiFalco
Subject Re: Insert vs Update
Date
Msg-id CAAXGW-zYODy0yjmgTR9OHNEZm_4LLLrJ4ZnmXPBrSVx=n8EwBQ@mail.gmail.com
Whole thread Raw
In response to Re: Insert vs Update  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-performance


On Wed, Jul 15, 2015 at 12:32 PM, David G. Johnston <david.g.johnston@gmail.com> wrote:

You may be able to put Table Inheritance to good use here...

I do not know (but doubt) if HOT optimization works when going from NULL to non-NULL since the former is stored in a bitmap while the later occupies normal relation space and thus the update would likely end up writing an entirely new​ record upon each event category recording.

David J.



Thanks! 

pgsql-performance by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Insert vs Update
Next
From: Michael Nolan
Date:
Subject: Re: Insert vs Update