11/24/2026
by Marlon Ribunal
0 comments

The DBA Moves Up the Stack: From SQL Server on a VM to Azure SQL and Managed Instance

Note: This is more of a note to myself than an attempt to preach something obvious or already known to many.

Back in 2012, I wrote that the cloud was “now becoming a necessity and not simply a storage preference”, and that the data professional who knows how to adapt has the best shot at a long career. I still believe that.

So I sat down and mapped what I already do every day as a SQL Server DBA against what Azure SQL Database and Azure SQL Managed Instance expect.

Here’s what I found: the gap is smaller than it looks from the outside.

If you run SQL Server on-prem or on an Azure VM, you’re not starting over. You’re moving up the stack. Some of your work goes away, some of it changes shape, and a few things are new. But the engine is the same engine.

The engine doesn’t care where it lives

Azure SQL Database and Managed Instance both run the SQL Server database engine. Not a fork or a look-alike. Microsoft ships engine changes to Azure SQL first, and they land in the boxed product later. That means most of your toolkit comes along unchanged:

  • T-SQL. Your queries, procedures, and functions. Your bad habits too.
  • Execution plans. Same operators, same warnings, same cardinality estimator surprises. Parameter sniffing does not care that you’re paying by the vCore.
  • Indexing. Clustered, nonclustered, columnstore, filtered. Same rules, same trade-offs.
  • Query Store. It’s on by default in Azure SQL Database. If you already live in it, you’re ahead.
  • DMVs. sys.dm_exec_requests, sys.dm_exec_query_stats, sys.dm_db_index_usage_stats. They’re all there. A few new ones join them, like sys.dm_db_resource_stats.
  • Waits. Wait stats still tell you where the time went. You’ll meet a few new wait types, and that’s a lesson in itself (more on that below).
  • Security. Logins, users, roles, permissions, row-level security, Always Encrypted, TDE. Same concepts.
  • Blocking and locking. Isolation levels, deadlocks, lock escalation. All of it behaves the way you already know.

Like I said, same engine. The DBA who knows why a query is slow is still the most useful person in the room. The cloud does not tune your queries for you. (Automatic tuning will force the last good plan, and that’s handy. It won’t fix a non-sargable predicate.)

What changes when you move up the stack

If you already run SQL Server on an Azure VM, you know the cloud’s shared responsibility model. On a VM, you own everything from the OS up. PaaS moves that line up. Microsoft takes the OS, the patching, the backups, and the high-availability plumbing. You keep the data, the queries, the security, and, new to a lot of us, the bill.

Here’s how my daily habits translate:

What I do on a VMAzure SQL DatabaseAzure SQL Managed Instance
Patch Windows and SQL ServerGone. Microsoft does it.Gone. You pick an update policy and a maintenance window.
Backup jobs (Ola’s scripts, anyone?)Automatic, with point-in-time restore and optional long-term retention. No .bak files.Automatic, plus COPY_ONLY backups to URL when you need a file.
Restore a .bak from on-premNot supported. You migrate with other tools.Supported with RESTORE … FROM URL.
Build an Availability GroupBuilt in. Add zone redundancy and geo-replication or failover groups for DR.Built in. Failover groups for DR, and Managed Instance link to pair with SQL Server.
SQL Server Agent jobsNo Agent. Use elastic jobs or Azure Automation.Agent is there. Your jobs come along.
Cross-database queriesNot within the server. Each database stands alone.Work the same as on-prem.
Linked servers, Database Mail, CLR, Service BrokerNot available.Available, with some limits.
Windows loginsUse Microsoft Entra ID.Use Microsoft Entra ID, plus SQL logins.
RDP into the boxThere’s no box.There’s no box.
Trace flags, instance settingsMostly not yours to touch.Some of them are.

And, so the pattern is plain. Azure SQL Database is database-scoped. Managed Instance is instance-scoped. Almost every difference in that table follows from that one fact.

The differences that catch a traditional DBA

The table is the easy part. These are the things that take some rewiring.

Resource limits are a feature, not a bug. On a VM, the box is the limit. In Azure SQL, every service tier comes with governed limits on CPU, memory, log write rate, and IOPS. When you hit them, you see new waits. LOG_RATE_GOVERNOR on Azure SQL Database, or INSTANCE_LOG_RATE_GOVERNOR on Managed Instance, means you’re at the tier’s log throughput cap. That’s not a broken server. It’s the contract. Tuning in PaaS means knowing which ceiling you’re near before you blame the code, or the code before you buy a bigger tier.

