| От | Tom Lane |
|---|---|
| Тема | Re: Immutable function WAY slower than Stable function? |
| Дата | |
| Msg-id | 27336.1533609731@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Immutable function WAY slower than Stable function? (Ken Tanzer <ken.tanzer@gmail.com>) |
| Ответы |
Re: Immutable function WAY slower than Stable function?
|
| Список | pgsql-general |
Ken Tanzer <ken.tanzer@gmail.com> writes:
> Hi Adrian. Happy to provide this info. Though on a side note, I don't
> understand why it should matter, if functions are black box optimization
> fences.
They aren't, at least not when they are SQL-language functions that
meet the conditions for inlining. The reason that EXPLAIN VERBOSE
is helpful here is that you can see whether the function got inlined
or not: do you see a call to the function, or a representation of
its body?
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера