Re: Establishing remote connections is slow - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: Establishing remote connections is slow
Date
Msg-id 4F15517F0200002500044874@gw.wicourts.gov
Whole thread Raw
In response to Establishing remote connections is slow  (Mindaugas Žakšauskas <mindas@gmail.com>)
Responses Re: Establishing remote connections is slow  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Mindaugas Žakšauskas<mindas@gmail.com> wrote:

> The essence is that establishing remote connection takes anywhere
> from 10 to 30 seconds. Once connected, the queries are fast

The only time I've seen something similar, there was no reverse DNS
entry to go from IP address to host name.  Adding that corrected the
issue.  I would try that.

If that fixes it, the questions would be whether PostgreSQL is doing
an unnecessary reverse DNS lookup.

-Kevin

pgsql-admin by date:

Previous
From: Mindaugas Žakšauskas
Date:
Subject: Re: Establishing remote connections is slow
Next
From: Tom Lane
Date:
Subject: Re: Establishing remote connections is slow