Re: Calculating statistic via function rather than with query is slowing my query
В списке pgsql-performance по дате отправления:
| От | Craig Ringer |
|---|---|
| Тема | Re: Calculating statistic via function rather than with query is slowing my query |
| Дата | |
| Msg-id | 4E4C575D.6080008@ringerc.id.au обсуждение исходный текст |
| Ответ на | Re: Calculating statistic via function rather than with query is slowing my query (Anish Kejariwal <anishkej@gmail.com>) |
| Ответы |
Re: Calculating statistic via function rather than with
query is slowing my query
|
| Список | pgsql-performance |
Thanks Pavel! that definitely solved it.Unfortunately, the function I gave you was a simple/short version of what the actual function is going to be. The actual function is going to get parameters passed to it, and based on the parameters will go through some if...else conditions, and maybe even call another function. Based on that, I was definitely hoping to use plpgsql, and the overhead is unfortunate.Is there any way to get around this overhead? Will I still have the same overhead if I use plperl, plpython, pljava, or write the function in C?
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера