Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 334032E00F4 for ; Thu, 29 Nov 2007 03:08:57 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 03218-06 for ; Thu, 29 Nov 2007 03:08:50 -0400 (AST) Received: from rn-out-0102.google.com (rn-out-0910.google.com [64.233.170.191]) by postgresql.org (Postfix) with ESMTP id C6EEC2E01EC for ; Thu, 29 Nov 2007 03:08:50 -0400 (AST) Received: by rn-out-0102.google.com with SMTP id e5so1532616rng for ; Wed, 28 Nov 2007 23:08:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=y6chUARAeK1+82D1SvSogzt9CmCgZN8CmPC9eeJOQo4=; b=DCF1IwZPx7xdyzSGFwn4vz2o0zRHzkbR/GADtU5RRkEZQ2eXOi1oTzqBwEBJOXo5j+hGIIQXGl0eJDbpWiUk+lFfJyXlaOV2mWCbIfUx8+KqeWoypj0b0vIIk2Zq8Brodyzc5w1bREPVMTKEAxFY9nW4z1kiQPu0kZjSe2Y//hs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Z0kCFbUoYAEWIkLaX6CCzmgAnE3h7DGqwXfoh6pxeNqWEjNHWy0vAEl+SuXUaqMqw532bU4QLBh5Kwcik6F7FAWgiMyIl06yREkixcJPraVuKb77mx/RVrpuY/LlPv92OccblD7WRRFQC4CyCNVPbZvY+JzgjzwsB/hUbrA/nYI= Received: by 10.142.240.9 with SMTP id n9mr1780319wfh.1196320129429; Wed, 28 Nov 2007 23:08:49 -0800 (PST) Received: by 10.142.172.3 with HTTP; Wed, 28 Nov 2007 23:08:49 -0800 (PST) Message-ID: <84b37b360711282308w43479ac4h589b1a68217c628e@mail.gmail.com> Date: Thu, 29 Nov 2007 01:08:49 -0600 From: "Adam M" Subject: Re: 60 Seconds to connected to Postgresql using ODBC or PGAdmin Cc: "Postgresql ODBC List" In-Reply-To: <541895.17627.qm@web31809.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <541895.17627.qm@web31809.mail.mud.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/54 X-Sequence-Number: 9269 On Nov 29, 2007 12:51 AM, Richard Broersma Jr wrote: > --- On Wed, 11/28/07, Finn Lassen 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