Re: slow pg_connect() - Mailing list pgsql-performance

From Tommy Gildseth
Subject Re: slow pg_connect()
Date
Msg-id 47E786F4.9040804@usit.uio.no
Whole thread Raw
In response to slow pg_connect()  (<firerox@centrum.cz>)
List pgsql-performance
firerox@centrum.cz wrote:
> Hi,
>
> I'm uning postgres 8.1 at P4 2.8GHz with 2GB RAM.
> (web server + database on the same server)
>
> Please, how long takes your connectiong to postgres?
>
> It takes more then 0.05s :(
>
> Only this function reduce server speed max to 20request per second.


I tried running the script a few times, and got substantially lower
start up times than you are getting. I'm using 8.1.11 on Debian on a 2x
Xeon CPU 2.40GHz with 3GB memory, so I don't think that would account
for the difference.


Generated in 0.0046 s
Generated in 0.0036 s
Generated in 0.0038 s
Generated in 0.0037 s
Generated in 0.0038 s
Generated in 0.0037 s
Generated in 0.0047 s
Generated in 0.0052 s
Generated in 0.005 s


--
Tommy Gildseth

pgsql-performance by date:

Previous
From: Andreas Kretschmer
Date:
Subject: Re: increasing shared buffer slow downs query performance.
Next
From: Thomas Pundt
Date:
Subject: Re: slow pg_connect()