Optimal performance of computations is one important promise that databases make to their user community.