2007/10/27, Camilo Porto <camiloporto(at)hotmail(dot)com>:
> The parallelism happens even if my PC has only one processor?
PostgreSQL creates a separate process for each client connection -
whether you have one CPU or more.
> Each query is executed in a separeted Thread?
No threads, at least on Unix. Regular processes (sometimes called backends).
> I am simulating only 1 client with the Benchmark. Can 1 Client submit
> parallel queries, in single-processor enviroment?
If this client uses two connections, you can run two queries in paralell.
this chapter of documentation can be helpful:
In response to
pgsql-hackers by date
|Next:||From: Michael Meskes||Date: 2007-10-27 17:28:24|
|Subject: Re: Datum should be defined outside postgres.h|
|Previous:||From: Florian G. Pflug||Date: 2007-10-27 16:40:09|
|Subject: Re: PostgreSQL 8.3, libpq and WHERE CURRENT OF|