A software vendor has standardised on Azure SQL Database. It hosts a separate database for each of its 40 customers. Monitoring shows the following:
- Most databases are lightly used for most of the day.
- Each database has occasional, unpredictable bursts of heavy activity.
- The bursts happen at different times for different customers.
The vendor wants every database to perform well during its bursts, while keeping costs low and billing predictable.
Which scaling solution should you recommend?
Elastic database pools suit multiple databases that have low average utilisation and infrequent, unpredictable spikes. The databases in the pool draw on a shared set of resources, and per-database minimum and maximum limits control resource allocation. The pool is billed at a fixed hourly rate based on its configured capacity, with no extra charge per database. This keeps costs predictable compared with provisioning every database for its own peak.
- Correct: Place the databases in an elastic pool sized for the bursts, with per-database limits. The databases share the pool's resources, so capacity sized for the bursts covers the group. The pool is billed at a fixed hourly rate with no charge per database.
- Not correct: Use horizontal sharding to distribute each customer's data across additional independent databases. Sharding divides data among databases so each portion can scale independently. It does not let the customer databases share a common allocation of resources to accommodate bursts at different times.
- Not correct: Deploy each database as a single database provisioned for its own peak workload. This meets the performance need, but you pay for peak capacity on all 40 databases even though they are mostly idle. That conflicts with the cost requirement.
- Not correct: Enable read scale-out on each database to offload read-only queries. Read scale-out is a horizontal technique that offloads read activity. It does not let lightly used databases share spare capacity to absorb unpredictable bursts at a controlled cost.