A portable relational algebra library for high performance data-intensive query processing