Re: Full text search - query plan? PG 8.4.1

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jesper Krogh <jesper(at)krogh(dot)cc>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Full text search - query plan? PG 8.4.1
Date: 2009-10-26 17:31:01
Message-ID: 10380.1256578261@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Jesper Krogh <jesper(at)krogh(dot)cc> writes:
> According to the documentation the default cost is 1 for builin
> functions and 100 for others, is this true for the ts-stuff also?

Yeah. There was some recent discussion of pushing up the default cost
for some of these obviously-not-so-cheap functions, but nothing's been
done yet.

> Can I query the database for the cost of the functions?

See pg_proc.

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2009-10-26 18:09:49 Re: query planning different in plpgsql?
Previous Message Jesper Krogh 2009-10-26 17:09:32 Re: Full text search - query plan? PG 8.4.1