Re: Slow Connection

From: M(dot)Feldtmann(at)t-online(dot)de (Marten Feldtmann)
To: Andreas Kretzer <andi(at)kretzer-berlin(dot)de>
Cc: Postgres Interface List <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: Slow Connection
Date: 2002-01-28 19:58:01
Message-ID: 3C55AD49.EAEE0489@toppoint.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Andreas Kretzer schrieb:
>
> Achmad Amin schrieb:
>
> > Dear all,
> > I develop application using Delphi and Postgres (use
> > Winzeos component to connect to postgres). But I have
> > problem, when I run application at first time, I wait
> > about 1 minute to see the application. I think this
> > happen because my application to connect to postgres
> > too slow. What I must do to reduce speed connection
>
> ^^^^^^^^^^^^^ you mean increase?
>
> > between my application to postgres ?
>
> Well, often this behavior can result from a timed out
> name lookup (I assume you don't really have an official
> name for your client :-) To check this, try to 'telnet'
> to your server before you do anything else (so you will
> have the same situation). If this takes more than just
> one or two seconds - but succeeds after a while, perhaps
> the one minute delay you mentioned - then it probably is
> the name lookup.

Even if the name lookup works ... it may be the reverse
name lookup .... try to use

nslookup <ip-number>

to find it out.

Marten

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jean-Luc Lachance 2002-01-28 20:31:29 xbase2pg 1.0-1 vs postgres 7.2b5 compatibility
Previous Message Jean-Luc Lachance 2002-01-28 18:54:50 Re: PGACCESS installation