Re: Parallel Query Processing

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: Parallel Query Processing
Дата
Msg-id 49D0B4F3.8040309@iol.ie
обсуждение исходный текст
Ответ на Parallel Query Processing  (aravind chandu <avin_friends@yahoo.com>)
Список pgsql-general
On 30/03/2009 07:18, aravind chandu wrote:

> Thanks for your reply guys.My aim is to run multiple queries.Will
> joins come under multiple queries? or it just mean two or more

Not sure what you're getting at here....a query that includes a JOIN is
still one query.

> different queries like one select statement and another select
> statement? Does postgresql itself supports to run multiple queries or
> we have to use pgpool-II tool?

PostgreSQL spawns a new process for each connection, and runs these in
parallel. Within each connection, a client can run as many queries as it
likes; and these are going on at the same time as queries in other
connections.

You should read the part of the docs that talks about MVCC to understand
how each process sees its own snapshot of the data.

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

В списке pgsql-general по дате отправления:

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Re: New shapshot RPMs (Mar 27, 2009) are ready for testing
Следующее
От: esemba
Дата:
Сообщение: [fulltext] GIN indexes - OR search