Re: [GENERAL] Multi-threading on PostgreSQL?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [GENERAL] Multi-threading on PostgreSQL?
Дата
Msg-id 199907151334.JAA07774@candle.pha.pa.us
обсуждение исходный текст
Ответ на Multi-threading on PostgreSQL?  ("Tiago Hermans" <thermans@hawaii.rr.com>)
Ответы RE: [GENERAL] Multi-threading on PostgreSQL?  ("Tiago Hermans" <thermans@hawaii.rr.com>)
Список pgsql-general
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hi,
>
> I am really impressed with the features of PostgreSQL but am wondering if we
> should use this product for our project. We have tried several databases
> (MySQL, Sybase ASE, Sybase ASA) and we are now looking at PostgreSQL before
> releasing our service on the Internet.
>
> My concern comes from the fact that there's no multi-threading support in
> PostgreSQL and since we expect many customers to be connected at the same
> time on multiple connections, I am afraid the time to perform the SQL
> statements will be much longer, since they'll all be queued one after the
> other. Therefore, if one query takes a long time, all the other queries have
> to wait behind before being executed.
>
> Am I missing something or are my assumptions correct?
> Also, does PostgreSQL supports international characters?

We certainly process multiple queries at the same time.  We are not
multi-threaded in the sense we don't run multiple queries inside the
same process.  Each connection gets its own process.

I am interested to hear why you thought we only do one query at a time.
Is there some information we published or someone else published that
lead you to that conclusion.

--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@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 по дате отправления:

Предыдущее
От: Chris Bitmead
Дата:
Сообщение: Re: [GENERAL] Multi-threading on PostgreSQL?
Следующее
От: Argentino trombin
Дата:
Сообщение: Initfb fails