Database Consolidation with Elastic Resource Pools