From: Jan Aerts <jan.aerts@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: index on custom function; explain
Date: 4 Oct 2005 03:10:28 -0700
Message-ID: <1128420628.326795.158780@g47g2000cwa.googlegroups.com> (raw)
In-Reply-To: <1128352451.312090.37640@g44g2000cwa.googlegroups.com>
References: <1128352451.312090.37640@g44g2000cwa.googlegroups.com>
Some additional thoughts: what appears to take the most time (i.e.
account for the highest cost in the explain), is _not_ running the
function itself (cost=0.00..0.01), but comparing the result from that
function with the name1 column in the mappings table
(cost=0.00..35935.05). Am I right? (See EXPLAIN in previous post.) If
so: that's pretty strange, because the name1-column in the mappings
table is indexed...
jan.
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-performance@postgresql.org
Cc: jan.aerts@gmail.com
Subject: Re: index on custom function; explain
In-Reply-To: <1128420628.326795.158780@g47g2000cwa.googlegroups.com>
References: <1128352451.312090.37640@g44g2000cwa.googlegroups.com> <1128420628.326795.158780@g47g2000cwa.googlegroups.com>
* 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