Re: libpq or postgresql performance

From: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: libpq or postgresql performance
Date: 2012-09-07 05:35:34
Message-ID: 20120907053534.GA7707@tux
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Aryan Ariel Rodriguez Chalas <wimogan(at)yahoo(dot)com> wrote:

> Hello,
>
> I'm working with an application that connects to a remote server database using "libpq" library over internet, but making a simple query is really slow even though I've done PostgreSQL Tunning and table being indexed, so I want to know:

define slow.

>
> -Why is postgresql or libpq that slow when working over internet?
> -What else should I do to solve this issue in addition of postgresql tunning?
> -Why if I connect to the remote server desktop (using RDP or any Remote Desktop Application) and run the application using the same internet connection, it runs really fast when making requests to postgresql; but if I run the application locally by connecting to the remote postgresql server through "libpq", it's really slow?.

Maybe DNS-Resolving - Problems...

Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Daniel Farina 2012-09-07 05:45:23 Re: HELP!!!-----Need to Sql commands to monitoring Postgresql
Previous Message charles_xie 2012-09-07 01:50:11 Re: HELP!!!-----Need to Sql commands to monitoring Postgresql