Search Postgresql Archives

SLOW Remote Connection to PostgreSQL Database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am running a Rails app on server1 that connects to dbserver where
the database is. There is another server, server2, that connects to
dbserver quickly and returns quickly no matter how high dbserver's
load is. Doing "psql -h dbserver.domain.com database username" from
server1 times out every time. The same command from server2 returns
quickly. dbserver is located in a remote location but server1 and
server2 are in the same building using the same internet connection.
Requests directly to server1 return quickly as well. What do I need to
look at to make it move quickly? Thanks!


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux