X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id F3199D1B54E for ; Mon, 22 Dec 2003 21:29:25 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 85785-07 for ; Mon, 22 Dec 2003 17:28:37 -0400 (AST) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 7410FD1B48F for ; Mon, 22 Dec 2003 17:28:35 -0400 (AST) Received: (qmail 4062 invoked from network); 22 Dec 2003 21:28:27 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.36?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 22 Dec 2003 21:28:27 -0000 Subject: Re: Newbie question From: Dave Cramer Reply-To: pg@fastcrypt.com To: Christian Rengstl Cc: "pgsql-jdbc@postgresql.org" In-Reply-To: <3FE751DD.5030300@web.de> References: <3FE49D9F.40104@web.de> <1072121608.2201.86.camel@localhost.localdomain> <3FE751DD.5030300@web.de> Content-Type: text/plain Organization: Cramer Consulting Message-Id: <1072128507.1634.96.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 22 Dec 2003 16:28:27 -0500 Content-Transfer-Encoding: 7bit X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/153 X-Sequence-Number: 8889 Ok, the only thing I can think of is you are doing a name lookup that is returning, if you specify the ip address in the url does that speed it up? Dave On Mon, 2003-12-22 at 15:19, Christian Rengstl wrote: > Hi, > > my operating system is SuSE Linux 9.0 with Java 1.4.2, postgresql 7.3.4 > and the jdbc driver is pg73jdbc3.jar. I don't have a firewall set up, so > there shouldn't be any problem with that. I have the driver in the > lib/ext directory of my Java VM. > > Chris > > >Chris, > > > >No, it isn't normal, but with the information you have provided it will > >be difficult to analyze the problem. > > > >Can you send us the operating systems involved, firewalls, etc. > > > >Dave > >On Sat, 2003-12-20 at 14:06, Christian Rengstl wrote: > > > > > >>Hello everyone, > >> > >>I am quite new to Postgresql and JDBC and started to make my first > >>application to use postgresql. And here comes my doubt/question: is it > >>normal that it takes about 1 - 2 minutes to connect to the database? In > >>my case it actually does take that long, but I thought maybe I made > >>something wrong and you guys could give me a hint... > >> > >>Thanks > >> > >>Chris > >> > >> > >>---------------------------(end of broadcast)--------------------------- > >>TIP 5: Have you checked our extensive FAQ? > >> > >> http://www.postgresql.org/docs/faqs/FAQ.html > >> > >> > >> > >> > > > > > > > > > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 8: explain analyze is your friend > >