Parallel query execution

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Parallel query execution
Дата
Msg-id 20130115221419.GI27934@momjian.us
обсуждение исходный текст
Ответы Re: Parallel query execution  (Stephen Frost <sfrost@snowman.net>)
Re: Parallel query execution  (Peter Geoghegan <peter@2ndquadrant.com>)
Re: Parallel query execution  (Simon Riggs <simon@2ndQuadrant.com>)
Re: Parallel query execution  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Re: Parallel query execution  (Michael Paquier <michael.paquier@gmail.com>)
Re: Parallel query execution  (Paul Ramsey <pramsey@cleverelephant.ca>)
Список pgsql-hackers
I mentioned last year that I wanted to start working on parallelism:
https://wiki.postgresql.org/wiki/Parallel_Query_Execution

Years ago I added thread-safety to libpq.  Recently I added two parallel
execution paths to pg_upgrade.  The first parallel path allows execution
of external binaries pg_dump and psql (to restore).  The second parallel
path does copy/link by calling fork/thread-safe C functions.  I was able
to do each in 2-3 days.

I believe it is time to start adding parallel execution to the backend. 
We already have some parallelism in the backend:
effective_io_concurrency and helper processes.  I think it is time we
start to consider additional options.

Parallelism isn't going to help all queries, in fact it might be just a
small subset, but it will be the larger queries.  The pg_upgrade
parallelism only helps clusters with multiple databases or tablespaces,
but the improvements are significant.

I have summarized my ideas by updating our Parallel Query Execution wiki
page: 
https://wiki.postgresql.org/wiki/Parallel_Query_Execution

Please consider updating the page yourself or posting your ideas to this
thread.  Thanks.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: unlogged tables vs. GIST
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: [PATCH] COPY .. COMPRESSED