From: | sridhar bamandlapally <sridhar(dot)bn1(at)gmail(dot)com> |
---|---|
To: | pgsql-performance <pgsql-performance(at)postgresql(dot)org> |
Cc: | Venkat Balaji <venkat(dot)balaji(at)verse(dot)in>, ashish nauriyal <anauriyal(at)gmail(dot)com> |
Subject: | Re: PostgreSQL Parallel Processing ! |
Date: | 2012-01-25 09:18:49 |
Message-ID: | CAGuFTBXYSyDHYBuvBOm5gaHtuwg6wEkSu3xB++5SxXiSpNwv=Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Hi Everyone
I just want to illustrate an idea may possible for bringing up
parallel process in PostgreSQL at SQL-Query level
The PARALLEL option in Oracle really give great improvment in
performance, multi-thread concept has great possibilities
In Oracle we have hints ( see below ) :
SELECT /*+PARALLEL( e, 2 )*/ e.* FROM EMP e ;
PostgreSQL ( may if possible in future ) :
SELECT e.* FROM EMP PARALLEL ( e, 2) ;
*Note: The below syntax does not work with any PostgreSQL versions
PostgreSQL Syntax for SELECT ( with PARALLEL )
[ WITH [ RECURSIVE ] with_query [, ...] ]
SELECT [ ALL | DISTINCT [ ON ( expression [, ...] ) ] ]
* | expression [ [ AS ] output_name ] [, ...]
[ FROM from_item [, ...] ]
[ WHERE condition ]
[ GROUP BY expression [, ...] ]
[ HAVING condition [, ...] ]
[ WINDOW window_name AS ( window_definition ) [, ...] ]
[ PARALLEL (<alias> | <table> | <index> |<segment> , < no. of threads> ) ]
[ { UNION | INTERSECT | EXCEPT } [ ALL ] select ]
[ ORDER BY expression [ ASC | DESC | USING operator ] [ NULLS {
FIRST | LAST } ] [, ...] ]
[ LIMIT { count | ALL } ]
[ OFFSET start [ ROW | ROWS ] ]
[ FETCH { FIRST | NEXT } [ count ] { ROW | ROWS } ONLY ]
[ FOR { UPDATE | SHARE } [ OF table_name [, ...] ] [ NOWAIT ] [...] ]
On 1/24/12, ashish nauriyal <anauriyal(at)gmail(dot)com> wrote:
> Thoughts by Bruce Momjian on Parallel execution in PostgreSQL...
>
> http://momjian.us/main/blogs/pgblog/2011.html#December_5_2011
>
> You can give your thoughts on the blog itself....
>
> Thanks,
> Ashish Nauriyal
>
From | Date | Subject | |
---|---|---|---|
Next Message | Claudio Freire | 2012-01-25 13:43:23 | Re: PostgreSQL Parallel Processing ! |
Previous Message | Heikki Linnakangas | 2012-01-25 08:58:16 | Re: Cursor fetch performance issue |