Storage architecture depends on the tier. In General Purpose, data files sit on remote storage, so I/O latency is higher than local SSD. Business Critical uses local storage and an Always On-style replica set, and gives you a readable secondary. On Azure SQL Database, Hyperscale separates compute from storage completely. If you’ve ever explained the difference between SAN and local NVMe to a developer, you already know why this matters.

Cost is now a performance metric. On-prem, an oversized server is a sunk cost. In Azure, it’s a monthly line item with your name on it. Right-sizing, reserved capacity, the serverless tier for spiky workloads, elastic pools for lots of small databases, and stopping a General Purpose Managed Instance when nobody’s using it are all part of the job now. A DBA who can tune a workload down a tier saves real money. And yes, that conversation goes better than the one where you ask for another SAN shelf.

Networking and identity move to the front. Your SQL Server VM already sits in a VNet, but PaaS adds new pieces. Managed Instance lives in a dedicated, delegated subnet. Azure SQL Database is reached through firewall rules or private endpoints, and private endpoints mean private DNS zones. When a connection fails, the cause is more likely to be DNS or a network security group than SQL Server. Microsoft Entra ID authentication, managed identities, and Entra-only auth are also new to many on-prem shops. Learn them early.

You don’t control the maintenance clock. Microsoft patches on its schedule, inside the maintenance window you choose. Failovers happen. Your applications need retry logic for transient errors. That’s an old idea, but now it’s required.

Which one when?

Here’s how I think about it, with the VM as the baseline.

SQL Server on an Azure VM. Pick this when you need the OS: third-party agents on the box, SSIS or SSRS on the same server, FILESTREAM, a specific SQL Server version, or full instance control. It’s also the fastest lift-and-shift when the deadline beats the modernization plan. You’re still the DBA for everything, though the SQL IaaS Agent extension helps with automated backups and patching.

Azure SQL Managed Instance. This is the on-prem DBA’s natural landing spot. Pick it when an existing application leans on instance-level features like Agent jobs, cross-database queries, linked servers, CLR, Service Broker, or Database Mail, and you want to stop patching and building AGs. You can migrate with a backup and restore, or with Managed Instance link if you want a near-zero-downtime cutover. Of the three, it needs the least relearning.

Azure SQL Database. Pick this for new, cloud-native applications and anything designed around one database per app or per tenant. Elastic pools fit SaaS apps with many small tenant databases. Serverless fits dev/test and spiky workloads, because it auto-pauses. Hyperscale fits very large databases that need fast scaling and quick restores. It asks the most of your architecture: no cross-database joins, no Agent. In return, it gives you the least to operate.

One more thing: you don’t have to choose just one. Plenty of shops run all three, and a DBA who can say which workload belongs where is worth a lot to them.

What to learn first

If I were building a plan for a DBA coming from on-prem or IaaS (and I am), here’s the order I’d go in:

  1. Deploy one of each. Spin up an Azure SQL Database and a Managed Instance. Both have free offers you can use for learning. Connect with SSMS. Run your favorite DMV queries and see what’s different. Nothing beats breaking it yourself.
  2. Learn the purchasing model. vCore vs DTU, the service tiers, serverless, elastic pools, reserved capacity. This is the part of the job that didn’t exist before, and it’s where the cloud budget gets made or lost.
  3. Learn the network path. Private endpoints, private DNS, the Managed Instance subnet, NSGs, connection policy (proxy vs redirect). Learn to troubleshoot a connection from the client side out.
  4. Learn identity. Microsoft Entra ID logins and users, managed identities, contained users. Practice locking a database down without a single SQL password.
  5. Learn BCDR, the Azure way. Point-in-time restore, long-term retention, geo-restore, active geo-replication and failover groups. Then do a real failover and restore drill. Restore drills are still your job, even if someone else takes the backups.
  6. Re-learn monitoring. Query Store, the resource-stats DMVs, Azure Monitor metrics and alerts, and database watcher (still in preview when I last checked). Learn the governance waits so you know a tier limit when you see one.
  7. Automate it. Learn the Azure CLI or PowerShell, and an infrastructure as code tool like Bicep. A DBA who can rebuild an environment from code has an advantage.
  8. Migrate something. Take a small on-prem database and move it with Azure Migrate’s SQL assessment and the Azure Database Migration Service. Do it to Managed Instance first, then to Azure SQL Database, and write down everything that broke.

For structure, Microsoft’s DP-300: Administering Microsoft Azure SQL Solutions covers most of this, and its study guide makes a decent checklist even if you never sit the exam.

Beginner’s mind, again

