From: Dave Cramer <pg@fastcrypt.com>
To: Christian Rengstl <tex79@web.de>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: Newbie question
Date: 22 Dec 2003 16:28:27 -0500
Message-ID: <1072128507.1634.96.camel@localhost.localdomain> (raw)
In-Reply-To: <3FE751DD.5030300@web.de>
References: <3FE49D9F.40104@web.de>
<1072121608.2201.86.camel@localhost.localdomain>
<3FE751DD.5030300@web.de>
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
>
>
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-jdbc@postgresql.org
Cc: pg@fastcrypt.com, tex79@web.de
Subject: Re: Newbie question
In-Reply-To: <1072128507.1634.96.camel@localhost.localdomain>
References: <3FE49D9F.40104@web.de> <1072121608.2201.86.camel@localhost.localdomain> <3FE751DD.5030300@web.de> <1072128507.1634.96.camel@localhost.localdomain>
* 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