| От | Tom Lane |
|---|---|
| Тема | Re: UDF in C slow |
| Дата | |
| Msg-id | 5875.1336751723@sss.pgh.pa.us обсуждение |
| Ответ на | Re: UDF in C slow (Inanc Seylan <inanc.seylan@gmail.com>) |
| Ответы |
Re: UDF in C slow
|
| Список | pgsql-general |
Inanc Seylan <inanc.seylan@gmail.com> 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
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера