Optimizing the performance of a relational algebra database interface | Synapse