Skip site navigation (1) Skip section navigation (2)

Re: Multithread Query Planner

From: Frederico <zepfred(at)gmail(dot)com>
To: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
Cc: Christopher Browne <cbbrowne(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Multithread Query Planner
Date: 2012-01-14 09:43:54
Message-ID: 81A3CBE0-D917-476F-9E24-EC0E5151572D@gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
This means it's possible use threads?

Att,

Fred

Enviado via iPad

Em 13/01/2012, às 20:47, Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr> escreveu:

> Christopher Browne <cbbrowne(at)gmail(dot)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

In response to

Responses

pgsql-hackers by date

Next:From: Hitoshi HaradaDate: 2012-01-14 10:25:01
Subject: Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers
Previous:From: Jaime CasanovaDate: 2012-01-14 09:41:57
Subject: Re: Measuring relation free space

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group