From: Craig Ringer <ringerc@ringerc.id.au>
To: Andreas Karlsson <andreas@proxel.se>
Cc: dmigowski@ikoffice.de
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6325: Useless Index updates
Date: Mon, 05 Dec 2011 08:25:31 +0800
Message-ID: <4EDC0F7B.7020602@ringerc.id.au> (raw)
In-Reply-To: <4EDC0D76.4060402@proxel.se>
References: <E1RXBaL-0000K2-U2@wrigleys.postgresql.org>
<4EDB7D91.1070005@ringerc.id.au>
<4EDC0D76.4060402@proxel.se>
On 12/05/2011 08:16 AM, Andreas Karlsson wrote:
> On 2011-12-04 15:02, Craig Ringer wrote:
>> - The index isn't always updated. Check out HOT (introduced in 8.4, the
>> release after your current one) which reduces unnecessary index
>> updates in cases where the old and new row can fit on the same
>> heap page.
>
> Minor correction: HOT was introduced in 8.3.
>
> http://www.postgresql.org/docs/9.1/static/release-8-3.html
Whoops, thanks. In that case the OP is already getting the benefit of
reduced index updates as much as is possible with PostgreSQL's MVCC design.
--
Craig Ringer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: ringerc@ringerc.id.au, andreas@proxel.se, dmigowski@ikoffice.de
Subject: Re: BUG #6325: Useless Index updates
In-Reply-To: <4EDC0F7B.7020602@ringerc.id.au>
References: <E1RXBaL-0000K2-U2@wrigleys.postgresql.org> <4EDB7D91.1070005@ringerc.id.au> <4EDC0D76.4060402@proxel.se> <4EDC0F7B.7020602@ringerc.id.au>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox