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/
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных