Azure SQL Database is a managed cloud database service that makes building and maintaining applications easier. It provides continuous learning of app patterns to optimize performance, reliability, and data protection. The service takes care of scalability, backup, and high availability. It provides recommendations to optimize database performance and fix issues. Azure SQL Database offers pricing tiers for different performance levels and capabilities for security, monitoring, and compliance. It can be used for a variety of workloads including web, mobile, and multi-tenant apps.
2. What is Azure SQL Database
Is a managed cloud database for app developers that makes building and
maintaining applications easier and more productive.
Microsoft Azure SQL Database includes built-in intelligence that learns app
patterns and adapts to maximize performance, reliability, and data protection.
3. Continues..
Managed database services take care of scalability, backup, and high availability of
the database. Azure SQL Database is a managed database service which is
different from AWS RDS which is a container service.
4. Capabilities..
Continuous learning of your unique app patterns, adaptive performance tuning,
and automatic improvements to reliability and data protection.
The SQL Database Advisor provides recommendations for creating and dropping
indexes, parameterizing queries, and fixing schema issues. The advisor assesses
performance by analyzing your SQL database's usage history. The recommendations
that are best suited for running your database’s typical workload are recommended.
The following recommendations are available for Azure SQL Database servers. Currently
you can set the create and drop index recommendations to be applied automatically,
see Automatic index management for details.
5. Continues..
Create Index recommendations
Create Index recommendations appear when the SQL Database service detects a missing index that if created, can benefit your databases workload (non-
clustered indexes only).+
Drop Index recommendations
Drop Index recommendations appear when the SQL Database service detects duplicate indexes (currently in preview and applies to duplicate indexes only).
Parameterize queries recommendations appear when you have one or more queries that are constantly being recompiled but end up with the
same query execution plan. This condition opens up an opportunity to apply forced parameterization, which will allow query plans to be cached and
reused in the future improving performance and reducing resource usage. +
Every query issued against SQL Server initially needs to be compiled to generate an execution plan. Each generated plan is added to the plan cache and
subsequent executions of the same query can reuse this plan from the cache, eliminating the need for additional compilation.
Once you apply this recommendation, it will enable forced parameterization within minutes on your database and it starts the monitoring process which
approximately lasts for 24 hours. After this period, you will be able to see the validation report that shows CPU usage of your database 24 hours before and
after the recommendation has been applied. SQL Database Advisor has a safety mechanism that automatically reverts the applied recommendation in case a
performance regression has been detected.
Fix schema issues recommendations
Fix schema issues recommendations appear when the SQL Database service notices an anomaly in the number of schema-related SQL errors happening on
your Azure SQL Database. This recommendation typically appears when your database encounters multiple schema-related errors (invalid column name,
invalid object name, etc.) within an hour.
6. Scaling as needed, with virtually no app downtime
Management and monitoring of multitenant apps with isolation benefits of one-
customer-per-database[3]
Leverage open source tools like cheetah,[4] sql-cli,[5] VS Code [6] and Microsoft
tools like Visual Studio[7] and SQL Server Management Studio,[8] Azure
Management Portal, PowerShell, and REST APIs
Data protection with encryption, authentication, limiting user access to the
appropriate subset of the data, continuous monitoring and auditing to help detect
potential threats and provide a record of critical events in case of a breach
7. Security!~
Control access
Firewall and firewall rules
Authentication
Authorization
Row-level security
Data masking
Proactive monitoring
Auditing
Threat detection
Data Masking
Compliance
8. Pricing!!!!!
Azure SQL Database is offered either as a Standalone database or Elastic database
pool, and is priced in three tiers: Basic, Standard and Premium. Each tier offers
different performance levels to accommodate a variety of workloads.
The resources available for Standalone databases are expressed in terms of
Database Transaction Units (DTUs) and for elastic pools in terms of elastic DTUs or
eDTUs. A DTU is defined as a blended measure of CPU, memory, and data I/O and
transaction log I/O in a ratio determined by an OLTP benchmark workload
designed to be typical of real-world OLTP workloads.
Databases are available as Standalone databases or in database pools which allow
multiple databases to share storage and compute resources.
9. Pricing continues..
Service tier Target workloads
Basic
Best suited for a small database, supporting typically one single active operation at a given time. Examples include databases used for development
or testing, or small-scale infrequently used applications.
Standard The go-to option for most cloud applications, supporting multiple concurrent queries. Examples include workgroup or web applications.
Premium
Designed for high transactional volume, supporting many concurrent users and requiring the highest level of business continuity capabilities.
Examples are databases supporting mission critical applications.
10. Use Case
Relational data storage for cloud based applications and web sites
Business and consumer web and mobile apps
Manage databases for multi-tenant apps (software-as-a-service)
Quickly create dev and test databases to speed up development cycles
Scale production business services quickly and at a known cost
Containerize data in the cloud for isolation and security
Outsource database management in order to focus on value-added services