A few years ago I wrote about Shoshin, the beginner’s mind: approaching something with openness, even when you think you already know it.

The traditional DBA doesn’t need to be rescued from the cloud. We need to recognize our own skills in a new setting. The plan regression is still a plan regression. The blocking chain is still a blocking chain. What changed is who racks the server, who takes the backup, and who sees the bill.

Same engine. Higher up the stack. Let’s go.

11/10/2026
by Marlon Ribunal
0 comments

Are Blogs Still Relevant? I Think They Still Are.

This post is my contribution to T-SQL Tuesday #204 – Are Blogs Still Relevant?, hosted by Jeff Iannucci (b | li ). Please check Jeff’s invitation post for the rules.

T-SQL Tuesday

T-SQL Tuesday is a monthly blogging event in the SQL Server community, started by Adam Machanic in 2009 and now maintained by Steve Jones. Each month, a different community member hosts the event by proposing a topic, inviting SQL Server professionals and enthusiasts to share their experiences, knowledge, and thoughts through blog posts.

It’s a great way to learn from others, discover new voices in the community, and keep the spirit of knowledge sharing alive.

This month’s topic is: Are blogs still relevant?

It’s hard to tell whether people in the technology community still read blogs as much as they used to. With AI tools becoming more accessible, someone can simply ask ChatGPT, Claude, or another AI assistant a question and get an answer in seconds.

Why spend time searching through blog posts when you can just ask AI?

If we’re talking about popularity, I don’t think blogs have the same presence they had back in the 2010s. There are so many other ways to consume information now. YouTube, podcasts, social media, newsletters, and AI assistants have all changed how we learn and discover things.

But if the question is whether blogs are still relevant, I would say yes.

There’s Still Value in Reading Someone Else’s Experience

One thing I appreciate about technical blogs is that they often come from someone who actually encountered a problem, spent time figuring it out, and decided to share what they learned.

Take SQL Server, for example.

You can ask AI how to troubleshoot a slow-running query, how to interpret wait statistics, or how to configure a particular SQL Server feature. It will probably give you a reasonable starting point.

But there’s a difference between getting an answer and understanding how someone arrived at that answer.

A blog post can explain what the author tried, what worked, what didn’t, and why a particular approach made sense in their environment. Sometimes, the most useful part isn’t even the final solution. It’s the troubleshooting process that got them there.

And that’s something I still enjoy reading.

I’ve come across plenty of situations where I thought I understood a particular SQL Server behavior, only to discover something different when I started testing it myself. Reading about someone else’s experience can give you a different perspective and sometimes save you hours of investigation.

Of course, not every blog post is accurate, and not every solution applies to every environment. That’s part of being a technology professional. We still need to validate what we read and understand how it applies to our own circumstances.

AI Has Changed How We Write

Here’s another thing I’ve been thinking about.

I keep writing blog posts whenever time permits. And honestly, there are fewer excuses now for not putting something out there.

One of the hurdles for many people who want to blog is writing itself. They might know the technology, understand a particular problem, and have something valuable to share, but putting those thoughts into a well-written article can be difficult.

Grammar, sentence construction, organization, and simply finding the right words can get in the way.

I’ve been there myself.

Now we have AI tools that can help organize our thoughts, improve sentence construction, check grammar, and make an article easier to read.

That doesn’t mean we should let AI do all the thinking for us. We still need to bring our own experience, technical knowledge, research, and judgment to the table.

I’ve started using AI in my own writing and technical experiments.

For example, in my recent post about When Do You Reach For A #temp Table?, I used Claude Code to help generate test scenarios. That saved me time setting up the experiments so I could concentrate on examining the behavior and explaining what I found.

AI helped with the process, but I still needed to understand the SQL Server behavior, review the results, and decide what was worth sharing.

I think that’s a pretty good way to use these tools.

If you know something worth sharing but struggle to put it into words, there’s no reason to let grammar or writing skills stop you. Let AI help you communicate what you know.

We Should Be Seeing More Quality Technical Content

If AI makes writing easier, shouldn’t we be seeing more blog posts from the technology community?

I think so.

There are plenty of SQL Server professionals out there with years of experience. They have dealt with production outages, performance problems, migrations, database corruption, security issues, and all sorts of situations that don’t always have a straightforward answer.

Those experiences are worth sharing.

Imagine how much more we could learn if more people took the time to document what they encountered and what they learned along the way.

We don’t all have to write comprehensive technical guides. Sometimes a short post explaining a particular problem, a useful script, a troubleshooting tip, or a lesson learned from a production incident is already valuable.

And you don’t have to be a well-known name in the community to have something worth sharing.

Someone might be troubleshooting the exact same problem months or even years from now. Your post could be the one that helps them move forward.

That’s one of the things I like about blogging. A post can continue to be useful long after you publish it.

So, Are Blogs Still Relevant?

For me, absolutely.

Are blogs as popular as they were in the 2010s? Probably not. Do I expect people to spend hours browsing through technical blogs when they can ask an AI assistant for an answer? Probably not either.

But I don’t think those things make blogging any less valuable.

AI is another tool we can use to learn, research, and communicate. It can make finding information and putting our thoughts into words easier. But there’s still value in reading about the experiences and discoveries of people who work with the technology every day.

As for me, I’ll keep writing whenever time permits. I don’t expect every post to get hundreds of views or generate a lot of discussion. If someone finds an article useful, learns something new, or approaches a problem differently because of something I wrote, that’s already a good reason to keep doing it.

And if AI can help me spend less time worrying about grammar and more time sharing what I’ve learned, I’ll gladly take that help.

Now, I’d like to hear from the rest of the community.

Are you still reading technical blogs? Have you changed how you learn because of AI? And if you’ve stopped blogging, what’s holding you back?

Let’s keep sharing what we learn.

Happy T-SQL Tuesday!

11/03/2026
by Marlon Ribunal
0 comments

The Proof of the Backup Is in the Pudding

Sometimes, a simple comment on LinkedIn gives you an idea worth writing about.

After sharing my thoughts on SQL Server native backups using Ola Hallengren’s Maintenance Solution, Mark Gribler left a comment that caught my attention:

“The proof of a backup is a restore” (apologies to puddings)!!

I had to smile at that one.

It’s a clever play on the old saying, “The proof of the pudding is in the eating.” And the more I thought about it, the more I realized how perfectly it describes what a good SQL Server backup strategy should be.

You can have a backup job that runs every night, reports success, sends you an email notification, and gives you a nice green checkmark on your monitoring dashboard. But until you have successfully restored that backup, what exactly have you proven?

Mark’s comment gave me the idea for this blog post.

My original LinkedIn post questioned why some people consider native SQL Server backups old-fashioned, particularly when there are plenty of modern third-party backup products available today.

Apparently, I touched a nerve or two.

The discussion brought some interesting responses. Quite a few DBAs shared their confidence in Ola’s solution, while others shared less favorable experiences with third-party backup products.

But regardless of which side of the discussion you belong to, I think we can agree on one thing:

A backup is only as good as your ability to restore it.

A successful backup is only half the story

As DBAs, we spend a lot of time making sure backups are running as scheduled. We configure full, differential, and transaction log backups. We monitor job history, check backup sizes, review failures, and make sure backup files are being written to their intended destinations.

All of that is important.

But there is another question we should be asking:

Have we actually restored those backups?

A backup job reporting success doesn’t automatically mean you have a working recovery strategy.

The backup file might be inaccessible when you need it. The storage location might be unavailable. You might discover that the backup chain is incomplete, or that the process of restoring the database takes considerably longer than expected.

And then there’s the possibility that nobody has actually tested the recovery procedure.

Imagine being in the middle of a production incident, with management asking how long it will take to bring the database back online, only to discover that the backup process you’ve trusted for months has never been tested through an actual restore.

That’s a situation I’d rather avoid.

Why I still like Ola Hallengren’s Maintenance Solution

I’ve been a fan of Ola Hallengren’s Maintenance Solution for a long time, particularly its backup component.

It is mature, well-established, widely used, and does what it is supposed to do.

One thing I appreciate about it is its simplicity. Ola’s backup solution provides a consistent and configurable way of executing SQL Server’s native backup commands. It handles the scheduling, backup file naming, retention, cleanup, and other operational details that DBAs need to manage.

Underneath it, SQL Server is still doing the actual backup work.

The resulting backup is a native SQL Server backup. You don’t need Ola’s Maintenance Solution installed to restore a database backed up through it. You can use SQL Server Management Studio, T-SQL, or other supported restore methods.

For example:

EXECUTE dbo.DatabaseBackup
    @Databases = 'MyDatabase',
    @Directory = 'D:\SQLBackups',
    @BackupType = 'FULL',
    @Verify = 'Y',
    @Compress = 'Y',
    @CheckSum = 'Y',
    @LogToTable = 'Y';

And when it comes to restoring:

RESTORE DATABASE [MyDatabase]
FROM DISK = 'D:\SQLBackups\MyDatabase.bak'
WITH CHECKSUM, STATS = 10;

