Re: Slow functional indexes?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stuart Bishop <stuart(dot)bishop(at)canonical(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Slow functional indexes?
Date: 2006-10-21 03:30:32
Message-ID: 20906.1161401432@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Stuart Bishop <stuart(dot)bishop(at)canonical(dot)com> writes:
> I would like to understand what causes some of my indexes to be slower to
> use than others with PostgreSQL 8.1.

I was about to opine that it was all about different levels of
correlation between the index order and physical table order ... but
your experiments with freshly clustered indexes seem to cast doubt
on that idea. Are you sure your function is really immutable? A buggy
function could possibly lead to a "clustered" index not being in
physical order.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Joshua D. Drake 2006-10-21 03:39:17 Re: Is ODBC that slow?
Previous Message Merlin Moncure 2006-10-21 02:50:01 Re: Is ODBC that slow?