Re: [GENERAL] Multi-threading on PostgreSQL?

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Tiago Hermans <thermans(at)hawaii(dot)rr(dot)com>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Multi-threading on PostgreSQL?
Date: 1999-07-15 13:34:53
Message-ID: 199907151334.JAA07774@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Dieter Lange 1999-07-15 17:38:02 Template1 database in docs
Previous Message Chris Bitmead 1999-07-15 06:31:11 Re: [GENERAL] Multi-threading on PostgreSQL?

Browse pgsql-general by date

  From Date Subject
Next Message Huynh, Long 1999-07-15 16:16:39 How to install just client only
Previous Message Argentino trombin 1999-07-15 12:56:12 Initfb fails