Re: [GENERAL] Multi-threading on PostgreSQL? - Mailing list pgsql-general

From Bruce Momjian
Subject Re: [GENERAL] Multi-threading on PostgreSQL?
Date
Msg-id 199907151334.JAA07774@candle.pha.pa.us
Whole thread Raw
In response to Multi-threading on PostgreSQL?  ("Tiago Hermans" <thermans@hawaii.rr.com>)
Responses RE: [GENERAL] Multi-threading on PostgreSQL?
List 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 by date:

Previous
From: Chris Bitmead
Date:
Subject: Re: [GENERAL] Multi-threading on PostgreSQL?
Next
From: Argentino trombin
Date:
Subject: Initfb fails