pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adam M <gnuman1@gmail.com>
Cc: Postgresql ODBC List <pgsql-odbc@postgresql.org>
Subject: Re: 60 Seconds to connected to Postgresql using ODBC or PGAdmin
Date: Thu, 29 Nov 2007 01:08:49 -0600
Message-ID: <84b37b360711282308w43479ac4h589b1a68217c628e@mail.gmail.com> (raw)
In-Reply-To: <541895.17627.qm@web31809.mail.mud.yahoo.com>
References: <541895.17627.qm@web31809.mail.mud.yahoo.com>

On Nov 29, 2007 12:51 AM, Richard Broersma Jr <rabroersma@yahoo.com> wrote:
> --- On Wed, 11/28/07, Finn Lassen <dcio@AxiomInt.com> wrote:
>
> Can anyone else comment on what problems could be causing these slow connections problems?
>
>
> > Meanwhile, I don't understand why it now takes exactly
> > 60 seconds to connect to the database whether I use pgAdmin or my
> > connection string from within VB.
>
> This is very odd.  Since you are having a problem with your connection time on both pgAdmin(which doesn't use ODBC to connect) and ODBC connects, I would assume that you must be having an issue that is non-odbc related.

60 seconds lag that happens all the time is generally a DNS issue.
Whenever a connection takes that long of a time, and the server is not
loaded like crazy, then it is most likely a reverse DNS issue.
Sometimes a forward DNS issue. The delay is just the amount of time
for the DNS lookup to timeout.

- Adam



view thread (10+ messages)  latest in thread

Message-ID: <84b37b360711282308w43479ac4h589b1a68217c628e@mail.gmail.com>
Permalink:  ../84b37b360711282308w43479ac4h589b1a68217c628e@mail.gmail.com/
Also on:    postgresql.org/message-id/84b37b360711282308w43479ac4h589b1a68217c628e@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: gnuman1@gmail.com
  Subject: Re: 60 Seconds to connected to Postgresql using ODBC or PGAdmin
  In-Reply-To: <84b37b360711282308w43479ac4h589b1a68217c628e@mail.gmail.com>
  References: <541895.17627.qm@web31809.mail.mud.yahoo.com> <84b37b360711282308w43479ac4h589b1a68217c628e@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox