Re: optimization issue

Поиск
Список
Период
Сортировка
От Michael Lewis
Тема Re: optimization issue
Дата
Msg-id CAHOFxGrVbU7CWVEVZaOfmz2x8xrF2fZoXkm_6aewY87tXL5+Rg@mail.gmail.com
обсуждение исходный текст
Ответ на optimization issue  (Atul Kumar <akumar14871@gmail.com>)
Ответы Re: optimization issue  (Atul Kumar <akumar14871@gmail.com>)
Список pgsql-general
((current_setting('env.groupid'::text))::integer)::numeric

If you pass this value in directly as part of the query string, how does it perform? It seems like calling the function to get this value may be creating a planning problem with the value unknown at plan time. If you were able to put the result on an analyzed temp table at least, I'd expect that the planner would have enough info to make good decisions.

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

Предыдущее
От: Michael Lewis
Дата:
Сообщение: Re: On partitioning, PKs and FKs
Следующее
От: zickzack@quantentunnel.de
Дата:
Сообщение: Re: Re: Insert/Dump/Restore table with generated columns