pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Frost <jeff@frostconsultingllc.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Index usage problem on 8.3.3
Date: Thu, 30 Oct 2008 21:27:58 -0400
Message-ID: <14766.1225416478@sss.pgh.pa.us> (raw)
In-Reply-To: <490A5DCB.9060403@frostconsultingllc.com>
References: <490A4EBE.9030804@frostconsultingllc.com>
	<13272.1225413116@sss.pgh.pa.us>
	<490A56C1.8020804@frostconsultingllc.com>
	<14519.1225415657@sss.pgh.pa.us>
	<490A5DCB.9060403@frostconsultingllc.com>

Jeff Frost <jeff@frostconsultingllc.com> writes:
> Tom Lane wrote:
>> Okay.  What that means is that the indexes were created on data that had
>> already been inserted and updated to some extent, resulting in
>> HOT-update chains that turned out to be illegal for the new indexes.
>> The way we deal with this is to mark the indexes as not usable by any
>> query that can still see the dead HOT-updated tuples.

> Any idea why I don't see it on 8.3.4?

I think it's more likely some small difference in your test conditions
than any real version-to-version difference.  In particular I think the
"still see" test might be influenced by the ages of transactions running
concurrently.

			regards, tom lane



view thread (12+ messages)  latest in thread

Message-ID: <14766.1225416478@sss.pgh.pa.us>
Permalink:  ../14766.1225416478@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/14766.1225416478@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jeff@frostconsultingllc.com
  Subject: Re: Index usage problem on 8.3.3
  In-Reply-To: <14766.1225416478@sss.pgh.pa.us>

* 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