Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group