Re: Multithread Query Planner - Mailing list pgsql-hackers

From Yeb Havinga
Subject Re: Multithread Query Planner
Date
Msg-id [email protected]
Whole thread Raw
In response to Multithread Query Planner  (Frederico <[email protected]>)
List pgsql-hackers
On 2012-01-13 21:14, Frederico wrote:
> Hi folks.
>
> Is there any restriction in create and start threads inside Postgres?
>
> I'm trying to develop a multithread planner, and some times is raised a exception of access memory.
>
> I'm debugging the code to see if is a bug in the planner, but until now, I still not found. I tried to use the same
memorycontext of root process and create a new context to each new thread, but doesn't worked.
 
>
>
> Any tips?

Not sure if it is of any use to you, but the vldb paper 'Parallelizing 
Query Optimization' http://www.vldb.org/pvldb describes a experimental 
implementation in PostgreSQL.

regards,
Yeb



pgsql-hackers by date:

Previous
From: Hitoshi Harada
Date:
Subject: Re: Patch: Allow SQL-language functions to reference parameters by parameter name
Next
From: Fujii Masao
Date:
Subject: Re: WAL Restore process during recovery