Re: PQisBusy() always busy

Поиск
Список
Период
Сортировка
От bradg
Тема Re: PQisBusy() always busy
Дата
Msg-id 1315961414729-4800947.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: PQisBusy() always busy  (Merlin Moncure <mmoncure@gmail.com>)
Ответы Re: PQisBusy() always busy  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-novice
Thanks for your thoughtful, detailed response. I also took your warnings to
heart and resolved the underlying problem in my code without resorting to
threads. I have both the blocking and nonblocking functions working without
any issues.

Except one. Speed.

When I use the blocking function on a select query for 102 records, the time
is 0.645284 seconds. When I use the nonblocking version, the time is
52.000426 seconds. The application pgAdmin3 takes 1.6 seconds.

Does that seem right?

--
View this message in context: http://postgresql.1045698.n5.nabble.com/PQisBusy-always-busy-tp4793847p4800947.html
Sent from the PostgreSQL - novice mailing list archive at Nabble.com.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Drop multiple roles
Следующее
От: rox
Дата:
Сообщение: Can I capture created key id's, work with them, then return themlater?