Improving energy efficiency for transactional workloads in cloud environments