cheap joins distributed transactional database