Book Image

SQL Server 2019 Administrator's Guide - Second Edition

By : Marek Chmel, Vladimír Mužný
Book Image

SQL Server 2019 Administrator's Guide - Second Edition

By: Marek Chmel, Vladimír Mužný

Overview of this book

SQL Server is one of the most popular relational database management systems developed by Microsoft. This second edition of the SQL Server Administrator's Guide will not only teach you how to administer an enterprise database, but also help you become proficient at managing and keeping the database available, secure, and stable. You’ll start by learning how to set up your SQL Server and configure new and existing environments for optimal use. The book then takes you through designing aspects and delves into performance tuning by showing you how to use indexes effectively. You’ll understand certain choices that need to be made about backups, implement security policy, and discover how to keep your environment healthy. Tools available for monitoring and managing a SQL Server database, including automating health reviews, performance checks, and much more, will also be discussed in detail. As you advance, the book covers essential topics such as migration, upgrading, and consolidation, along with the techniques that will help you when things go wrong. Once you’ve got to grips with integration with Azure and streamlining big data pipelines, you’ll learn best practices from industry experts for maintaining a highly reliable database solution. Whether you are an administrator or are looking to get started with database administration, this SQL Server book will help you develop the skills you need to successfully create, design, and deploy database solutions.
Table of Contents (17 chapters)
1
Section 1: Provisioning the SQL Server Environment
4
Section 2: Server and Database Maintenance
9
Section 3: High Availability and the Cloud with SQL Server 2019

Always On Availability Groups

Always On Availability Groups is a high availability and disaster recovery feature that was introduced in SQL Server 2012. This feature, similar to Always On Failover Cluster Instance, requires WSFC to be configured on the nodes running on SQL Server. Availability Groups (AGs) work at a database level, where the FCI protects the whole instance.

We won't focus on WSFC anymore and will just use the common platform to deploy the SQL Server Always On Availability Groups in the following scenarios in the chapter. The WSFC configuration for AGs is simpler when compared to the FCI infrastructure since AGs don't require any shared storage and the storage solution depends on the node type. To utilize AGs, install the standalone SQL Server on the cluster nodes, but use the basic SQL Server installation, since the instances in AGs don't share the SQL Server VNN and IP, and are independent of each other.

Configuring Always On Availability...