opening connection more expensive than closing connection?
В списке pgsql-general по дате отправления:
| От | Rob Sargent |
|---|---|
| Тема | opening connection more expensive than closing connection? |
| Дата | |
| Msg-id | 4D6FB3AA.8080808@gmail.com обсуждение исходный текст |
| Ответы |
Re: opening connection more expensive than closing connection?
|
| Список | pgsql-general |
A developer here accidentally flooded a server with connection opens and closes, essentially one per transaction during a multi-threaded data migration process. We were curious if this suggests that connection clean up is more expensive than creation thereby exhausting resources, or if perhaps the server wasn't returning to the essentially backgrounded clean-up task adroitly (enough)? Don't worry we are now using a connection pool for the migration, but the situation was, um, er, entertaining. The server side said eof-from-client, the client side said many variations of cannot-connect, then they would work out their differences briefly and do the same dance over again after sufficient connections. Cheers, rjs
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера