Microsoft Docs

Azure Database for MySQL: Core Concepts

Azure Database for MySQL is a fully managed relational database service built on the MySQL Community Edition database engine. It allows developers to leverage the familiar MySQL platform and open-source tools while benefiting from Azure's scalability, reliability, and security features. This document outlines the fundamental concepts you need to understand to effectively use Azure Database for MySQL.

Azure Database for MySQL Service Tiers

The service is offered in different pricing tiers, each optimized for different workloads and providing varying levels of performance, I/O capabilities, and features:

Each tier is further defined by the number of vCores and the storage capacity, allowing you to choose the best fit for your application's needs.

Compute and Storage

Compute is measured in vCores, representing the virtualized CPU capacity allocated to your database server. Higher vCore counts provide more processing power.

Storage is provisioned as a fixed amount of data storage. You can scale storage up or down as your data grows. Azure Database for MySQL offers both locally redundant storage (LRS) and geo-redundant storage (GRS) options for enhanced durability.

For enhanced performance, especially with the General Purpose and Memory Optimized tiers, the service provisions dedicated I/O operations per second (IOPS) which are tied to the storage size.

Server Administration and Configuration

When you create an Azure Database for MySQL server, you define its name, region, administrator username, and password. You can then configure various server parameters to tune performance and behavior.

Key administration tasks include:

Connectivity

Azure Database for MySQL can be accessed securely from various environments:

Azure Database for MySQL supports SSL/TLS encryption for all connections to ensure data privacy.

High Availability and Disaster Recovery

Azure Database for MySQL provides built-in high availability (HA) and disaster recovery (DR) capabilities to ensure your data is always accessible.

Security

Security is a top priority in Azure Database for MySQL. The service offers robust security features:

Replication

Azure Database for MySQL supports replication scenarios:

Monitoring and Management

The Azure portal, Azure CLI, and PowerShell provide comprehensive tools for monitoring and managing your Azure Database for MySQL server. You can track performance metrics, set up alerts, and view logs to ensure your database is running optimally.

For more detailed insights, consider integrating with Azure Monitor and Azure Log Analytics.

Understanding these core concepts will empower you to design, deploy, and manage robust and scalable MySQL-based applications on Azure.