Re: Performance issue with thousands of calls to procedures and functions?

Поиск
Список
Период
Сортировка
От Daniel Westermann (DWE)
Тема Re: Performance issue with thousands of calls to procedures and functions?
Дата
Msg-id ZR0P278MB09209FF50B53E76B48CF3E2BD2EC9@ZR0P278MB0920.CHEP278.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответ на Re: Performance issue with thousands of calls to procedures and functions?  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-performance
>In your example, the bottleneck is calling the function f1. So you need to check only this function. It is not
importantif other functions or >procedures do database lookups. 

>Or if it does just one database lookup, then you can use SQL language. I repeat, PL/pgSQL is not good for ultra very
frequentcalls (where >there is minimal other overhead). 

>Generally, start of function or start of query are more expensive on Postgres than on Oracle. Postgres is much more
dynamic,and it needs >to do some rechecks. The overhead is in nanoseconds, but nanoseconds x billions are lot of
seconds

Thank you Pavel, for all the information. That was very helpful.

Regards
Daniel


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Performance issue with thousands of calls to procedures and functions?
Следующее
От: Nikhil Shetty
Дата:
Сообщение: Logical Replication speed-up initial data