Re: Full text search - query plan? PG 8.4.1 - Mailing list pgsql-performance

From Tom Lane
Subject Re: Full text search - query plan? PG 8.4.1
Date
Msg-id 10380.1256578261@sss.pgh.pa.us
Whole thread Raw
In response to Re: Full text search - query plan? PG 8.4.1  (Jesper Krogh <jesper@krogh.cc>)
List pgsql-performance
Jesper Krogh <jesper@krogh.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

pgsql-performance by date:

Previous
From: Jesper Krogh
Date:
Subject: Re: Full text search - query plan? PG 8.4.1
Next
From: Tom Lane
Date:
Subject: Re: query planning different in plpgsql?