| От | Travis Bauer |
|---|---|
| Тема | PL/PGSQL and PL/Perl time issues |
| Дата | |
| Msg-id | a78jrf$29mq$1@jupiter.hub.org обсуждение исходный текст |
| Список | pgsql-general |
I have a PL/PGSQL routine that does one select and a lot (~400 lines) of floating point computations. In rapid succession my JDBC application calls this routine about 170 times. It gets slower as time drags on, taking around 5 seconds per call at the beginning and ending up taking about 15 seconds per call at the end. I have a much shorter (about 10 lines), but less efficient PL/Perl routine that accomplishes the same computation, but does a lot of string matching and runs slower. But the same problem occurs Each call takes longer the more I call it. Are there postgress issues I should be aware of regarding calling pl/pgsql and pl/perl routines, or using JDBC to call these routines? Is there a way to prevent this increase in time? Thanks, -- Travis Bauer http://www.cs.indiana.edu/~trbauer
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера