Book Image

Professional Azure SQL Database Administration

By : Ahmad Osama
Book Image

Professional Azure SQL Database Administration

By: Ahmad Osama

Overview of this book

As the cloud version of SQL Server, Azure SQL Database differs in key ways when it comes to management, maintenance, and administration. It’s important to know how to administer SQL Database to fully benefit from all of the features and functionality that it provides. This book addresses important aspects of an Azure SQL Database instance such as migration, backup restorations, pricing policies, security, scalability, monitoring, performance optimization, high availability, and disaster recovery. It is a complete guide for database administrators, and ideal for those who are planning to migrate from on premise SQL Server database to an Azure SQL Server database.
Table of Contents (13 chapters)
Professional Azure SQL Database Administration
Contributors
Preface
Free Chapter
1
Microsoft Azure SQL Database Primer
4
Restoring an Azure SQL Database
Index

Monitoring an Azure SQL Database using the Azure Portal


The Azure portal provides multiple monitoring options, which are available under the Overview | Monitoring | Support + Troubleshooting sections for an Azure SQL Database:

Let's talk about each of these options in detail.

Monitoring Database Metrics

Database metrics such as CPU percentage, DTU percentage, data I/O, and other metrics can be monitored through the overview section.

The overview section displays the DTU percentage from the past hour of an Azure SQL Database in the form of a line chart:

You can even pin the chart on your Azure portal dashboard by clicking on the pin icon in the upper-right corner of the chart.

This way, you can monitor the DTU percentage as and when required.

Note

In order to see the graph working, you will require some workload running. You can achieve this by executing the Start-Workload.sql file placed in the C:\code\Lesson09 folder.

Open a new PowerShell command and run the following command:

.\Start...