| От | John R Pierce |
|---|---|
| Тема | Re: Postgres memory question |
| Дата | |
| Msg-id | 4A7F5C41.8050607@hogranch.com обсуждение исходный текст |
| Ответ на | Postgres memory question (Kobus Wolvaardt <kobuswolf@gmail.com>) |
| Список | pgsql-general |
Kobus Wolvaardt wrote: > We have similar connection settings, same app, same DB, same username, > same settings. What appart from installing pgpool do you need to do to > get it to seamlessly share connections? Do you need to do anything in > code? Do a special query to indicate the end of a transaction? your app would need to be modified to open a connection, use it, and close it before going idle for a long period. it could do this with or without a connection pool, the pool just speeds up the process by keeping the actual database connections open. if you have 200 threads that are idle 95% of the time, you likely wouldn't need more than 20 actual database connections.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера