Re: Best way to manage users

Поиск
Список
Период
Сортировка
Искать
От
Frank Bax
Тема
Re: Best way to manage users
Дата
Msg-id
5.2.1.1.0.20060104193802.00a39a90@pop6.sympatico.ca
Ответ на
Список
Дерево обсуждения
Best way to manage users "Kevin Crenshaw" <kcrenshaw@viscient.com>
Re: Best way to manage users Sean Davis <sdavis2@mail.nih.gov>
Re: Best way to manage users "Kevin Crenshaw" <kcrenshaw@viscient.com>
Re: Best way to manage users Sean Davis <sdavis2@mail.nih.gov>
Re: Best way to manage users brew@theMode.com
Re: Best way to manage users "Kevin Crenshaw" <kcrenshaw@viscient.com>
Re: Best way to manage users <operationsengineer1@yahoo.com>
Re: Best way to manage users "Kevin Crenshaw" <kcrenshaw@viscient.com>
Re: Best way to manage users Sean Davis <sdavis2@mail.nih.gov>
Re: Best way to manage users "Kevin Crenshaw" <kcrenshaw@viscient.com>
Re: Best way to manage users Sean Davis <sdavis2@mail.nih.gov>
Re: Best way to manage users "Roland Giesler" <roland@giesler.za.net>
Re: Best way to manage users "Kevin Crenshaw" <kcrenshaw@viscient.com>
Re: Best way to manage users Sean Davis <sdavis2@mail.nih.gov>
Re: Best way to manage users Frank Bax <fbax@sympatico.ca>
Re: Best way to manage users <operationsengineer1@yahoo.com>
Re: Best way to manage users Frank Bax <fbax@sympatico.ca>
Re: Best way to manage users Sean Davis <sdavis2@mail.nih.gov>
Re: Best way to manage users "Roland Giesler" <roland@giesler.za.net>
Re: Best way to manage users "Kevin Crenshaw" <kcrenshaw@viscient.com>
Re: Best way to manage users Charley Tiggs <ctiggs@xpressdocs.com>
Re: Best way to manage users "Kevin Crenshaw" <kcrenshaw@viscient.com>
Re: Best way to manage users Adam Witney <awitney@sgul.ac.uk>
Re: Best way to manage users Daniel Staal <DStaal@usa.net>
At 05:32 PM 1/4/06, operationsengineer1@yahoo.com wrote:

>Frank, am i correct to infer that "In many cases where
>database and webserver are on the same box there is
>little time difference..." means that there can be
>more speed improvement when the web server and the db
>are on different hardware?


In some environments even that "little time difference" can be a big deal!!

To answer your question ... I don't know - I haven't any experience in that 
environment; but I'm guessing that it's true.  But there's also no free 
lunch.  It should also be pointed out that a persistent connection can only 
be reused if all connect string parms are the same.  If you use pg_users 
for web authentication (as was mentioned earlier in this thread), then each 
user will have their own pool of persistent connections.  The number of 
persistent connections could be (at least) = number of databases * number 
of users * number of child processes.  This can get to quite a large number 
even in a small hosting environment with multiple databases.  In my case, I 
stopped using persistent connections the first time I hit the limit of max 
connections within postgresql - my php scripts were crashing because there 
was no available persistent connection in the current child process, and 
backend was refusing to create any more connections.

So, as I said before, it's important to do your own tests to see what works 
for you. 

В списке pgsql-novice по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: pg_xlog directory
От: Yumiko Izumi
Дата:
FAQ