Search Postgresql Archives

Re: Slow connection once the PC is network connected

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

 



Hello

check your dns service, first. second try to use IP address instead host name

Regards

Pavel Stehule

2010/10/26 Yan Cheng CHEOK <yccheok@xxxxxxxxx>:
> Hello, I am deploying a database to customer PC, which will be only connected by local application.
>
> However, I realize once the PC is network connected, the connection take extremely long time (around 10 seconds)
>
> May I know why this happen? I was wondering whether is there any workaround to overcome this?
>
> I connect the database using C++ code
>
> PQconnectdb("dbname = ProductionFactory user = postgres password = password");
>
> Thanks.
>
> Thanks and Regards
> Yan Cheng CHEOK
>
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[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