Re: TCP network cost

Список
Период
Сортировка
От Tom Lane
Тема Re: TCP network cost
Дата
Msg-id 13742.1235932104@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: TCP network cost  (Linos)
Ответы Re: TCP network cost  (Magnus Hagander)
Список pgsql-performance
Дерево обсуждения
TCP network cost  ("Ross J. Reedstrom", )
 Re: TCP network cost  (Rusty Conover, )
  Re: TCP network cost  (, )
  Re: TCP network cost  ("Ross J. Reedstrom", )
   Re: TCP network cost  (Rusty Conover, )
    Re: TCP network cost  ("Ross J. Reedstrom", )
     Re: TCP network cost  ("Ross J. Reedstrom", )
      Re: TCP network cost  (Aaron Turner, )
     Re: TCP network cost  (PFC, )
      Re: TCP network cost  ("Ross J. Reedstrom", )
   Re: TCP network cost  (Gregory Stark, )
    Re: TCP network cost  ("Ross J. Reedstrom", )
     Re: TCP network cost  (Tom Lane, )
      Re: TCP network cost  ("Ross J. Reedstrom", )
       Re: TCP network cost  (Linos, )
        Re: TCP network cost  (Tom Lane, )
         Re: TCP network cost  (Linos, )
          Re: TCP network cost  (Tom Lane, )
           Re: TCP network cost  (Linos, )
            Re: TCP network cost  (Tom Lane, )
             Re: TCP network cost  (Magnus Hagander, )
              Re: TCP network cost  (Linos, )
 Re: TCP network cost  (Aaron Turner, )
Linos <> writes:
> Tom Lane escribi�:
>> That's just weird --- ssl off should be ssl off no matter which knob you
>> use to turn it off.  Are you sure it's really off in the slow connections?

> Maybe i am missing something, i use the same command to connect to it
> from localhost "psql -d database -h localhost" and in the pcap files i
> have captured the protocol it is clear (with "ssl = false" or "ssl =
> true" either), but in the debian machine with "ssl = true" in
> postgresql.conf you can see in the pcap file big time jumps between
> data packets, psql commandline enables automatically ssl if the server
> supports it?

Yeah, the default behavior is to do SSL if supported; see PGSSLMODE.
Non-TCP connections never do SSL, though.  One possibility to check
is that one of the two distros has altered the default value of
PGSSLMODE.

> but if this is the case i should see encrypted traffic in
> pcap files,

I would suppose so, so there's something that doesn't quite add up here.

            regards, tom lane

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

Предыдущее
От: "Cox, Brian"
Дата:
Сообщение: Re: "slow" queries
Следующее
От: Tom Lane
Дата:
Сообщение: Re: "slow" queries