maybe you can take a look at citus: http://docs.citusdata.com/en/latest/