Professional Azure SQL Database Administration
eBook - ePub

Professional Azure SQL Database Administration

Equip yourself with the skills you need to manage and maintain your SQL databases on the Microsoft cloud

  1. 398 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Professional Azure SQL Database Administration

Equip yourself with the skills you need to manage and maintain your SQL databases on the Microsoft cloud

Book details
Book preview
Table of contents
Citations

About This Book

Discover how you can migrate a traditional on-premise SQL server database to a cloud-based solution with Microsoft Azure. Built with database administrators in mind, this book emulates different scenarios you might come across while working with large, complex SQL database migrations and provides solutions for effectively managing the migrated databases.

Key Features

  • Implement backup, restore, and recovery of Azure SQL databases
  • Create shards and elastic pools to scale Azure SQL databases
  • Automate common management tasks with PowerShell
  • Implement over 40 practical activities and exercises across 24 topics to reinforce your learning

Book Description

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.

What you will learn

  • Learn how to provision a new database or migrate an existing on-premise solution
  • Understand how to backup, restore, secure, and scale your own Azure SQL Database
  • Optimize the performance by monitoring and tuning your cloud-based SQL instance
  • Implement high availability and disaster recovery procedures with SQL Database
  • Develop a roadmap for your own scalable cloud solution with Azure SQL Database

Who this book is for

This book is ideal for database administrators, database developers, or application developers who are interested in developing or migrating existing applications with Azure SQL Database. Prior experience of working with an on-premise SQL Server deployment and brief knowledge of PowerShell and C# are recommended prerequisites.

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Professional Azure SQL Database Administration by Ahmad Osama in PDF and/or ePUB format, as well as other popular books in Computer Science & Databases. We have over one million books available in our catalogue for you to explore.

Information

Year
2018
ISBN
9781789535679
Edition
1

Professional Azure SQL Database Administration


Table of Contents

Professional Azure SQL Database Administration
Why Subscribe?
PacktPub.com
Contributors
About the Author
About the Reviewer
Packt is Searching for Authors Like You
Preface
What This Book Covers
What You Need For This Book
Hardware
Software
Who This Book is for
Conventions
Download the example code files
Installation and Setup
Sign up for a Free Azure Account
Install SQL Server Management Studio
Installing Microsoft PowerShell 5.1
Installing Microsoft Azure PowerShell
Installing Microsoft RML Utilities
Installing Visual Studio Community Edition
Get in touch
Reviews
1. Microsoft Azure SQL Database Primer
Azure SQL Database Architecture
Azure SQL Database Request Flow
Provisioning an Azure SQL Database
Connecting and Querying the SQL Database from the Azure Portal
Connecting and Querying the SQL Database from SQL Server Management Studio
Deleting Resources
Differences between Azure SQL Database and SQL Server
Backup and Restore
Recovery Model
SQL Server Agent
Change Data Capture
Auditing
Mirroring
Table Partitioning
Replication
Multi-Part Names
Unsupported Features
SQL Browser Service
File Stream
Common Language Runtime (SQL CLR)
Resource Governor
Global Temporary Tables
Log Shipping
SQL Trace and Profiler
Trace Flags
System Stored Procedures
USE Statement
Activity: Provisioning Azure SQL Server and SQL Database using PowerShell
Provisioning Azure SQL Database
Executing the PowerShell Script
Summary
2. Migrating a SQL Server Database to an Azure SQL Database
Finding the Migration Benefits
Finding the Blockers
Selecting a Service Model
Selecting a Service Tier
Selecting the Main and Disaster Recovery Region
Selecting a Migration Tool
Azure SQL Database Service Tiers
Basic Service Tier
Standard Service Tier
Premium Service Tier
Premium RS Service Tier
Database Transaction Units
Scaling up the Azure SQL Database Service Tier
Changing a Service Tier
Determining an Appropriate Service Tier
Azure SQL Database DTU Calculator
Finding an Initial Service Tier for the Database to be Migrated using the DTU Calculator
Determining Compatibility Issues
Data Migration Assistant
SQL Server Data Tools for Visual Studio
SQL Server Management Studio
SQLPackage.exe
SQL Azure Migration Wizard
Determining the Migration Method
Migrating the On-Premises SQL Server Database to Azure SQL Database
Activity: Using Data Migration Assistant
Activity: Performing Transactional Replication
Summary
3. Backing Up the Azure SQL Database
Automatic Backups
Backup Storage
Backup Retention Period
Configuring Long-Term Backup Retention for Azure SQL Database
Manual Backups
Backing up the Azure SQL Database using SSMS
DACPAC and BACPAC
Manual versus Automated Backups
Activity: Perform Back-ups
Summary
4. Restoring an Azure SQL Database
Restore Types
Point-In-Time Restore
Long-Term Database Restore
Restoring Deleted Databases
Geo-Restore Database
Importing a Database
Activity: Perform PITR
Activity: Perform Geo-Restore
Summary
5. Securing an Azure SQL Database
Access Control
Firewall Rules
Managing the Server-Level Firewall Rules using the Azure Portal
Managing the Server-Level Firewall Rules using Transact-SQL
Managing Database-Level Firewall Rules using Transact-SQL
Authentication
SQL Authentication
Azure Active Directory Authentication
Azure Active Directory
Active Directory – Password
Azure Directory – Integrated
Active Directory – Universal with MFA Support
Using Active Directory – Password to Authenticate to an Azure SQL Database
Azure SQL Database Authentication Structure
Azure SQL Database Authentication Considerations
Authorization
Server-Level Administrative Roles
Database Creators
Non-Administrative Users
Creating Contained Database Users for Azure AD Authentication
Groups and Roles
Row-Level Security
Dynamic Data Masking
Proactive Security
Auditing
Configure Auditing for Azure SQL Server
Threat Detection
Configure Threat Detection for Azure SQL Server
Activity: Implement Row-Level Security
Activity: Implement Dynamic Data Masking
Summary
6. Scaling Out Azure SQL Database
Vertical Scaling
Scale Up or Scale Down Service Tiers
Using T-SQL to Change the Service Tier
Vertical Partitioning
Horizontal Scaling
Shard Map Manager
Data Dependent Routing
Multi-Tenant Data Models
Single Tenant (database-per-tenant)
Shared Database – Sharded
Activity: Creating Alerts
Activity: Creating Shards
Activity: Split Data between Shard
Activity: Using Elastic Queries
Summary
7. Elastic Pools
Introducing Elastic Pools
When Should You Consider Elastic Pools?
Sizing an Elastic Pool ...

Table of contents

  1. Professional Azure SQL Database Administration