Re: Slow queries in PL/PGSQL function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Slow queries in PL/PGSQL function
Дата
Msg-id 12022.1077380150@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Slow queries in PL/PGSQL function  (Gary Doades <gpd@cwcom.net>)
Список pgsql-general
Gary Doades <gpd@cwcom.net> writes:
> Is there someway to force the use of an index. Or at least get the
> backend to substitue the parameters in a function before doing the
> first query plan so it has more typical values to work with?

Could we see the EXPLAIN ANALYZE output for your problem query?
Table schemas (column data types and available indexes) are necessary
background for this type of question as well.

You might want to take the question to pgsql-performance, too ...
it's a tad off topic for -general.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: HELP with a Query
Следующее
От: Holger Marzen
Дата:
Сообщение: Binary data in PostgreSQL