top of page

The Battle of the Azure SQL Pricing Models

  • Writer: joe parr
    joe parr
  • May 6, 2024
  • 4 min read

Ah, the age-old question that has kept data aficionados up at night: SQL pricing models. If you've ever found yourself in a heated debate over vCores and DTUs, fear not, for I am about to embark on a journey through the world of database pricing.


Buckle up and get ready. This gonna be wild!



First up, let's tackle the vCores.


Picture this, you're in a crowded marketplace, and each vCore is like a stall selling processing power. Need more juice? Just add more vCores to your shopping cart. It's like upgrading from a tricycle to a Ferrari – you'll zoom through those queries faster than you can say "SELECT * FROM database."


Just hold on though, because here comes DTU, strutting down the catwalk like it's the hottest new trend in town. DTUs (Database Transaction Units) bundle together CPU, memory, and I/O into one neat package.


It's like ordering a combo meal at your favourite fast-food joint – you get everything you need in one go, no fuss, no mess. Let's break it down a little:


vCores:


Flexibility: Want to fine-tune your database performance? With vCores, you have the power (pun intended) to scale up or down as needed.


Granularity: You can allocate vCores based on your specific workload requirements, giving you more control over resource allocation. It's like being the master chef of your database kitchen – you decide how much heat each dish needs. Increase your storage, go for it, tweak your memory, fine. You catch my drift.


Cost: But wait, all this power comes at a price. vCores can be more expensive compared to DTUs, especially if you need a lot of them.


DTUs:


Simplicity: Say goodbye to complicated calculations – DTUs offer a one-size-fits-all, fixed priced solution for your database needs. It's like ordering a pizza – you pick your size, and voila, you're ready to feast.


Ease of Use: DTUs are beginner-friendly, making them perfect for start-ups or small businesses or for your consistent workloads you know inside and out.


Limitations: But beware, my friend, for DTUs come with their limitations. If your workload is particularly heavy on one resource (like CPU), you might find yourself hitting a bottleneck. It's like trying to fit a square peg into a round hole – sometimes, it just doesn't work and you may find yourself having to pay more and have more DTU's to cater for your inefficient SQL databases...no offense.


Considerations:


Workload Characteristics: If your workload is as predictable as your morning coffee order, DTU-based tiers are like the trusty drip coffee maker - simple and reliable. But if your workload is as unpredictable as the weather, vCore-based tiers are like a customizable espresso machine, giving you the flexibility to adjust to changing conditions.


Budget and Cost Management: It's like choosing between dining out at a fixed-price buffet versus à la carte. DTU-based tiers offer an all-inclusive package deal, easy on the wallet and brain. Meanwhile, vCore-based tiers are like a gourmet restaurant menu, where you pay for what you pick – great for those who want control, but keep an eye on those extra toppings.


Resource Optimization: Think of it as tuning your car. If you're content with cruising along on autopilot, DTU-based tiers are like a reliable sedan – no fuss, no muss. But if you're a gearhead who loves tweaking every little detail for optimal performance, vCore-based tiers are your souped-up sports car, ready for precision tuning and maximum speed.


Honourable Mentions:



Service Tiers: Whatever pricing model you choose, their are a few options to cater for your needs and give you the SLA's you require. vCore service tiers are described as General Purpose, Business Critical and Hyperscale, where the DTU tiers are described as Basic, Standard and Premium. I may do a deeper die on these later, we will see...


SQL Managed Instances: If you are considering using managed instances, you will only be able to select the vCore pricing model. If you want to choose DTU's, you're gonna have to go for SQL databases. Soz, blame Microsoft.


Backups: Within the DTU pricing model, the cost of backups are included with a default retention period.


eDTUs: Consider this, you have a load of databases in an elastic pool. eDTUs are a measure of performance for a pool of resources, rather than a single databases. They consider the entire pools shared resources. Effectively, each database within an elastic pool utilises a portion of the capacity.


Choosing Elastic Pools: Elastic pools are well suited for large numbers of databases, with specific usage patterns and which have low utilisation and infrequent spikes. You know, if you have higher-usage databases, consider not using the same pool, if you know what is good for you!


So, there you have it – the battle of the SQL pricing models, fought on the fields of vCores and DTUs, with a sprinkling of tips and other mentions.


Whether you're team vCore or team DTU, one thing's for sure: the world of database pricing is anything but dull. So, go forth, may your queries be swift and your databases ever-scalable!


{

 “SignOff”: {

“Cheers”: “THF”

}

}


 
 
 

Comments


Post: Blog2 Post

©2022 by TheHumanFirewallBlog. Proudly created with Wix.com

bottom of page