| От | Tom Lane |
|---|---|
| Тема | Re: Postgresq 8,1 hangs when running function |
| Дата | |
| Msg-id | 11296.1156168718@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Postgresq 8,1 hangs when running function ("ben sewell" <mosherben@gmail.com>) |
| Список | pgsql-novice |
"ben sewell" <mosherben@gmail.com> writes:
> what I meant was that when I tried executing my function, postgres wouldn't
> return any results and not do anything. CPU Usage would increase to 50% when
> I tried executing the function. The funny thing is that CPU usage was at
> 100% and the sys admin called me up and asked about it. Apparently there
> were 10 instances of postgres running so we ended up having to restart
> anyways.
There are much less aggressive ways of canceling a long-running query
than restarting the whole server. On Windows I think you need to do
"pg_ctl kill INT <processID>" to stop a query running in a particular
backend process.
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера