Re: APR 1.0 released - Mailing list pgsql-hackers

From Sailesh Krishnamurthy
Subject Re: APR 1.0 released
Date
Msg-id mjqu0t4rcb4.fsf@drones.CS.Berkeley.EDU
Whole thread Raw
In response to Re: APR 1.0 released  (Mike Rylander <mrylander@gmail.com>)
List pgsql-hackers
IMHO the best references to parallelizing query plans are in the
Volcano papers. The Exchange operator is a really clean abstraction -
the idea is to place the Exchange operator in query plans and that way
you don't have to paralellize any other operator. Exchange takes care
of managing the IPC queues and also worries about whether or not you
have to, say, "rehash the data", or "broadcast the data to all other
processes" or "direct the data to a single node" ... 

I'd suggest reading the following paper:

"Encapsulation of parallelism in the Volcano query processing system"

By Goetz Graefe in SIGMOD 1990. 

Link: http://portal.acm.org/citation.cfm?id=98720

The above link also has references to Gamma but I really like the
exposition in the Volcano/Exchange work much better. 

-- 
Pip-pip
Sailesh
http://www.cs.berkeley.edu/~sailesh




pgsql-hackers by date:

Previous
From: Sailesh Krishnamurthy
Date:
Subject: Re: APR 1.0 released
Next
From: Sailesh Krishnamurthy
Date:
Subject: Re: plans for bitmap indexes?