Re: Multithread Query Planner - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: Multithread Query Planner
Date
Msg-id m2ty3zrzhk.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: Multithread Query Planner  (Christopher Browne <cbbrowne@gmail.com>)
Responses Re: Multithread Query Planner
List pgsql-hackers
Christopher Browne <cbbrowne@gmail.com> writes:
> Yes, don't try to use threads.
>
>
<http://wiki.postgresql.org/wiki/Developer_FAQ#Why_don.27t_you_use_threads.2C_raw_devices.2C_async-I.2FO.2C_.3Cinsert_your_favorite_wizz-bang_feature_here.3E.3F>
>
> ... threads are not currently used instead of multiple processes for
> backends because:

I would only add that the backend code is really written in a process
based perspective, with a giant number of private variables that are in
fact global variables.

Trying to “clean” that out in order to get to threads… wow.

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: Standalone synchronous master
Next
From: Dimitri Fontaine
Date:
Subject: Re: Command Triggers