Re: URGENT HELP about 'duration' stats - Mailing list pgsql-hackers

From Filip Rembiałkowski
Subject Re: URGENT HELP about 'duration' stats
Date
Msg-id 92869e660710271012k560de08et84844a6503315520@mail.gmail.com
Whole thread Raw
In response to Re: URGENT HELP about 'duration' stats  (Camilo Porto <camiloporto@hotmail.com>)
Responses Re: URGENT HELP about 'duration' stats
List pgsql-hackers
2007/10/27, Camilo Porto <camiloporto@hotmail.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:
http://www.postgresql.org/docs/8.2/static/overview.html


pgsql-hackers by date:

Previous
From: "Florian G. Pflug"
Date:
Subject: Re: PostgreSQL 8.3, libpq and WHERE CURRENT OF
Next
From: Michael Meskes
Date:
Subject: Re: Datum should be defined outside postgres.h