Received: from candle.pha.pa.us (maillist@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.9.3/8.9.3) with ESMTP id JAA49838 for ; Thu, 15 Jul 1999 09:35:06 -0400 (EDT) (envelope-from maillist@candle.pha.pa.us) Received: (from maillist@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id JAA07774; Thu, 15 Jul 1999 09:34:53 -0400 (EDT) From: Bruce Momjian Message-Id: <199907151334.JAA07774@candle.pha.pa.us> Subject: Re: [GENERAL] Multi-threading on PostgreSQL? In-Reply-To: <000701bece89$2c094900$07581f18@tiago-s-dell.hawaii.rr.com> from Tiago Hermans at "Jul 14, 1999 08:13:35 pm" To: Tiago Hermans Date: Thu, 15 Jul 1999 09:34:53 -0400 (EDT) CC: pgsql-general@postgreSQL.org X-Mailer: ELM [version 2.4ME+ PL56 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit [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