От: Tommy Gildseth
Тема: Re: slow pg_connect()
Дата: ,
Msg-id: 47E786F4.9040804@usit.uio.no
(см: обсуждение, исходный текст)
Ответ на: slow pg_connect()  (<>)
Список: pgsql-performance

Скрыть дерево обсуждения

slow pg_connect()  (<>, )
 Re: slow pg_connect()  (Craig Ringer, )
  Re: slow pg_connect()  (Craig Ringer, )
 Re: slow pg_connect()  ("vincent", )
 Re: slow pg_connect()  (Tommy Gildseth, )
 Re: slow pg_connect()  (Thomas Pundt, )
  Re: slow pg_connect()  (Chris, )

> 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 по дате сообщения:

От: Tom Lane
Сообщение: Re: Turn correlated in subquery into join
От: "Steve Poe"
Сообщение: Planning hot/live backups?