Re: Threaded PosgreSQL server

Поиск
Список
Период
Сортировка
От Karel Zak
Тема Re: Threaded PosgreSQL server
Дата
Msg-id 20020207114939.H29170@zf.jcu.cz
обсуждение исходный текст
Ответ на Re: Threaded PosgreSQL server  (Hannu Krosing <hannu@tm.ee>)
Ответы Re: Threaded PosgreSQL server  (Hannu Krosing <hannu@tm.ee>)
Список pgsql-hackers
On Thu, Feb 07, 2002 at 12:03:56PM +0200, Hannu Krosing wrote:

> Btw, have you tried comparing pgbench runs on threaded model vs forked
> model. IIRC your code can run both ways.
It depend on OS. For example do fork and create thread is very simular on Linux. May be ..can be some speed difference
betweenlocking and access to shared memory?
 
IMHO in thread version is problem with backend crash (user's bugs in PL .etc).

> > You can do this with processes (planned for 7.3 I think) but I
> > think it was much easier with threads.  Other things may open up with
> > threads as well like Java stored procedures.  Anyway, now I think it is
> > worth it.
Are all current PL interpereters thread safe?
       Karel

-- Karel Zak  <zakkr@zf.jcu.cz>http://home.zf.jcu.cz/~zakkr/C, PostgreSQL, PHP, WWW, http://docs.linux.cz,
http://mape.jcu.cz


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: Threaded PosgreSQL server
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: Threaded PosgreSQL server