Caching of sproc

Поиск
Список
Период
Сортировка
От Rakesh Kumar
Тема Caching of sproc
Дата
Msg-id trinity-270ffe6a-eaa4-4e9b-9c65-c2ca29646d9b-1513789796650@3c-app-mailcom-lxa01
обсуждение исходный текст
Список pgsql-general
I want to confirm my understanding.  When a stored procedure is called the first time the code's compiled version is
cachedand used next time it is executed.  However it is cached once for every session and not globally for all
sessions.In other words, if we have a large number of concurrent sessions (x num of sessions) executing the same
procedures(y num of procedures), the memory pressure will be 
 
x * y.

The reason why I am asking this is that the application we are moving from Oracle is heavy on stored procedures with
somepackages running into 8000-10000 lines of code.
 


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

Предыдущее
От: Uwe
Дата:
Сообщение: Re: postgresql 9.5 has ocuuered OOM
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: postgresql 9.5 has ocuuered OOM