Search Postgresql Archives

Re: UDF in C slow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Inanc Seylan <inanc.seylan@xxxxxxxxx> writes:
> It is IMMUTABLE. I attach the output of EXPLAIN both with and without 
> the simple function (returning true only) in the query.

EXPLAIN ANALYZE would have been far more helpful.  However, the thing
that jumps out at me here is all the seqscans on table "symbols".
Do you not have an index on symbols.id?  If you do, perhaps there is
a datatype-mismatch problem preventing it from being used.

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux