
23 Oct
2008
23 Oct
'08
6:10 p.m.
xxiao wrote:
Hi,
does anyone know whether there is any doc on how the server is implemented in Pthreads, such as how many threads are forked and what job each different thread is responsible for?
The source is the most complete documentation in this ;) The number of threads depend on the back end used and the advice coming from the frontends. In the M5/SQL setting each client connection receives its own thread of control. Within a single query plan multiple threads of control may become active when the dataflow optimizer is activated. There is one thread awaiting connection requests and a separate thread to flush memory. Please explain what you plan to do in this area. regards, Martin
Thanks a lot.