Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

[ODBC] Re: [GENERAL] 60 Seconds to connected to Postgresql using ODBC or PGAdmin

From: Richard Huxton <dev(at)archonet.com>
Date: Thu Nov 29 2007 - 02:38:15 EST


Richard Broersma Jr 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.

Name lookups. Something is trying to look up a name, failing and it's timing out after 60 seconds.

Could be DNS, or WINS (or whatever MS' current name resolution system is called). It could be either end of the connection too, if for example something on the server is logging the names of connecting clients.

Try a couple of name lookups (forward and reverse) from each end and see what happens.

-- 
   Richard Huxton
   Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

                
http://www.postgresql.org/about/donate
Received on Thu Nov 29 02:39:30 2007

This archive was generated by hypermail 2.1.8 : Thu Jun 19 2008 - 00:07:57 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library