Re: What is the practical limitation of no multi-threading?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: What is the practical limitation of no multi-threading?
Дата
Msg-id 200112120255.fBC2tEr21611@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: What is the practical limitation of no multi-threading?  ("Robert B. Easter" <reaster@comptechnews.com>)
Ответы Re: What is the practical limitation of no multi-threading?  ("Robert B. Easter" <reaster@comptechnews.com>)
Список pgsql-general
> Not being multithreaded may only be a big deal if your application connects
> and disconnects from the database at high rates.  In that situation, such an
> application would suffer the poorer performance of multiprocess servers like
> Postgres since it is significantly more time consuming to copy the memory
> management unit (mmu) state, or at least to load a new program image (the
> backend), than with threads which share mmu state and program image.

Let me mention that we don't load new executables on backend startup.
We merely fork() the postmaster.  I just checked the FAQ and it seems
pretty clear.  Please let me know if there is additional info I should
have there.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 7.1.3 XLogWrite Error
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Inserting the current date