Unix domain instead of TCP socket connections with JDBC.
В списке pgsql-general по дате отправления:
| От | froggle2003@yahoo.com (Alex Martinoff) |
|---|---|
| Тема | Unix domain instead of TCP socket connections with JDBC. |
| Дата | |
| Msg-id | 34f50f10.0309071120.379706a3@posting.google.com обсуждение |
| Ответы |
Re: Unix domain instead of TCP socket connections with JDBC.
Re: Unix domain instead of TCP socket connections with |
| Список | pgsql-general |
Using the org.postgresql.Driver JDBC driver is it possible to connect to Postgres using a unix domain socket instead of a TCP socket (so you don't have to start the postmaster with -i)? Using a TCP socket instead of a unix socket seems to slow down requests that return large result sets by a factor of 3 on the same machine. What's the point of all the extra CPU overhead if you're on the same machine? A high-volume server can really do without the extra overhead. Also, for security reasons it would be slightly nicer to run Postgres without -i just so there's one less port popping up when you port-scan.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера