Book Image

SQL Server on Azure Virtual Machines

By : Joey D'Antoni, Louis Davidson, Allan Hirt, John Martin, Anthony Nocentino, Tim Radney, Randolph West
Book Image

SQL Server on Azure Virtual Machines

By: Joey D'Antoni, Louis Davidson, Allan Hirt, John Martin, Anthony Nocentino, Tim Radney, Randolph West

Overview of this book

Deploying SQL Server on Azure virtual machines allows you to work on full versions of SQL Server in the cloud without having to maintain on-premises hardware. The book begins by introducing you to the SQL portfolio in Azure and takes you through SQL Server IaaS scenarios, before explaining the factors that you need to consider while choosing an OS for SQL Server in Azure VMs. As you progress through the book, you'll explore different VM options and deployment choices for IaaS and understand platform availability, migration tools, and best practices in Azure. In later chapters, you'll learn how to configure storage to achieve optimized performance. Finally, you'll get to grips with the concept of Azure Hybrid Benefit and find out how you can use it to maximize the value of your existing on-premises SQL Server. By the end of this book, you'll be proficient in administering SQL Server on Microsoft Azure and leveraging the tools required for its deployment.
Table of Contents (10 chapters)
8
Index

Azure BlobCache

When configuring the VM or adding storage, you can set the caching for the disk. BlobCache provides a multi-tier capability by using the VM's memory and the local SSD for caching. This is only available for Premium disk and is the default for Azure Marketplace images. If you've self-installed SQL Server, then you'll have to manually set up Azure BlobCache.

There are three options for disk caching: ReadWrite, None, and ReadOnly.

For SQL Server workloads, ReadWrite should not be used. ReadWrite can lead to data consistency issues with SQL Server.

None should be used for SQL Server log files. SQL Server log files write data sequentially to disk. There would be no benefit to using ReadOnly caching in that scenario.

SQL Server data files should take advantage of the ReadOnly caching option. By using ReadOnly, reads are pulled from the cache, which are stored within the VM memory and the local SSD. Memory is fast, and the local SSD provides better...