Mariposa was an interesting cost-based distributed query engine based upon PostgreSQL.
Perhaps that study may prove valuable insights. http://epoch.cs.berkeley.edu:8000/mariposa/ ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend