From: | Neil Conway <nconway(at)klamath(dot)dyndns(dot)org> |
---|---|
To: | "Arthur" <arthur(at)radioretail(dot)co(dot)za> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Slow connection |
Date: | 2002-06-07 18:00:59 |
Message-ID: | 20020607140059.1dacfc55.nconway@klamath.dyndns.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, 7 Jun 2002 08:52:42 +0200
"Arthur" <arthur(at)radioretail(dot)co(dot)za> wrote:
> Hi everybody,
> I'm developing some projects in C++ (2.96) on linux (2.4.18-3) and I connect
> to a postgres (7.2.1) database using libpq++. My connection is fine and my
> queries execute normally (and quite fast).
<plug type="gratuitous">
Have you taken a look at libpqxx?
http://members.ams.chello.nl/j.vermeulen31/proj-libpqxx.html
</plug>
> The problem that all the other users/applications on our LAN experience
> difficulties with their connections while my program is running - ie very slow
> or timeouts.
>
> We are all accessing a central postgres server.
> My queries have no problems and as soon as I close my connection all the
> other connection on the LAN are normal, once more.
>
> Any advise or suggestions?
Sounds like a LAN problem -- AFAICT the connection to PostgreSQL
should be just like any other TCP connection. Are you transferring
a lot of data? Try simulating LAN traffic using another network
application that transfers a lot of data, and see if the problem
occurs then.
Cheers,
Neil
--
Neil Conway <neilconway(at)rogers(dot)com>
PGP Key ID: DB3C29FC
From | Date | Subject | |
---|---|---|---|
Next Message | Alexey V. Borzov | 2002-06-07 18:09:13 | Re: sorting/grouping/(non-)unique indexes bug |
Previous Message | Devrim GUNDUZ | 2002-06-07 17:52:44 | UNICODE problem |