Of course, these are simplified examples. A real recovery procedure needs to account for the backup chain, recovery model, file locations, database state, and other requirements.

But that’s part of what I like about this approach. The backup and restore process uses capabilities that are already part of SQL Server.

There is no additional backup engine that I need to understand before I can recover a database.

I’m not saying Ola’s solution is the only way to back up SQL Server. I’m saying it is a proven and practical option that continues to serve its purpose very well.

Do we really need another layer of complexity?

This is where I become a little more cautious about third-party backup products.

Don’t get me wrong. There are legitimate reasons to use them.

Organizations may have centralized backup requirements, enterprise retention policies, offsite replication, immutable storage, reporting, or backup management across different platforms. A third-party product may address requirements that go beyond simply backing up SQL Server databases.

That’s perfectly reasonable.

However, I sometimes wonder whether we introduce more complexity than necessary when choosing a backup product.

Some products integrate deeply with SQL Server, while others introduce their own management layers, agents, processes, and recovery dependencies.

The concern isn’t necessarily how the backup is taken. It’s what happens when you need to restore it.

Do you need the same third-party software to perform the restore? Does it require a particular version of the product? What happens if the backup server is unavailable? What if the product license has expired, or the organization no longer has access to the software?

Can you restore a database without having to go through several layers of infrastructure and dependencies?

These are questions worth asking before committing to a backup product.

I’ve seen discussions from DBAs who have experienced limitations with third-party backup solutions, particularly when it comes to restoring databases or performing more specific recovery operations.

And that’s something worth considering.

SQL Server has several recovery capabilities, including point-in-time recovery, file and filegroup restores, and page restores where supported. Your backup strategy and chosen tools should support the recovery scenarios your environment actually requires.

Having a product that can report successful backups across hundreds of servers is useful. Having one that can reliably get your databases back when things go wrong is far more important.

Old doesn’t necessarily mean ineffective

Another thing that came out of the LinkedIn discussion was the recurring perception that native SQL Server backups are somehow outdated.

I don’t quite understand that argument.

Just because something has been around for a long time doesn’t mean it has stopped being effective.

SQL Server’s native backup and restore capabilities have been around for decades. Microsoft continues to support and improve them. Ola Hallengren’s Maintenance Solution has also been around for years, and it continues to be maintained and used by DBAs around the world.

Why replace something that works simply because something newer is available?

I’m all for modern tools and technologies. They have their place, and I don’t think we should dismiss them just because they come from a third party.

But newer doesn’t automatically mean better. More features don’t necessarily mean a better recovery process. And a more sophisticated backup dashboard doesn’t guarantee that your database can be restored.

Sometimes, a straightforward and well-understood approach is exactly what you need.

Test your backups. Actually restore them.

If there’s one thing I’d like DBAs to take away from this discussion, it’s that backup monitoring should not stop at checking whether a job completed successfully.

We should also have a process for regularly testing restores.

A few things I’d want to see in a SQL Server backup and recovery routine:

  • Regular restore testing. Restore production backups to an isolated environment. Don’t just assume that a successful backup job means everything is fine.
  • Backup integrity checks. Use backup checksums and appropriate verification procedures. RESTORE VERIFYONLY can provide an additional check, but it is not a substitute for performing an actual restore.
  • Recovery time validation. Know how long it takes to restore your databases. A technically successful restore that takes 20 hours when the business expects recovery within two hours is still a problem.
  • Point-in-time recovery testing. Make sure your full, differential, and transaction log backups work together as expected.
  • Documented recovery procedures. Know where the backups are, what dependencies are involved, and who can perform the restore.

I would also include system databases and other instance-level dependencies in the overall disaster recovery plan. Restoring a user database is one thing. Recovering an entire SQL Server environment is another.

The important thing is to make recovery testing part of the routine, not something you figure out for the first time during an emergency.

I don’t have anything against third-party backup products. If they solve a real business requirement and provide a reliable recovery process, by all means, use them.

But I wouldn’t dismiss native SQL Server backups or Ola Hallengren’s Maintenance Solution simply because they aren’t the latest products on the market.

For me, the objective is straightforward: have a backup strategy that is reliable, understandable, maintainable, and, most importantly, restorable.

A successful backup job is good news. A successful restore is proof that your backup strategy actually works.

So the next time your backup job reports success, don’t just celebrate the green checkmark.

Restore it. Test it. Prove it.

Because the proof of the backup is in the pudding!

And in our world, the pudding is the restore.

And thanks to Mark Gibler for the inspiration. I think he put it better than I could have: the proof of a backup is a restore.

Verified by MonsterInsights