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

Elastic Jobs


An elastic jobs runs as a cloud service in your Azure environment and allows you to execute a T-SQL script across one or more databases in:

  • An elastic pool

  • A shard set

  • A customer-defined database collection

Elastic jobs can be scheduled as and when required. Job successes and failures are logged for troubleshooting and you can also enable retries after a failure.

Use Cases

Elastic jobs are commonly used for:

  • Database Management and Maintenance

    Elastic jobs can be used for deploying schema changes across, running database maintenance jobs such as index rebuild, collecting database performance data, or updating reference data in a shard set.

  • Reporting

    Elastic jobs can be used to aggregate data from a shard set and into a single reporting table. The reporting table can then be fed to Power BI, SSRS, or any of the reporting or visualization tools for creating reports. Normally, you would have to connect to each and every shard in a shard set to run the report query and insert the...